[latex3-commits] [git/LaTeX3-latex3-hyperref] develop, main: add two more nopatch options and testfiles (7d6c9ad)

Ulrike Fischer fischer at troubleshooting-tex.de
Thu Apr 20 12:03:27 CEST 2023


Repository : https://github.com/latex3/hyperref
On branches: develop,main
Link       : https://github.com/latex3/hyperref/commit/7d6c9ad96bc65ecc64df58afecc7f2e153fc53e2

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

commit 7d6c9ad96bc65ecc64df58afecc7f2e153fc53e2
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date:   Thu Apr 20 12:03:27 2023 +0200

    add two more nopatch options and testfiles


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

7d6c9ad96bc65ecc64df58afecc7f2e153fc53e2
 doc/hyperref-doc.tex         |  8 ++++++
 hyperref.dtx                 |  5 +++-
 testfiles-pdftex/nopatch.lvt | 44 ++++++++++++++++++++++++++++++
 testfiles-pdftex/nopatch.tlg | 64 ++++++++++++++++++++++++++++++++++++++++++++
 testfiles-pdftex/patch.lvt   | 44 ++++++++++++++++++++++++++++++
 testfiles-pdftex/patch.tlg   | 64 ++++++++++++++++++++++++++++++++++++++++++++
 6 files changed, 228 insertions(+), 1 deletion(-)

diff --git a/doc/hyperref-doc.tex b/doc/hyperref-doc.tex
index 85eb163..9b1240c 100644
--- a/doc/hyperref-doc.tex
+++ b/doc/hyperref-doc.tex
@@ -563,6 +563,14 @@ Check the \xpackage{nameref} documentation about a way to suppress these patches
 \item[table of contents] hyperref redefines \cs{contentsline} to be able to add links to
 toc entries. It redefines \cs{addcontentsline} to create the bookmarks and pass the 
 destination names to the toc entries. This code can be suppressed by defining \cs{hyper at nopatch@toc}.  
+
+\item[captions] hyperref redefines \cs{caption} and \cs{@caption} to insert targets for links.
+This code can be suppressed by defining \cs{hyper at nopatch@caption} (additional helper commands are
+not suppressed). As various packages redefine captions too (e.g. the \xpackage{caption} package)
+side-effects must be carefully tested! 
+ 
+\item[longtable] hyperref redefines \cs{LT at start} and \cs{LT at array} to move the targets in a better place.
+This code can be suppressed by defining \cs{hyper at nopatch@longtable}  
 \end{description}
 
 \section{Package options}
diff --git a/hyperref.dtx b/hyperref.dtx
index 883a669..b8254f5 100644
--- a/hyperref.dtx
+++ b/hyperref.dtx
@@ -10775,6 +10775,7 @@
 %    \cmd{\H at refstepcounter} without anchor generation
 %    \begin{macrocode}
 \@ifpackageloaded{longtable}{%
+\@ifundefined{hyper at nopatch@longtable}{%
   \begingroup
     \def\y{\LT at array}%
     \@ifundefined{scr at LT@array}{%
@@ -10808,6 +10809,7 @@
       }%
     }%
   \expandafter\x\LT at start\@nil
+ }{}  
 }{}
 %    \end{macrocode}
 %
@@ -11305,6 +11307,7 @@
 % we can't just copy the definition of |\@caption|. Its all to do
 % with expansion. It screws up. Sigh.
 %    \begin{macrocode}
+\@ifundefined{hyper at nopatch@caption}{%
 \def\caption{%
   \ifx\@captype\@undefined
     \@latex at error{\noexpand\caption outside float}\@ehd
@@ -11368,7 +11371,7 @@
     \fi
     \par
   \endgroup
-}
+}}{}%end no patch
 %    \end{macrocode}
 %    Compatibility with float.sty: anchor setting at the top
 %    of the float, if the float is controlled by float.sty.
