Debian Codegraph @

texmf-dist/tex/generic/tex4ht/pagenote.4ht

raw
1 % pagenote.4ht (2023-03-22-13:41), generated from tex4ht-4ht.tex
2 % Copyright 2023 TeX Users Group
3 %
4 % This work may be distributed and/or modified under the
5 % conditions of the LaTeX Project Public License, either
6 % version 1.3c of this license or (at your option) any
7 % later version. The latest version of this license is in
8 % http://www.latex-project.org/lppl.txt
9 % and version 1.3c or later is part of all distributions
10 % of LaTeX version 2005/12/01 or later.
11 %
12 % This work has the LPPL maintenance status "maintained".
13 %
14 % The Current Maintainer of this work
15 % is the TeX4ht Project <http://tug.org/tex4ht>.
16 %
17 % If you modify this program, changing the
18 % version identification would be appreciated.
19 \immediate\write-1{version 2023-03-22-13:41}
20
21 % patch commands that print note numbers, so we can add links
22 \NewConfigure{notenumintext}{2}
23 \def\:tempa#1{\a:notenumintext\o:notenumintext:{#1}\b:notenumintext}
24 \HLet\notenumintext\:tempa
25
26 \NewConfigure{notenuminnotes}{2}
27 % we must save the note id in \:currentnoteid, to make it available in \Configure{notenuminnotes}
28 \def\:tempa#1{\def\:currentnoteid{#1}\a:notenuminnotes\o:notenuminnotes:{#1}\b:notenuminnotes}
29 \HLet\notenuminnotes\:tempa
30
31
32 \Hinput{pagenote}
33 \endinput
34