[latex3-commits] [latex3/latex3] fixfootnotes: add support for footnotes for env function and variable in l3doc issue #1266 (aa373a0a1)

github at latex-project.org github at latex-project.org
Mon Sep 18 12:53:38 CEST 2023


Repository : https://github.com/latex3/latex3
On branch  : fixfootnotes
Link       : https://github.com/latex3/latex3/commit/aa373a0a17e2f5080d9d1e40389abe5fc068870c

>---------------------------------------------------------------

commit aa373a0a17e2f5080d9d1e40389abe5fc068870c
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date:   Mon Sep 18 12:50:21 2023 +0200

    add support for footnotes for env function and variable in l3doc issue #1266


>---------------------------------------------------------------

aa373a0a17e2f5080d9d1e40389abe5fc068870c
 l3kernel/CHANGELOG.md                      |   1 +
 l3kernel/l3doc.dtx                         |  33 ++
 l3kernel/testfiles-l3doc/test-footnote.lvt |  33 ++
 l3kernel/testfiles-l3doc/test-footnote.tlg | 850 +++++++++++++++++++++++++++++
 4 files changed, 917 insertions(+)

diff --git a/l3kernel/CHANGELOG.md b/l3kernel/CHANGELOG.md
index 6bba70897..953a1481d 100644
--- a/l3kernel/CHANGELOG.md
+++ b/l3kernel/CHANGELOG.md
@@ -10,6 +10,7 @@ this project uses date-based 'snapshot' version identifiers.
 ### Added
 - Documentation for `\sys_if_timer_exist_p:` and `\sys_if_timer_exist:(TF)`.
   They were supported since l3kernel 2021-05-25, along with `\sys_timer:`.
+- l3doc.dtx: Support for footnotes in the function and variable environment  
 
 ### Changed
 - Standardise variants for `\prop_(g)pop:NnN(TF)`
diff --git a/l3kernel/l3doc.dtx b/l3kernel/l3doc.dtx
index b1744b9f7..75dbdc93b 100644
--- a/l3kernel/l3doc.dtx
+++ b/l3kernel/l3doc.dtx
@@ -3540,6 +3540,39 @@ and all files in that bundle must be distributed together.
 %    \end{macrocode}
 % \end{environment}
 %