diff --git a/testfiles-pdftex/nopatch.lvt b/testfiles-pdftex/nopatch.lvt
new file mode 100644
index 0000000..68c955e
--- /dev/null
+++ b/testfiles-pdftex/nopatch.lvt
@@ -0,0 +1,44 @@
+\documentclass{article}
+\input{regression-test}
+\usepackage{amsmath}
+\usepackage{longtable}
+\usepackage{varioref}
+\makeatletter 
+\def\hyper at nopatch@amsmath at tag{} 
+\def\hyper at nopatch@longtable{} 
+\def\hyper at nopatch@mathenv{}
+\def\hyper at nopatch@footnote{}
+\def\hyper at nopatch@caption{}
+\def\hyper at nopatch@toc{}
+\def\hyper at nopatch@counter{}
+\def\hyper at nopatch@varioref{}
+\def\hyper at nopatch@sectioning{}
+\makeatother
+\usepackage{hyperref}
+\begin{document}
+\START 
+\makeatletter
+% amsamth
+\ShowCommand\make at df@tag@@
+%longtable
+\ShowCommand\LT at array
+\ShowCommand\LT at start
+% mathenv
+\ShowCommand\equation
+\ShowCommand\endequation
+%footnote (more involved)
+\ShowCommand\@xfootnotenext
+\ShowCommand\@footnotetext
+%caption
+\ShowCommand\caption
+\ShowCommand\@caption
+% toc + more
+\ShowCommand\addcontentsline
+% counter +more
+\ShowCommand\@definecounter
+\ShowCommand\@newctr
+%varioref + more
+\ShowCommand\Vref at star   
+%sectioning
+\ShowCommand\@ssect 
+\end{document} 
\ No newline at end of file
diff --git a/testfiles-pdftex/nopatch.tlg b/testfiles-pdftex/nopatch.tlg
new file mode 100644
index 0000000..9c7a00a
--- /dev/null
+++ b/testfiles-pdftex/nopatch.tlg
@@ -0,0 +1,64 @@
+This is a generated file for the l3build validation system.
+Don't change this file in any respect.
+> \make at df@tag@@=macro:
+#1->\gdef \df at tag {\maketag@@@ {#1}\def \@currentlabel {#1}}.
+<argument> \make at df@tag@@ 
+l. ...\ShowCommand\make at df@tag@@
+> \LT at array=macro:
+[#1]#2->\refstepcounter {table}\stepcounter {LT at tables}\if l#1\LTleft \z@ \LTright \fill \else \if r#1\LTleft \fill \LTright \z@ \else \if c#1\LTleft \fill \LTright \fill \fi \fi \fi \let \LT at mcol \multicolumn \let \LT@@tabarray \@tabarray \let \LT@@hl \hline \def \@tabarray {\let \hline \LT@@hl \LT@@tabarray }\let \\\LT at tabularcr \let \tabularnewline \\\def \newpage {\noalign {\break }}\def \pagebreak {\noalign {\ifnum `}=0\fi \@testopt {\LT at no@pgbk -}4}\def \nopagebreak {\noalign {\ifnum `}=0\fi \@testopt \LT at no@pgbk 4}\let \hline \LT at hline \let \kill \LT at kill \let \caption \LT at caption \@tempdima \ht \strutbox \let \@endpbox \LT at endpbox \ifx \extrarowheight \@undefined \let \@acol \@tabacol \let \@classz \@tabclassz \let \@classiv \@tabclassiv \def \@startpbox {\vtop \LT at startpbox }\let \@@startpbox \@startpbox \let \@@endpbox \@endpbox \let \LT at LL@FM at cr \@tabularcr \else \advance \@tempdima \extrarowheight \col at sep \tabcolsep \let \@startpbox \LT at startpbox \let \LT at LL@FM at cr \@arraycr \fi \setbox \@arstrutbox \hbox {\vrule \@height \arraystretch \@tempdima \@depth \arraystretch \dp \strutbox \@width \z@ }\let \@sharp ##\let \protect \relax \begingroup \@mkpream {#2}\xdef \LT at bchunk {\global \advance \c at LT@chunks \@ne \global \LT at rows \z@ \setbox \z@ \vbox \bgroup \LT at setprevdepth \tabskip \LTleft \noexpand \halign to\hsize \bgroup \tabskip \z@ \@arstrut \@preamble \tabskip \LTright \cr }\endgroup \expandafter \LT at nofcols \LT at bchunk &\LT at nofcols \LT at make@row \m at th \let \par \@empty \everycr {}\lineskip \z@ \baselineskip \z@ \LT at bchunk .
+<argument> \LT at array 
+l. ...\ShowCommand\LT at array
+> \LT at start=macro:
+->\let \LT at start \endgraf \endgraf \penalty \z@ \vskip \LTpre \endgraf \ifdim \pagetotal <\pagegoal \else \dimen@ =\pageshrink \advance \dimen@ 1sp \kern \dimen@ \penalty 9999\endgraf \kern -\dimen@ \fi \dimen@ \pagetotal \advance \dimen@ \ht \ifvoid \LT at firsthead \LT at head \else \LT at firsthead \fi \advance \dimen@ \dp \ifvoid \LT at firsthead \LT at head \else \LT at firsthead \fi \advance \dimen@ \ht \LT at foot \edef \LT at reset@vfuzz {\vfuzz \the \vfuzz \vbadness \the \vbadness \relax }\vfuzz \maxdimen \vbadness \@M \setbox \tw@ \copy \z@ \setbox \tw@ \vsplit \tw@ to \ht \@arstrutbox \setbox \tw@ \vbox {\unvbox \tw@ }\LT at reset@vfuzz \advance \dimen@ \ht \ifdim \ht \@arstrutbox >\ht \tw@ \@arstrutbox \else \tw@ \fi \advance \dimen@ \dp \ifdim \dp \@arstrutbox >\dp \tw@ \@arstrutbox \else \tw@ \fi \advance \dimen@ -\pagegoal \ifdim \dimen@ >\z@ \vfil \break \else \ifdim \pageshrink >\z@ \pageshrink \z@ \fi \fi \global \@colroom \@colht \ifvoid \LT at foot \else \global \advance \vsize -\ht \LT at foot \global \advance \@colroom -\ht \LT at foot \dimen@ \pagegoal \advance \dimen@ -\ht \LT at foot \pagegoal \dimen@ \maxdepth \z@ \fi \ifvoid \LT at firsthead \copy \LT at head \else \box \LT at firsthead \fi \nobreak \output {\LT at output }.
+<argument> \LT at start 
+l. ...\ShowCommand\LT at start
+> \equation=\long macro:
+->\mathdisplay at push \st at rredfalse \global \@eqnswtrue \mathdisplay {equation}\incr at eqnum \mathopen {}.
+<argument> \equation 
+l. ...\ShowCommand\equation
+> \endequation=\long macro:
+->\endmathdisplay {equation}\mathdisplay at pop \ignorespacesafterend .
+<argument> \endequation 
+l. ...\ShowCommand\endequation
+> \@xfootnotenext=macro:
+[#1]->\begingroup \csname c@\@mpfn \endcsname #1\relax \unrestored at protected@xdef \@thefnmark {\thempfn }\endgroup \@footnotetext .
+<argument> \@xfootnotenext 
+l. ...\ShowCommand\@xfootnotenext
+> \@footnotetext=\long macro:
+#1->\insert \footins {\reset at font \footnotesize \interlinepenalty \interfootnotelinepenalty \splittopskip \footnotesep \splitmaxdepth \dp \strutbox \floatingpenalty \@MM \hsize \columnwidth \@parboxrestore \def \@currentcounter {footnote}\protected at edef \@currentlabel {\csname p at footnote\endcsname \@thefnmark }\color at begingroup \@makefntext {\rule \z@ \footnotesep \ignorespaces #1\@finalstrut \strutbox }\par \color at endgroup }.
+<argument> \@footnotetext 
+l. ...\ShowCommand\@footnotetext
+> \caption=macro:
+->\ifx \@captype \@undefined \@latex at error {\noexpand \caption outside float}\@ehd \expandafter \@gobble \else \refstepcounter \@captype \expandafter \@firstofone \fi {\@dblarg {\@caption \@captype }}.
+<argument> \caption 
+l. ...\ShowCommand\caption
+> \@caption=\long macro:
+#1[#2]#3->\par \addcontentsline {\csname ext@#1\endcsname }{#1}{\protect \numberline {\csname the#1\endcsname }{\ignorespaces #2}}\begingroup \@parboxrestore \if at minipage \@setminipage \fi \normalsize \@makecaption {\csname fnum@#1\endcsname }{\ignorespaces #3}\par \endgroup .
+<argument> \@caption 
+l. ...\ShowCommand\@caption
+> \addcontentsline=macro:
+#1#2#3->\addtocontents {#1}{\protect \contentsline {#2}{#3}{\thepage }{}\protected at file@percent }.
+<argument> \addcontentsline 
+l. ...\ShowCommand\addcontentsline
+> \@definecounter=macro:
+#1->\expandafter \newcount \csname c@#1\endcsname \setcounter {#1}\z@ \global \expandafter \let \csname cl@#1\endcsname \@empty \@addtoreset {#1}{@ckpt}\global \expandafter \let \csname p@#1\endcsname \@empty \expandafter \gdef \csname the#1\expandafter \endcsname \expandafter {\expandafter \@arabic \csname c@#1\endcsname }.
+<argument> \@definecounter 
+l. ...\ShowCommand\@definecounter
+> \@newctr=macro:
+#1[#2]->\@ifundefined {c@#2}{\@nocounterr {#2}}{\@addtoreset {#1}{#2}}.
+<argument> \@newctr 
+l. ...\ShowCommand\@newctr
+> \Vref at star=robust macro:
+->\@protected at testopt \Vref at star \\Vref at star {}.
+> \\Vref at star=\long macro:
+> default #1=.
+[#1]->\Vrefformat {#1}.
+<recently read> }
+l. ...\ShowCommand\Vref at star
+> \@ssect=macro:
+#1#2#3#4#5->\NR at gettitle {#5}\NR at ssect {#1}{#2}{#3}{#4}{\Sectionformat {#5}{#1}}.
+<argument> \@ssect 
+l. ...\ShowCommand\@ssect
+(nopatch.aux)
+Package rerunfilecheck Info: File `nopatch.out' has not changed.
+(rerunfilecheck)             Checksum: D41D8CD98F00B204E9800998ECF8427E;0.
diff --git a/testfiles-pdftex/patch.lvt b/testfiles-pdftex/patch.lvt
new file mode 100644
index 0000000..b168db8
--- /dev/null
+++ b/testfiles-pdftex/patch.lvt
@@ -0,0 +1,44 @@
+\documentclass{article}
+\input{regression-test}
+\usepackage{amsmath}
+\usepackage{longtable}
+\usepackage{varioref}
+\makeatletter 
+%\def\hyper at nopatch@amsmath at tag{} 
+%\def\hyper at nopatch@longtable{} 
+%\def\hyper at nopatch@mathenv{}
+%\def\hyper at nopatch@footnote{}
+%\def\hyper at nopatch@caption{}
+%\def\hyper at nopatch@toc{}
+%\def\hyper at nopatch@counter{}
+%\def\hyper at nopatch@varioref{}
+%\def\hyper at nopatch@sectioning{}
+\makeatother
+\usepackage{hyperref}
+\begin{document}
+\START 
+\makeatletter
+% amsamth
+\ShowCommand\make at df@tag@@
+%longtable
+\ShowCommand\LT at array
+\ShowCommand\LT at start
+% mathenv
+\ShowCommand\equation
+\ShowCommand\endequation
+%footnote (more involved)
+\ShowCommand\@xfootnotenext
+\ShowCommand\@footnotetext
+%caption
+\ShowCommand\caption
+\ShowCommand\@caption
+% toc + more
+\ShowCommand\addcontentsline
+% counter +more
+\ShowCommand\@definecounter
+\ShowCommand\@newctr
+%varioref + more
+\ShowCommand\Vref at star   
+%sectioning
+\ShowCommand\@ssect 
+\end{document} 
\ No newline at end of file
diff --git a/testfiles-pdftex/patch.tlg b/testfiles-pdftex/patch.tlg
new file mode 100644
index 0000000..3f832bb
--- /dev/null
+++ b/testfiles-pdftex/patch.tlg
@@ -0,0 +1,64 @@
+This is a generated file for the l3build validation system.
+Don't change this file in any respect.
+> \make at df@tag@@=macro:
+#1->\gdef \df at tag {\maketag@@@ {\Hy at make@anchor #1}\def \@currentlabel {#1}}.
+<argument> \make at df@tag@@ 
+l. ...\ShowCommand\make at df@tag@@
+> \LT at array=macro:
+[#1]#2->\H at refstepcounter {table}\hyper at makecurrent {table}\let \Hy at LT@currentHref \@currentHref \stepcounter {LT at tables}\if l#1\LTleft \z@ \LTright \fill \else \if r#1\LTleft \fill \LTright \z@ \else \if c#1\LTleft \fill \LTright \fill \fi \fi \fi \let \LT at mcol \multicolumn \let \LT@@tabarray \@tabarray \let \LT@@hl \hline \def \@tabarray {\let \hline \LT@@hl \LT@@tabarray }\let \\\LT at tabularcr \let \tabularnewline \\\def \newpage {\noalign {\break }}\def \pagebreak {\noalign {\ifnum `}=0\fi \@testopt {\LT at no@pgbk -}4}\def \nopagebreak {\noalign {\ifnum `}=0\fi \@testopt \LT at no@pgbk 4}\let \hline \LT at hline \let \kill \LT at kill \let \caption \LT at caption \@tempdima \ht \strutbox \let \@endpbox \LT at endpbox \ifx \extrarowheight \@undefined \let \@acol \@tabacol \let \@classz \@tabclassz \let \@classiv \@tabclassiv \def \@startpbox {\vtop \LT at startpbox }\let \@@startpbox \@startpbox \let \@@endpbox \@endpbox \let \LT at LL@FM at cr \@tabularcr \else \advance \@tempdima \extrarowheight \col at sep \tabcolsep \let \@startpbox \LT at startpbox \let \LT at LL@FM at cr \@arraycr \fi \setbox \@arstrutbox \hbox {\vrule \@height \arraystretch \@tempdima \@depth \arraystretch \dp \strutbox \@width \z@ }\let \@sharp ##\let \protect \relax \begingroup \@mkpream {#2}\xdef \LT at bchunk {\global \advance \c at LT@chunks \@ne \global \LT at rows \z@ \setbox \z@ \vbox \bgroup \LT at setprevdepth \tabskip \LTleft \noexpand \halign to\hsize \bgroup \tabskip \z@ \@arstrut \@preamble \tabskip \LTright \cr }\endgroup \expandafter \LT at nofcols \LT at bchunk &\LT at nofcols \LT at make@row \m at th \let \par \@empty \everycr {}\lineskip \z@ \baselineskip \z@ \LT at bchunk .
+<argument> \LT at array 
+l. ...\ShowCommand\LT at array
+> \LT at start=macro:
+->\let \LT at start \endgraf \endgraf \penalty \z@ \vskip \LTpre \endgraf \ifdim \pagetotal <\pagegoal \else \dimen@ =\pageshrink \advance \dimen@ 1sp \kern \dimen@ \penalty 9999\endgraf \kern -\dimen@ \fi \dimen@ \pagetotal \advance \dimen@ \ht \ifvoid \LT at firsthead \LT at head \else \LT at firsthead \fi \advance \dimen@ \dp \ifvoid \LT at firsthead \LT at head \else \LT at firsthead \fi \advance \dimen@ \ht \LT at foot \edef \LT at reset@vfuzz {\vfuzz \the \vfuzz \vbadness \the \vbadness \relax }\vfuzz \maxdimen \vbadness \@M \setbox \tw@ \copy \z@ \setbox \tw@ \vsplit \tw@ to \ht \@arstrutbox \setbox \tw@ \vbox {\unvbox \tw@ }\LT at reset@vfuzz \advance \dimen@ \ht \ifdim \ht \@arstrutbox >\ht \tw@ \@arstrutbox \else \tw@ \fi \advance \dimen@ \dp \ifdim \dp \@arstrutbox >\dp \tw@ \@arstrutbox \else \tw@ \fi \advance \dimen@ -\pagegoal \ifdim \dimen@ >\z@ \vfil \break \else \ifdim \pageshrink >\z@ \pageshrink \z@ \fi \fi \global \@colroom \@colht \ifvoid \LT at foot \else \global \advance \vsize -\ht \LT at foot \global \advance \@colroom -\ht \LT at foot \dimen@ \pagegoal \advance \dimen@ -\ht \LT at foot \pagegoal \dimen@ \maxdepth \z@ \fi \let \@currentHref \Hy at LT@currentHref \Hy at raisedlink {\hyper at anchorstart {\@currentHref }\hyper at anchorend }\ifvoid \LT at firsthead \copy \LT at head \else \box \LT at firsthead \fi \nobreak \output {\LT at output }.
+<argument> \LT at start 
+l. ...\ShowCommand\LT at start
+> \equation=\long macro:
+->\mathdisplay at push \st at rredfalse \global \@eqnswtrue \mathdisplay {equation}\incr at eqnum \mathopen {}.
+<argument> \equation 
+l. ...\ShowCommand\equation
+> \endequation=\long macro:
+->\endmathdisplay {equation}\mathdisplay at pop \ignorespacesafterend .
+<argument> \endequation 
+l. ...\ShowCommand\endequation
+> \@xfootnotenext=macro:
+[#1]->\begingroup \csname c@\@mpfn \endcsname #1\relax \unrestored at protected@xdef \@thefnmark {\thempfn }\endgroup \ifx \@footnotetext \@mpfootnotetext \expandafter \H@@mpfootnotetext \else \expandafter \H@@footnotetext \fi .
+<argument> \@xfootnotenext 
+l. ...\ShowCommand\@xfootnotenext
+> \@footnotetext=\long macro:
+#1->\H@@footnotetext {\ifHy at nesting \expandafter \ltx at firstoftwo \else \expandafter \ltx at secondoftwo \fi {\expandafter \hyper@@anchor \expandafter {\Hy at footnote@currentHref }{\ignorespaces #1}}{\Hy at raisedlink {\expandafter \hyper@@anchor \expandafter {\Hy at footnote@currentHref }{\relax }}\let \@currentHref \Hy at footnote@currentHref \let \@currentlabelname \@empty \ignorespaces #1}}.
+<argument> \@footnotetext 
+l. ...\ShowCommand\@footnotetext
+> \caption=macro:
+->\ifx \@captype \@undefined \@latex at error {\noexpand \caption outside float}\@ehd \expandafter \@gobble \else \H at refstepcounter \@captype \let \Hy at tempa \@caption \@ifundefined {float at caption}{}{\expandafter \ifx \csname @float at c@\@captype \endcsname \float at caption \let \Hy at tempa \Hy at float@caption \fi }\expandafter \@firstofone \fi {\@dblarg {\Hy at tempa \@captype }}.
+<argument> \caption 
+l. ...\ShowCommand\caption
+> \@caption=\long macro:
+#1[#2]#3->\expandafter \ifx \csname if at capstart\expandafter \endcsname \csname iftrue\endcsname \global \let \@currentHref \hc at currentHref \else \hyper at makecurrent {\@captype }\fi \@ifundefined {NR at gettitle}{\def \@currentlabelname {#2}}{\NR at gettitle {#2}}\par \addcontentsline {\csname ext@#1\endcsname }{#1}{\protect \numberline {\csname the#1\endcsname }{\ignorespaces #2}}\begingroup \@parboxrestore \if at minipage \@setminipage \fi \normalsize \expandafter \ifx \csname if at capstart\expandafter \endcsname \csname iftrue\endcsname \global \@capstartfalse \@makecaption {\csname fnum@#1\endcsname }{\ignorespaces #3}\else \@makecaption {\csname fnum@#1\endcsname }{\ignorespaces \ifHy at nesting \expandafter \hyper@@anchor \expandafter {\@currentHref }{#3}\else \Hy at raisedlink {\expandafter \hyper@@anchor \expandafter {\@currentHref }{\relax }}#3\fi }\fi \par \endgroup .
+<argument> \@caption 
+l. ...\ShowCommand\@caption
+> \addcontentsline=macro:
+#1#2#3->\begingroup \let \label \@gobble \ifx \@currentHref \@empty \Hy at Warning {No destination for bookmark of \string \addcontentsline ,\MessageBreak destination is added}\phantomsection \fi \expandafter \ifx \csname toclevel@#2\endcsname \relax \begingroup \def \Hy at tempa {#1}\ifx \Hy at tempa \Hy at bookmarkstype \Hy at WarningNoLine {bookmark level for unknown #2 defaults to 0}\else \Hy at Info {bookmark level for unknown #2 defaults to 0}\fi \endgroup \expandafter \gdef \csname toclevel@#2\endcsname {0}\fi \edef \Hy at toclevel {\csname toclevel@#2\endcsname }\Hy at writebookmark {\csname the#2\endcsname }{#3}{\@currentHref }{\Hy at toclevel }{#1}\ifHy at verbose \begingroup \def \Hy at tempa {#3}\@onelevel at sanitize \Hy at tempa \let \temp at online \on at line \let \on at line \@empty \Hy at Info {bookmark\temp at online :\MessageBreak thecounter {\csname the#2\endcsname }\MessageBreak text {\Hy at tempa }\MessageBreak reference {\@currentHref }\MessageBreak toclevel {\Hy at toclevel }\MessageBreak type {#1}}\endgroup \fi \addtocontents {#1}{\protect \contentsline {#2}{#3}{\thepage }{\@currentHref }\protected at file@percent }\endgroup .
+<argument> \addcontentsline 
+l. ...\ShowCommand\addcontentsline
+> \@definecounter=macro:
+#1->\H at definecounter {#1}\expandafter \gdef \csname theH#1\endcsname {\arabic {#1}}.
+<argument> \@definecounter 
+l. ...\ShowCommand\@definecounter
+> \@newctr=macro:
+#1[#2]->\H at newctr #1[{#2}]\expandafter \gdef \csname theH#1\endcsname {\csname the\@ifundefined {theH#2}{}{H}#2\endcsname .\arabic {#1}}.
+<argument> \@newctr 
+l. ...\ShowCommand\@newctr
+> \Vref at star=robust macro:
+->\@protected at testopt \Vref at star \\Vref at star {}.
+> \\Vref at star=\long macro:
+> default #1=.
+[#1]#2->\begingroup \let \T at pageref \@pagerefstar \Ref *{#2} \vpageref [#1]{#2}\endgroup .
+<recently read> }
+l. ...\ShowCommand\Vref at star
+> \@ssect=macro:
+#1#2#3#4#5->\Hy at MakeCurrentHrefAuto {section*}\setlength {\Hy at SectionHShift }{#1}\begingroup \toks@ {\H at old@ssect {#1}{#2}{#3}{#4}}\toks \tw@ \expandafter {\expandafter \Hy at SectionAnchorHref \expandafter {\@currentHref }#5}\edef \x {\endgroup \the \toks@ {\the \toks \tw@ }}\x .
+<argument> \@ssect 
+l. ...\ShowCommand\@ssect
+(patch.aux)
+Package rerunfilecheck Info: File `patch.out' has not changed.
+(rerunfilecheck)             Checksum: D41D8CD98F00B204E9800998ECF8427E;0.





More information about the latex3-commits mailing list.