+% \subsection{Footnote support}
+% The environments \env{function} and \env{variable} are boxes
+% and so looses footnotes. The following implements support.
+% It relies currently on an internal from hyperref to get the correct targets.
+% 
+%    \begin{macrocode}
+\providecommand\Hy at footnote@currentHref{}
+\prop_new:N\g_@@_fnmark_prop
+\cs_new_protected:Npn \@@_fn_store: 
+ { 
+   \prop_gput:Nxx\g_@@_fnmark_prop 
+     {fn\int_use:N\c at footnote}{{\Hy at footnote@currentHref}{\int_use:N\c at footnote}}
+ }
+\cs_new_protected:Npn \@@_fn_restore:n  #1
+ {
+   \prop_get:NnN \g_@@_fnmark_prop {fn#1}\l_@@_tmpa_tl
+   \tl_gset:Ne\Hy at footnote@currentHref
+     {\exp_last_unbraced:NV\use_i:nn \l_@@_tmpa_tl }
+   \setcounter{footnote}{\exp_last_unbraced:NV\use_ii:nn \l_@@_tmpa_tl}
+ }  
+
+\cs_generate_variant:Nn \hook_gput_next_code:nn {ne}
+\cs_new_protected:Npn \@@_fn_footnote:nn #1 #2
+  {
+    \footnotemark
+    \@@_fn_store: 
+    \hook_gput_next_code:ne {env/#1/after}
+      {\exp_not:N\@@_fn_restore:n{\int_use:N\c at footnote}{\exp_not:n{\footnotetext{#2}}}}}
+
+\AddToHook{env/function/begin}{\def\footnote{\@@_fn_footnote:nn{function}}}
+\AddToHook{env/variable/begin}{\def\footnote{\@@_fn_footnote:nn{variable}}} 
+%    \end{macrocode}
+%
 % \subsection{Documenting templates}
 %
 %    \begin{macrocode}
diff --git a/l3kernel/testfiles-l3doc/test-footnote.lvt b/l3kernel/testfiles-l3doc/test-footnote.lvt
new file mode 100644
index 000000000..babf1bcea
--- /dev/null
+++ b/l3kernel/testfiles-l3doc/test-footnote.lvt
@@ -0,0 +1,33 @@
+%
+% Copyright (C) The LaTeX Project
+%
+
+\input regression-test.tex
+\documentclass{l3doc}
+\begin{document}
+\START
+\begin{function}{\fooA}
+  This is a test.\footnote{A}
+  This is a test.\footnote{B}
+\end{function}
+And \cs{foo} again.
+\begin{variable}{\fooB}
+  This is a test.\footnote{C}
+  This is a test.\footnote{D}
+\end{variable}
+
+\begin{implementation}
+\begin{function}{\fooC}
+  This is a test.\footnote{E}
+  This is a test.\footnote{F}
+\end{function}
+And \cs{foo} again.
+\begin{variable}{\fooD}
+  This is a test.\footnote{G}
+  This is a test.\footnote{H}
+\end{variable}
+\end{implementation}
+\showoutput
+\clearpage
+\OMIT
+\end{document}
diff --git a/l3kernel/testfiles-l3doc/test-footnote.tlg b/l3kernel/testfiles-l3doc/test-footnote.tlg
new file mode 100644
index 000000000..ba1b6687a
--- /dev/null
+++ b/l3kernel/testfiles-l3doc/test-footnote.tlg
@@ -0,0 +1,850 @@
+This is a generated file for the LaTeX (2e + expl3) validation system.
+Don't change this file in any respect.
+LaTeX Font Info:    Trying to load font information for OT1+lmr on input line ....
+LaTeX Font Info:    Trying to load font information for OML+lmm on input line ....
+LaTeX Font Info:    Trying to load font information for OMS+lmsy on input line ....
+LaTeX Font Info:    Trying to load font information for OMX+lmex on input line ....
+LaTeX Font Info:    External font `lmex10' loaded for size
+(Font)              <9> on input line ....
+LaTeX Font Info:    External font `lmex10' loaded for size
+(Font)              <6> on input line ....
+LaTeX Font Info:    External font `lmex10' loaded for size
+(Font)              <5> on input line ....
+LaTeX Font Info:    Trying to load font information for U+msa on input line ....
+LaTeX Font Info:    Trying to load font information for U+msb on input line ....
+LaTeX Font Info:    External font `lmex10' loaded for size
+(Font)              <10> on input line ....
+LaTeX Font Info:    External font `lmex10' loaded for size
+(Font)              <7> on input line ....
+LaTeX Font Info:    External font `lmex10' loaded for size
+(Font)              <8> on input line ....
+LaTeX Warning: Reference `doc/function//fooD' on page 1 undefined on input line ....
+Completed box being shipped out [1]
+\vbox(682.0+0.0)x458.0
+.\hbox(0.0+0.0)x0.0
+.\hbox(0.0+0.0)x0.0
+..\kern -72.26999
+..\vbox(0.0+0.0)x0.0, glue set 72.26999fil
+...\kern -72.26999
+...\hbox(0.0+0.0)x0.0
+....\glue 0.0 plus 1.0fil minus 1.0fil
+...\glue 0.0 plus 1.0fil minus 1.0fil
+.\vbox(0.0+0.0)x0.0, glue set - 15.99626fil
+..\kern 0.0
+..\kern 17.0
+..\kern -1.00374
+..\hbox(0.0+0.0)x0.0, glue set - 71.99626fil
+...\kern 0.0
+...\kern 73.0
+...\kern -1.00374
+...\pdfdest name{page.1} xyz
+...\penalty 10000
+...\glue 0.0 plus 1.0fil minus 1.0fil
+..\glue 0.0 plus 1.0fil minus 1.0fil
+.\glue(\lineskip) 0.0
+.\vbox(682.0+0.0)x458.0
+..\glue 17.0
+..\vbox(665.0+0.0)x385.0, shifted 73.0
+...\vbox(12.0+0.0)x385.0, glue set 12.0fil
+....\glue 0.0 plus 1.0fil
+....\hbox(0.0+0.0)x385.0
+.....\pdfcolorstack 0 push {0 g 0 G}
+.....\hbox(0.0+0.0)x385.0
+.....\pdfcolorstack 0 pop
+...\glue 25.0
+...\glue(\lineskip) 0.0
+...\vbox(598.0+0.0)x385.0, glue set 345.85056fil
+....\write-{}
+....\pdfdest name{Doc-Start} xyz
+....\glue(\topskip) 10.0
+....\hbox(0.0+17.12079)x385.0
+.....\hbox(0.0+17.12079)x385.0
+......\hbox(0.0+0.0)x0.0
+......\kern 0.0
+......\kern -28.62495
+......\hbox(0.0+17.12079)x413.62495
+.......\kern 28.62495
+.......\hbox(0.0+14.03691)x385.0
+........\hbox(0.0+0.0)x0.0
+.........\kern 0.0
+.........\kern 0.0
+.........\hbox(0.0+0.0)x0.0
+..........\pdfcolorstack 0 push {0 g 0 G}
+..........\pdfcolorstack 0 pop
+........\kern 0.0
+........\kern 0.0
+........\vbox(8.03691+0.0)x385.0, shifted 14.03691
+.........\hbox(8.03691+0.0)x385.0, glue set 251.2501fil
+..........\T1/lmr/m/n/10 T
+..........\T1/lmr/m/n/10 h
+..........\T1/lmr/m/n/10 i
+..........\T1/lmr/m/n/10 s
+..........\glue 3.33333 plus 1.66666 minus 1.11111
+..........\T1/lmr/m/n/10 i
+..........\T1/lmr/m/n/10 s
+..........\glue 3.33333 plus 1.66666 minus 1.11111
+..........\T1/lmr/m/n/10 a
+..........\glue 3.33333 plus 1.66666 minus 1.11111
+..........\T1/lmr/m/n/10 t
+..........\T1/lmr/m/n/10 e
+..........\T1/lmr/m/n/10 s
+..........\T1/lmr/m/n/10 t
+..........\T1/lmr/m/n/10 .
+..........\penalty 10000
+..........\pdfstartlink(*+*)x* attr{/Border[0 0 0]/H/I/C[1 0 0]} action goto name{Hfootnote.1}
+..........\pdfcolorstack 0 push {1 0 0 rg 1 0 0 RG}
+..........\hbox(8.03691+0.0)x4.486
+...........\mathon
+...........\hbox(4.40799+0.0)x4.486, shifted -3.62892
+............\T1/lmr/m/n/7 1
+...........\mathoff
+..........\pdfcolorstack 0 pop
+..........\pdfendlink
+..........\glue 4.44444 plus 4.99997 minus 0.37036
+..........\T1/lmr/m/n/10 T
+..........\T1/lmr/m/n/10 h
+..........\T1/lmr/m/n/10 i
+..........\T1/lmr/m/n/10 s
+..........\glue 3.33333 plus 1.66666 minus 1.11111
+..........\T1/lmr/m/n/10 i
+..........\T1/lmr/m/n/10 s
+..........\glue 3.33333 plus 1.66666 minus 1.11111
+..........\T1/lmr/m/n/10 a
+..........\glue 3.33333 plus 1.66666 minus 1.11111
+..........\T1/lmr/m/n/10 t
+..........\T1/lmr/m/n/10 e
+..........\T1/lmr/m/n/10 s
+..........\T1/lmr/m/n/10 t
+..........\T1/lmr/m/n/10 .
+..........\penalty 10000
+..........\pdfstartlink(*+*)x* attr{/Border[0 0 0]/H/I/C[1 0 0]} action goto name{Hfootnote.2}
+..........\pdfcolorstack 0 push {1 0 0 rg 1 0 0 RG}
+..........\hbox(8.03691+0.0)x4.486
+...........\mathon
+...........\hbox(4.40799+0.0)x4.486, shifted -3.62892
+............\T1/lmr/m/n/7 2
+...........\mathoff
+..........\pdfcolorstack 0 pop
+..........\pdfendlink
+..........\penalty 10000
+..........\glue(\parfillskip) 0.0 plus 1.0fil
+..........\glue(\rightskip) 0.0
+.......\kern -385.0
+.......\kern -28.62495
+.......\hbox(0.0+17.12079)x23.62495
+........\pdfcolorstack 0 push {0 g 0 G}
+........\hbox(0.0+0.0)x0.0
+.........\hbox(0.0+0.0)x0.0, shifted -7.79996
+..........\hbox(0.0+0.0)x0.0, glue set - 1.57533fil
+...........\glue 0.0 plus 1.0fil minus 1.0fil
+...........\pdfdest name{HD.1} xyz
+...........\penalty 10000
+...........\kern 1.57533
+........\hbox(0.0+17.12079)x23.62495
+.........\mathon
+.........\vbox(0.0+17.12079)x23.62495
+..........\glue 0.0
+..........\rule(0.80002+0.0)x23.62495
+..........\glue 2.79857
+..........\hbox(7.69997+3.30003)x23.62495
+...........\glue(\tabskip) 0.0
+...........\hbox(7.69997+3.30003)x23.62495
+............\rule(7.69997+3.30003)x0.0
+............\rule(6.25+*)x0.0
+............\write5{\indexentry{fooA={\verbatim at font !\verb*&!\fooA&}|hdpindex{usage}}{MMMMI-\thepage }}
+............\write1{\newlabel{doc/function//fooA}{{}{\thepage }{}{HD.1}{}}}
+............\T1/lmtt/m/n/9 \
+............\T1/lmtt/m/n/9 f
+............\T1/lmtt/m/n/9 o
+............\T1/lmtt/m/n/9 o
+............\T1/lmtt/m/n/9 A
+............\glue 0.0 plus 1.0fill
+...........\glue(\tabskip) 0.0
+...........\hbox(7.69997+3.30003)x0.0
+............\rule(0.0+*)x0.0
+............\glue 0.0 plus 1.0fill
+............\kern 0.0
+...........\glue(\tabskip) 0.0
+..........\glue 1.72218
+..........\rule(0.80002+0.0)x23.62495
+..........\glue 0.0
+.........\mathoff
+........\pdfcolorstack 0 pop
+.......\kern 390.0
+.....\penalty 10000
+.....\glue(\parfillskip) 0.0 plus 1.0fil
+.....\glue(\rightskip) 0.0
+....\penalty 0
+....\glue(\parskip) 0.0 plus 3.0
+....\glue(\parskip) 0.0
+....\glue(\baselineskip) 5.0555
+....\hbox(6.9445+1.94443)x385.0, glue set 292.61629fil
+.....\hbox(0.0+0.0)x19.99512
+.....\T1/lmr/m/n/10 A
+.....\T1/lmr/m/n/10 n
+.....\T1/lmr/m/n/10 d
+.....\glue 3.33333 plus 1.66666 minus 1.11111
+.....\hbox(0.0+0.0)x0.0
+......\hbox(0.0+0.0)x0.0, shifted -9.22217
+.......\hbox(0.0+0.0)x0.0, glue set - 1.66702fil
+........\glue 0.0 plus 1.0fil minus 1.0fil
+........\pdfdest name{HD.2} xyz
+........\penalty 10000
+........\kern 1.66702
+.....\T1/lmtt/m/n/10 \
+.....\T1/lmtt/m/n/10 f
+.....\T1/lmtt/m/n/10 o
+.....\T1/lmtt/m/n/10 o
+.....\write5{\indexentry{foo={\verbatim at font !\verb*&!\foo&}|hdpindex{usage}}{MMMMI-\thepage }}
+.....\glue 3.33333 plus 1.66666 minus 1.11111
+.....\T1/lmr/m/n/10 a
+.....\T1/lmr/m/n/10 g
+.....\T1/lmr/m/n/10 a
+.....\T1/lmr/m/n/10 i
+.....\T1/lmr/m/n/10 n
+.....\T1/lmr/m/n/10 .
+.....\penalty 10000
+.....\glue(\parfillskip) 0.0 plus 1.0fil
+.....\glue(\rightskip) 0.0
+....\glue 12.0 plus 4.0 minus 4.0
+....\glue 0.0
+....\glue(\parskip) 0.0 plus 3.0
+....\glue(\parskip) 0.0
+....\glue(\baselineskip) 10.05557
+....\hbox(0.0+17.12079)x385.0
+.....\hbox(0.0+17.12079)x385.0
+......\hbox(0.0+0.0)x0.0
+......\kern 0.0
+......\kern -28.62495
+......\hbox(0.0+17.12079)x413.62495
+.......\kern 28.62495
+.......\hbox(0.0+14.03691)x385.0
+........\hbox(0.0+0.0)x0.0
+.........\kern 0.0
+.........\kern 0.0
+.........\hbox(0.0+0.0)x0.0
+..........\pdfcolorstack 0 push {0 g 0 G}
+..........\pdfcolorstack 0 pop
+........\kern 0.0
+........\kern 0.0
+........\vbox(8.03691+0.0)x385.0, shifted 14.03691
+.........\hbox(8.03691+0.0)x385.0, glue set 251.2501fil
+..........\T1/lmr/m/n/10 T
+..........\T1/lmr/m/n/10 h
+..........\T1/lmr/m/n/10 i
+..........\T1/lmr/m/n/10 s
+..........\glue 3.33333 plus 1.66666 minus 1.11111
+..........\T1/lmr/m/n/10 i
+..........\T1/lmr/m/n/10 s
+..........\glue 3.33333 plus 1.66666 minus 1.11111
+..........\T1/lmr/m/n/10 a
+..........\glue 3.33333 plus 1.66666 minus 1.11111
+..........\T1/lmr/m/n/10 t
+..........\T1/lmr/m/n/10 e
+..........\T1/lmr/m/n/10 s
+..........\T1/lmr/m/n/10 t
+..........\T1/lmr/m/n/10 .
+..........\penalty 10000
+..........\pdfstartlink(*+*)x* attr{/Border[0 0 0]/H/I/C[1 0 0]} action goto name{Hfootnote.3}
+..........\pdfcolorstack 0 push {1 0 0 rg 1 0 0 RG}
+..........\hbox(8.03691+0.0)x4.486
+...........\mathon
+...........\hbox(4.40799+0.0)x4.486, shifted -3.62892
+............\T1/lmr/m/n/7 3
+...........\mathoff
+..........\pdfcolorstack 0 pop
+..........\pdfendlink
+..........\glue 4.44444 plus 4.99997 minus 0.37036
+..........\T1/lmr/m/n/10 T
+..........\T1/lmr/m/n/10 h
+..........\T1/lmr/m/n/10 i
+..........\T1/lmr/m/n/10 s
+..........\glue 3.33333 plus 1.66666 minus 1.11111
+..........\T1/lmr/m/n/10 i
+..........\T1/lmr/m/n/10 s
+..........\glue 3.33333 plus 1.66666 minus 1.11111
+..........\T1/lmr/m/n/10 a
+..........\glue 3.33333 plus 1.66666 minus 1.11111
+..........\T1/lmr/m/n/10 t
+..........\T1/lmr/m/n/10 e
+..........\T1/lmr/m/n/10 s
+..........\T1/lmr/m/n/10 t
+..........\T1/lmr/m/n/10 .
+..........\penalty 10000
+..........\pdfstartlink(*+*)x* attr{/Border[0 0 0]/H/I/C[1 0 0]} action goto name{Hfootnote.4}
+..........\pdfcolorstack 0 push {1 0 0 rg 1 0 0 RG}
+..........\hbox(8.03691+0.0)x4.486
+...........\mathon
+...........\hbox(4.40799+0.0)x4.486, shifted -3.62892
+............\T1/lmr/m/n/7 4
+...........\mathoff
+..........\pdfcolorstack 0 pop
+..........\pdfendlink
+..........\penalty 10000
+..........\glue(\parfillskip) 0.0 plus 1.0fil
+..........\glue(\rightskip) 0.0
+.......\kern -385.0
+.......\kern -28.62495
+.......\hbox(0.0+17.12079)x23.62495
+........\pdfcolorstack 0 push {0 g 0 G}
+........\hbox(0.0+0.0)x0.0
+.........\hbox(0.0+0.0)x0.0, shifted -7.79996
+..........\hbox(0.0+0.0)x0.0, glue set - 1.57533fil
+...........\glue 0.0 plus 1.0fil minus 1.0fil
+...........\pdfdest name{HD.3} xyz
+...........\penalty 10000
+...........\kern 1.57533
+........\hbox(0.0+17.12079)x23.62495
+.........\mathon
+.........\vbox(0.0+17.12079)x23.62495
+..........\glue 0.0
+..........\rule(0.80002+0.0)x23.62495
+..........\glue 2.79857
+..........\hbox(7.69997+3.30003)x23.62495
+...........\glue(\tabskip) 0.0
+...........\hbox(7.69997+3.30003)x23.62495
+............\rule(7.69997+3.30003)x0.0
+............\rule(6.25+*)x0.0
+............\write5{\indexentry{fooB={\verbatim at font !\verb*&!\fooB&}|hdpindex{usage}}{MMMMI-\thepage }}
+............\write1{\newlabel{doc/function//fooB}{{}{\thepage }{}{HD.3}{}}}
+............\T1/lmtt/m/n/9 \
+............\T1/lmtt/m/n/9 f
+............\T1/lmtt/m/n/9 o
+............\T1/lmtt/m/n/9 o
+............\T1/lmtt/m/n/9 B
+............\glue 0.0 plus 1.0fill
+...........\glue(\tabskip) 0.0
+...........\hbox(7.69997+3.30003)x0.0
+............\rule(0.0+*)x0.0
+............\glue 0.0 plus 1.0fill
+............\kern 0.0
+...........\glue(\tabskip) 0.0
+..........\glue 1.72218
+..........\rule(0.80002+0.0)x23.62495
+..........\glue 0.0
+.........\mathoff
+........\pdfcolorstack 0 pop
+.......\kern 390.0
+.....\penalty 10000
+.....\glue(\parfillskip) 0.0 plus 1.0fil
+.....\glue(\rightskip) 0.0
+....\penalty 0
+....\glue 12.0 plus 4.0 minus 4.0
+....\glue 0.0
+....\glue(\parskip) 0.0 plus 3.0
+....\glue(\parskip) 0.0
+....\glue(\baselineskip) 12.0
+....\hbox(0.0+17.12079)x385.0
+.....\hbox(0.0+17.12079)x385.0
+......\hbox(0.0+0.0)x0.0
+......\kern 0.0
+......\kern -28.62495
+......\hbox(0.0+17.12079)x413.62495
+.......\kern 28.62495
+.......\hbox(0.0+14.03691)x385.0
+........\hbox(0.0+0.0)x0.0
+.........\kern 0.0
+.........\kern 0.0
+.........\hbox(0.0+0.0)x0.0
+..........\pdfcolorstack 0 push {0 g 0 G}
+..........\pdfcolorstack 0 pop
+........\kern 0.0
+........\kern 0.0
+........\vbox(8.03691+0.0)x385.0, shifted 14.03691
+.........\hbox(8.03691+0.0)x385.0, glue set 251.2501fil
+..........\T1/lmr/m/n/10 T
+..........\T1/lmr/m/n/10 h
+..........\T1/lmr/m/n/10 i
+..........\T1/lmr/m/n/10 s
+..........\glue 3.33333 plus 1.66666 minus 1.11111
+..........\T1/lmr/m/n/10 i
+..........\T1/lmr/m/n/10 s
+..........\glue 3.33333 plus 1.66666 minus 1.11111
+..........\T1/lmr/m/n/10 a
+..........\glue 3.33333 plus 1.66666 minus 1.11111
+..........\T1/lmr/m/n/10 t
+..........\T1/lmr/m/n/10 e
+..........\T1/lmr/m/n/10 s
+..........\T1/lmr/m/n/10 t
+..........\T1/lmr/m/n/10 .
+..........\penalty 10000
+..........\pdfstartlink(*+*)x* attr{/Border[0 0 0]/H/I/C[1 0 0]} action goto name{Hfootnote.5}
+..........\pdfcolorstack 0 push {1 0 0 rg 1 0 0 RG}
+..........\hbox(8.03691+0.0)x4.486
+...........\mathon
+...........\hbox(4.40799+0.0)x4.486, shifted -3.62892
+............\T1/lmr/m/n/7 5
+...........\mathoff
+..........\pdfcolorstack 0 pop
+..........\pdfendlink
+..........\glue 4.44444 plus 4.99997 minus 0.37036
+..........\T1/lmr/m/n/10 T
+..........\T1/lmr/m/n/10 h
+..........\T1/lmr/m/n/10 i
+..........\T1/lmr/m/n/10 s
+..........\glue 3.33333 plus 1.66666 minus 1.11111
+..........\T1/lmr/m/n/10 i
+..........\T1/lmr/m/n/10 s
+..........\glue 3.33333 plus 1.66666 minus 1.11111
+..........\T1/lmr/m/n/10 a
+..........\glue 3.33333 plus 1.66666 minus 1.11111
+..........\T1/lmr/m/n/10 t
+..........\T1/lmr/m/n/10 e
+..........\T1/lmr/m/n/10 s
+..........\T1/lmr/m/n/10 t
+..........\T1/lmr/m/n/10 .
+..........\penalty 10000
+..........\pdfstartlink(*+*)x* attr{/Border[0 0 0]/H/I/C[1 0 0]} action goto name{Hfootnote.6}
+..........\pdfcolorstack 0 push {1 0 0 rg 1 0 0 RG}
+..........\hbox(8.03691+0.0)x4.486
+...........\mathon
+...........\hbox(4.40799+0.0)x4.486, shifted -3.62892
+............\T1/lmr/m/n/7 6
+...........\mathoff
+..........\pdfcolorstack 0 pop
+..........\pdfendlink
+..........\penalty 10000
+..........\glue(\parfillskip) 0.0 plus 1.0fil
+..........\glue(\rightskip) 0.0
+.......\kern -385.0
+.......\kern -28.62495
+.......\hbox(0.0+17.12079)x23.62495
+........\pdfcolorstack 0 push {0 g 0 G}
+........\hbox(0.0+0.0)x0.0
+.........\hbox(0.0+0.0)x0.0, shifted -7.79996
+..........\hbox(0.0+0.0)x0.0, glue set - 1.57533fil
+...........\glue 0.0 plus 1.0fil minus 1.0fil
+...........\pdfdest name{HD.4} xyz
+...........\penalty 10000
+...........\kern 1.57533
+........\hbox(0.0+17.12079)x23.62495
+.........\mathon
+.........\vbox(0.0+17.12079)x23.62495
+..........\glue 0.0
+..........\rule(0.80002+0.0)x23.62495
+..........\glue 2.79857
+..........\hbox(7.69997+3.30003)x23.62495
+...........\glue(\tabskip) 0.0
+...........\hbox(7.69997+3.30003)x23.62495
+............\rule(7.69997+3.30003)x0.0
+............\rule(6.25+*)x0.0
+............\write5{\indexentry{fooC={\verbatim at font !\verb*&!\fooC&}|hdpindex{usage}}{MMMMI-\thepage }}
+............\write1{\newlabel{doc/function//fooC}{{}{\thepage }{}{HD.4}{}}}
+............\T1/lmtt/m/n/9 \
+............\T1/lmtt/m/n/9 f
+............\T1/lmtt/m/n/9 o
+............\T1/lmtt/m/n/9 o
+............\T1/lmtt/m/n/9 C
+............\glue 0.0 plus 1.0fill
+...........\glue(\tabskip) 0.0
+...........\hbox(7.69997+3.30003)x0.0
+............\rule(0.0+*)x0.0
+............\glue 0.0 plus 1.0fill
+............\kern 0.0
+...........\glue(\tabskip) 0.0
+..........\glue 1.72218
+..........\rule(0.80002+0.0)x23.62495
+..........\glue 0.0
+.........\mathoff
+........\pdfcolorstack 0 pop
+.......\kern 390.0
+.....\penalty 10000
+.....\glue(\parfillskip) 0.0 plus 1.0fil
+.....\glue(\rightskip) 0.0
+....\penalty 0
+....\glue(\parskip) 0.0 plus 3.0
+....\glue(\parskip) 0.0
+....\glue(\baselineskip) 5.0555
+....\hbox(6.9445+1.94443)x385.0, glue set 292.61629fil
+.....\hbox(0.0+0.0)x19.99512
+.....\T1/lmr/m/n/10 A
+.....\T1/lmr/m/n/10 n
+.....\T1/lmr/m/n/10 d
+.....\glue 3.33333 plus 1.66666 minus 1.11111
+.....\hbox(0.0+0.0)x0.0
+......\hbox(0.0+0.0)x0.0, shifted -9.22217
+.......\hbox(0.0+0.0)x0.0, glue set - 1.66702fil
+........\glue 0.0 plus 1.0fil minus 1.0fil
+........\pdfdest name{HD.5} xyz
+........\penalty 10000
+........\kern 1.66702
+.....\T1/lmtt/m/n/10 \
+.....\T1/lmtt/m/n/10 f
+.....\T1/lmtt/m/n/10 o
+.....\T1/lmtt/m/n/10 o
+.....\write5{\indexentry{foo={\verbatim at font !\verb*&!\foo&}|hdpindex{usage}}{MMMMI-\thepage }}
+.....\glue 3.33333 plus 1.66666 minus 1.11111
+.....\T1/lmr/m/n/10 a
+.....\T1/lmr/m/n/10 g
+.....\T1/lmr/m/n/10 a
+.....\T1/lmr/m/n/10 i
+.....\T1/lmr/m/n/10 n
+.....\T1/lmr/m/n/10 .
+.....\penalty 10000
+.....\glue(\parfillskip) 0.0 plus 1.0fil
+.....\glue(\rightskip) 0.0
+....\penalty -51
+....\glue 7.0 plus 5.0 minus 2.0
+....\glue(\parskip) 0.0 plus 3.0
+....\glue(\parskip) 0.0
+....\glue(\baselineskip) 1.65561
+....\hbox(8.39996+3.60004)x385.0, glue set 251.2501fil
+.....\hbox(8.39996+3.60004)x0.0
+......\glue 0.0
+......\glue 0.0
+......\glue -5.0
+......\hbox(8.39996+3.60004)x0.0
+.......\pdfcolorstack 0 push {0 g 0 G}
+.......\hbox(8.39996+3.60004)x0.0
+........\glue 0.0 plus 1.0fil minus 1.0fil
+........\vbox(8.39996+3.60004)x0.0
+.........\hbox(8.39996+3.60004)x0.0
+..........\rule(8.39996+3.60004)x0.0
+..........\hbox(0.0+0.0)x0.0
+...........\hbox(0.0+0.0)x0.0, shifted -9.22217
+............\hbox(0.0+0.0)x0.0, glue set - 1.66702fil
+.............\glue 0.0 plus 1.0fil minus 1.0fil
+.............\pdfdest name{HD.6} xyz
+.............\penalty 10000
+.............\kern 1.66702
+.........\glue -12.0
+.........\hbox(8.39996+3.60004)x0.0
+..........\hbox(8.39996+3.60004)x0.0, glue set - 28.34995fil
+...........\glue 0.0 plus 1.0fil minus 1.0fil
+...........\rule(8.39996+3.60004)x0.0
+...........\T1/lmtt/m/n/9 \
+...........\T1/lmtt/m/n/9 f
+...........\T1/lmtt/m/n/9 o
+...........\T1/lmtt/m/n/9 o
+...........\T1/lmtt/m/n/9 D
+...........\glue 4.72499
+.........\glue 0.0 plus 1.0fil minus 1.0fil
+.......\pdfcolorstack 0 pop
+......\glue 5.0
+.....\penalty 0
+.....\T1/lmr/m/n/10 T
+.....\T1/lmr/m/n/10 h
+.....\T1/lmr/m/n/10 i
+.....\T1/lmr/m/n/10 s
+.....\glue 3.33333 plus 1.66666 minus 1.11111
+.....\T1/lmr/m/n/10 i
+.....\T1/lmr/m/n/10 s
+.....\glue 3.33333 plus 1.66666 minus 1.11111
+.....\T1/lmr/m/n/10 a
+.....\glue 3.33333 plus 1.66666 minus 1.11111
+.....\T1/lmr/m/n/10 t
+.....\T1/lmr/m/n/10 e
+.....\T1/lmr/m/n/10 s
+.....\T1/lmr/m/n/10 t
+.....\T1/lmr/m/n/10 .
+.....\penalty 10000
+.....\pdfstartlink(*+*)x* attr{/Border[0 0 0]/H/I/C[1 0 0]} action goto name{Hfootnote.7}
+.....\pdfcolorstack 0 push {1 0 0 rg 1 0 0 RG}
+.....\hbox(8.03691+0.0)x4.486
+......\mathon
+......\hbox(4.40799+0.0)x4.486, shifted -3.62892
+.......\T1/lmr/m/n/7 7
+......\mathoff
+.....\pdfcolorstack 0 pop
+.....\pdfendlink
+.....\glue 4.44444 plus 4.99997 minus 0.37036
+.....\T1/lmr/m/n/10 T
+.....\T1/lmr/m/n/10 h
+.....\T1/lmr/m/n/10 i
+.....\T1/lmr/m/n/10 s
+.....\glue 3.33333 plus 1.66666 minus 1.11111
+.....\T1/lmr/m/n/10 i
+.....\T1/lmr/m/n/10 s
+.....\glue 3.33333 plus 1.66666 minus 1.11111
+.....\T1/lmr/m/n/10 a
+.....\glue 3.33333 plus 1.66666 minus 1.11111
+.....\T1/lmr/m/n/10 t
+.....\T1/lmr/m/n/10 e
+.....\T1/lmr/m/n/10 s
+.....\T1/lmr/m/n/10 t
+.....\T1/lmr/m/n/10 .
+.....\penalty 10000
+.....\pdfstartlink(*+*)x* attr{/Border[0 0 0]/H/I/C[1 0 0]} action goto name{Hfootnote.8}
+.....\pdfcolorstack 0 push {1 0 0 rg 1 0 0 RG}
+.....\hbox(8.03691+0.0)x4.486
+......\mathon
+......\hbox(4.40799+0.0)x4.486, shifted -3.62892
+.......\T1/lmr/m/n/7 8
+......\mathoff
+.....\pdfcolorstack 0 pop
+.....\pdfendlink
+.....\penalty 10000
+.....\glue(\parfillskip) 0.0 plus 1.0fil
+.....\glue(\rightskip) 0.0
+....\penalty -51
+....\glue 7.0 plus 2.0 minus 2.0
+....\penalty 10000
+....\glue(\parskip) 0.0 plus 3.0
+....\glue(\parskip) 0.0
+....\glue(\lineskip) 1.0
+....\hbox(6.0+2.0)x385.0, glue set 119.35445fil
+.....\T1/lmr/m/n/8 (
+.....\T1/lmr/m/it/8 E
+.....\T1/lmr/m/it/8 n
+.....\T1/lmr/m/it/8 d
+.....\glue 3.07224 plus 1.31667 minus 0.87778
+.....\T1/lmr/m/it/8 o
+.....\T1/lmr/m/it/8 f
+.....\glue 3.07224 plus 1.31667 minus 0.87778
+.....\T1/lmr/m/it/8 d
+.....\T1/lmr/m/it/8 e
+.....\T1/lmr/m/it/8 ^^\ (ligature fi)
+.....\T1/lmr/m/it/8 n
+.....\T1/lmr/m/it/8 i
+.....\T1/lmr/m/it/8 t
+.....\T1/lmr/m/it/8 i
+.....\T1/lmr/m/it/8 o
+.....\T1/lmr/m/it/8 n
+.....\glue 3.07224 plus 1.31667 minus 0.87778
+.....\T1/lmr/m/it/8 f
+.....\T1/lmr/m/it/8 o
+.....\T1/lmr/m/it/8 r
+.....\glue 3.07224 plus 1.31667 minus 0.87778
+.....\T1/lmtt/m/it/8 \
+.....\T1/lmtt/m/it/8 f
+.....\T1/lmtt/m/it/8 o
+.....\T1/lmtt/m/it/8 o
+.....\T1/lmtt/m/it/8 D
+.....\T1/lmr/m/it/8 .
+.....\glue 3.95001 plus 3.95 minus 0.29259
+.....\T1/lmr/m/it/8 T
+.....\T1/lmr/m/it/8 h
+.....\T1/lmr/m/it/8 i
+.....\T1/lmr/m/it/8 s
+.....\glue 3.07224 plus 1.31667 minus 0.87778
+.....\T1/lmr/m/it/8 v
+.....\T1/lmr/m/it/8 a
+.....\T1/lmr/m/it/8 r
+.....\T1/lmr/m/it/8 i
+.....\T1/lmr/m/it/8 a
+.....\T1/lmr/m/it/8 b
+.....\T1/lmr/m/it/8 l
+.....\T1/lmr/m/it/8 e
+.....\glue 3.07224 plus 1.31667 minus 0.87778
+.....\T1/lmr/m/it/8 i
+.....\T1/lmr/m/it/8 s
+.....\glue 3.07224 plus 1.31667 minus 0.87778
+.....\T1/lmr/m/it/8 d
+.....\T1/lmr/m/it/8 o
+.....\kern-0.43889
+.....\T1/lmr/m/it/8 c
+.....\T1/lmr/m/it/8 u
+.....\T1/lmr/m/it/8 m
+.....\T1/lmr/m/it/8 e
+.....\T1/lmr/m/it/8 n
+.....\T1/lmr/m/it/8 t
+.....\T1/lmr/m/it/8 e
+.....\kern-0.43889
+.....\T1/lmr/m/it/8 d
+.....\glue 3.07224 plus 1.31667 minus 0.87778
+.....\T1/lmr/m/it/8 o
+.....\T1/lmr/m/it/8 n
+.....\glue 3.07224 plus 1.31667 minus 0.87778
+.....\T1/lmr/m/it/8 p
+.....\kern-0.43889
+.....\T1/lmr/m/it/8 a
+.....\T1/lmr/m/it/8 g
+.....\T1/lmr/m/it/8 e
+.....\glue 3.07224 plus 1.31667 minus 0.87778
+.....\hbox(5.60449+0.0)x9.25601
+......\T1/lmr/bx/n/8 ?
+......\T1/lmr/bx/n/8 ?
+.....\T1/lmr/m/it/8 .
+.....\kern 0.0
+.....\T1/lmr/m/n/8 )
+.....\penalty 10000
+.....\glue(\parfillskip) 0.0 plus 1.0fil
+.....\glue(\rightskip) 0.0
+....\glue -2.0
+....\glue 0.0 plus 1.0fil
+....\glue 9.0 plus 4.0 minus 2.0
+....\pdfcolorstack 0 push {0 g 0 G}
+....\kern -3.0
+....\rule(0.4+0.0)x153.99765
+....\kern 2.6
+....\hbox(6.65+2.85002)x385.0, glue set 363.33298fil
+.....\hbox(6.62265+0.0)x15.30002, glue set 11.13336fil
+......\glue 0.0 plus 1.0fil minus 1.0fil
+......\hbox(6.62265+0.0)x4.16666
+.......\mathon
+.......\hbox(3.79932+0.0)x4.16666, shifted -2.82333
+........\T1/lmr/m/n/6 1
+.......\mathoff
+.....\hbox(6.65+0.0)x0.0
+......\rule(6.65+0.0)x0.0
+.....\penalty 10000
+.....\hbox(0.0+0.0)x0.0
+......\hbox(0.0+0.0)x0.0, shifted -9.5
+.......\pdfdest name{Hfootnote.1} xyz
+.......\penalty 10000
+.....\T1/lmr/m/n/8 A
+.....\penalty 10000
+.....\rule(0.0+2.85002)x0.0
+.....\penalty 10000
+.....\glue(\parfillskip) 0.0 plus 1.0fil
+.....\glue(\rightskip) 0.0
+....\hbox(6.65+2.85002)x385.0, glue set 363.68298fil
+.....\hbox(6.62265+0.0)x15.30002, glue set 11.13336fil
+......\glue 0.0 plus 1.0fil minus 1.0fil
+......\hbox(6.62265+0.0)x4.16666
+.......\mathon
+.......\hbox(3.79932+0.0)x4.16666, shifted -2.82333
+........\T1/lmr/m/n/6 2
+.......\mathoff
+.....\hbox(6.65+0.0)x0.0
+......\rule(6.65+0.0)x0.0
+.....\penalty 10000
+.....\hbox(0.0+0.0)x0.0
+......\hbox(0.0+0.0)x0.0, shifted -9.5
+.......\pdfdest name{Hfootnote.2} xyz
+.......\penalty 10000
+.....\T1/lmr/m/n/8 B
+.....\penalty 10000
+.....\rule(0.0+2.85002)x0.0
+.....\penalty 10000
+.....\glue(\parfillskip) 0.0 plus 1.0fil
+.....\glue(\rightskip) 0.0
+....\hbox(6.65+2.85002)x385.0, glue set 363.56097fil
+.....\hbox(6.62265+0.0)x15.30002, glue set 11.13336fil
+......\glue 0.0 plus 1.0fil minus 1.0fil
+......\hbox(6.62265+0.0)x4.16666
+.......\mathon
+.......\hbox(3.79932+0.0)x4.16666, shifted -2.82333
+........\T1/lmr/m/n/6 3
+.......\mathoff
+.....\hbox(6.65+0.0)x0.0
+......\rule(6.65+0.0)x0.0
+.....\penalty 10000
+.....\hbox(0.0+0.0)x0.0
+......\hbox(0.0+0.0)x0.0, shifted -9.5
+.......\pdfdest name{Hfootnote.3} xyz
+.......\penalty 10000
+.....\T1/lmr/m/n/8 C
+.....\penalty 10000
+.....\rule(0.0+2.85002)x0.0
+.....\penalty 10000
+.....\glue(\parfillskip) 0.0 plus 1.0fil
+.....\glue(\rightskip) 0.0
+....\hbox(6.65+2.85002)x385.0, glue set 363.21098fil
+.....\hbox(6.62265+0.0)x15.30002, glue set 11.13336fil
+......\glue 0.0 plus 1.0fil minus 1.0fil
+......\hbox(6.62265+0.0)x4.16666
+.......\mathon
+.......\hbox(3.79932+0.0)x4.16666, shifted -2.82333
+........\T1/lmr/m/n/6 4
+.......\mathoff
+.....\hbox(6.65+0.0)x0.0
+......\rule(6.65+0.0)x0.0
+.....\penalty 10000
+.....\hbox(0.0+0.0)x0.0
+......\hbox(0.0+0.0)x0.0, shifted -9.5
+.......\pdfdest name{Hfootnote.4} xyz
+.......\penalty 10000
+.....\T1/lmr/m/n/8 D
+.....\penalty 10000
+.....\rule(0.0+2.85002)x0.0
+.....\penalty 10000
+.....\glue(\parfillskip) 0.0 plus 1.0fil
+.....\glue(\rightskip) 0.0
+....\hbox(6.65+2.85002)x385.0, glue set 363.91948fil
+.....\hbox(6.62265+0.0)x15.30002, glue set 11.13336fil
+......\glue 0.0 plus 1.0fil minus 1.0fil
+......\hbox(6.62265+0.0)x4.16666
+.......\mathon
+.......\hbox(3.79932+0.0)x4.16666, shifted -2.82333
+........\T1/lmr/m/n/6 5
+.......\mathoff
+.....\hbox(6.65+0.0)x0.0
+......\rule(6.65+0.0)x0.0
+.....\penalty 10000
+.....\hbox(0.0+0.0)x0.0
+......\hbox(0.0+0.0)x0.0, shifted -9.5
+.......\pdfdest name{Hfootnote.5} xyz
+.......\penalty 10000
+.....\T1/lmr/m/n/8 E
+.....\penalty 10000
+.....\rule(0.0+2.85002)x0.0
+.....\penalty 10000
+.....\glue(\parfillskip) 0.0 plus 1.0fil
+.....\glue(\rightskip) 0.0
+....\hbox(6.65+2.85002)x385.0, glue set 364.15549fil
+.....\hbox(6.62265+0.0)x15.30002, glue set 11.13336fil
+......\glue 0.0 plus 1.0fil minus 1.0fil
+......\hbox(6.62265+0.0)x4.16666
+.......\mathon
+.......\hbox(3.79932+0.0)x4.16666, shifted -2.82333
+........\T1/lmr/m/n/6 6
+.......\mathoff
+.....\hbox(6.65+0.0)x0.0
+......\rule(6.65+0.0)x0.0
+.....\penalty 10000
+.....\hbox(0.0+0.0)x0.0
+......\hbox(0.0+0.0)x0.0, shifted -9.5
+.......\pdfdest name{Hfootnote.6} xyz
+.......\penalty 10000
+.....\T1/lmr/m/n/8 F
+.....\penalty 10000
+.....\rule(0.0+2.85002)x0.0
+.....\penalty 10000
+.....\glue(\parfillskip) 0.0 plus 1.0fil
+.....\glue(\rightskip) 0.0
+....\hbox(6.65+2.85002)x385.0, glue set 363.03198fil
+.....\hbox(6.62265+0.0)x15.30002, glue set 11.13336fil
+......\glue 0.0 plus 1.0fil minus 1.0fil
+......\hbox(6.62265+0.0)x4.16666
+.......\mathon
+.......\hbox(3.79932+0.0)x4.16666, shifted -2.82333
+........\T1/lmr/m/n/6 7
+.......\mathoff
+.....\hbox(6.65+0.0)x0.0
+......\rule(6.65+0.0)x0.0
+.....\penalty 10000
+.....\hbox(0.0+0.0)x0.0
+......\hbox(0.0+0.0)x0.0, shifted -9.5
+.......\pdfdest name{Hfootnote.7} xyz
+.......\penalty 10000
+.....\T1/lmr/m/n/8 G
+.....\penalty 10000
+.....\rule(0.0+2.85002)x0.0
+.....\penalty 10000
+.....\glue(\parfillskip) 0.0 plus 1.0fil
+.....\glue(\rightskip) 0.0
+....\hbox(6.65+2.85002)x385.0, glue set 363.33298fil
+.....\hbox(6.62265+0.0)x15.30002, glue set 11.13336fil
+......\glue 0.0 plus 1.0fil minus 1.0fil
+......\hbox(6.62265+0.0)x4.16666
+.......\mathon
+.......\hbox(3.79932+0.0)x4.16666, shifted -2.82333
+........\T1/lmr/m/n/6 8
+.......\mathoff
+.....\hbox(6.65+0.0)x0.0
+......\rule(6.65+0.0)x0.0
+.....\penalty 10000
+.....\hbox(0.0+0.0)x0.0
+......\hbox(0.0+0.0)x0.0, shifted -9.5
+.......\pdfdest name{Hfootnote.8} xyz
+.......\penalty 10000
+.....\T1/lmr/m/n/8 H
+.....\penalty 10000
+.....\rule(0.0+2.85002)x0.0
+.....\penalty 10000
+.....\glue(\parfillskip) 0.0 plus 1.0fil
+.....\glue(\rightskip) 0.0
+....\pdfcolorstack 0 pop
+....\glue -2.85002
+....\glue 0.0 plus 0.0001fil
+...\glue(\baselineskip) 23.70276
+...\hbox(6.29724+0.0)x385.0
+....\pdfcolorstack 0 push {0 g 0 G}
+....\hbox(6.29724+0.0)x385.0, glue set 190.0fil
+.....\glue 0.0 plus 1.0fil
+.....\T1/lmr/m/n/10 1
+.....\glue 0.0 plus 1.0fil
+....\pdfcolorstack 0 pop
+.\kern 0.0
+.\kern 0.0





More information about the latex3-commits mailing list.