[latex3-commits] [latex3/hyperref] develop, fixcleveref: update tests to new format. (054e31e)
github at latex-project.org
github at latex-project.org
Tue Nov 5 16:15:47 CET 2024
Repository : https://github.com/latex3/hyperref
On branches: develop,fixcleveref
Link : https://github.com/latex3/hyperref/commit/054e31e1ea024622359768725c7c7629b197fc05
>---------------------------------------------------------------
commit 054e31e1ea024622359768725c7c7629b197fc05
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date: Tue Nov 5 16:15:47 2024 +0100
update tests to new format.
>---------------------------------------------------------------
054e31e1ea024622359768725c7c7629b197fc05
testfiles-3/refstarred-hyperref-noimplicit.luatex.tlg | 2 +-
testfiles-3/refstarred-hyperref-noimplicit.tlg | 2 +-
testfiles-3/refstarred-nameref-showkeys.luatex.tlg | 2 +-
testfiles-3/refstarred-nameref-showkeys.tlg | 2 +-
testfiles-3/refstarred-nameref.luatex.tlg | 2 +-
testfiles-3/refstarred-nameref.tlg | 2 +-
testfiles-pdftex/gh303-Hcounter.tlg | 2 +-
testfiles-pdftex/nopatch.tlg | 6 +++---
testfiles-pdftex/patch.tlg | 8 ++++----
testfiles/224-nameref-space.etex.tlg | 4 ++--
testfiles/224-nameref-space.luatex.tlg | 4 ++--
testfiles/224-nameref-space.tlg | 4 ++--
testfiles/missing-theH.tlg | 2 --
testfiles/nameref-nopatch.etex.tlg | 2 +-
testfiles/nameref-nopatch.luatex.tlg | 2 +-
testfiles/nameref-nopatch.tlg | 2 +-
testfiles/test1.etex.tlg | 2 +-
testfiles/test1.luatex.tlg | 2 +-
testfiles/test1.tlg | 2 +-
19 files changed, 26 insertions(+), 28 deletions(-)
diff --git a/testfiles-3/refstarred-hyperref-noimplicit.luatex.tlg b/testfiles-3/refstarred-hyperref-noimplicit.luatex.tlg
index 17c4c86..d921ac6 100644
--- a/testfiles-3/refstarred-hyperref-noimplicit.luatex.tlg
+++ b/testfiles-3/refstarred-hyperref-noimplicit.luatex.tlg
@@ -70,7 +70,7 @@ Completed box being shipped out [1]
...\write1{\@writefile{toc}{\protect \contentsline {section}{\protect \numberline {1}Test}{\thepage }{}\protected at file@percent }}
...\penalty 10000
...\glue 9.913 plus 0.86198
-...\write1{\newlabel{sec:test}{{sect: 1}{\thepage }{Test}{Doc-Start}{}}}
+...\write1{\newlabel{sec:test}{{sect: 1}{\thepage }{Test}{section.1}{}}}
...\penalty 10000
...\penalty 10000
...\glue(\parskip) 0.0 plus 1.0
diff --git a/testfiles-3/refstarred-hyperref-noimplicit.tlg b/testfiles-3/refstarred-hyperref-noimplicit.tlg
index b6691d5..cb1db45 100644
--- a/testfiles-3/refstarred-hyperref-noimplicit.tlg
+++ b/testfiles-3/refstarred-hyperref-noimplicit.tlg
@@ -60,7 +60,7 @@ Completed box being shipped out [1]
...\write1{\@writefile{toc}{\protect \contentsline {section}{\protect \numberline {1}Test}{\thepage }{}\protected at file@percent }}
...\penalty 10000
...\glue 9.90276 plus 0.86108
-...\write1{\newlabel{sec:test}{{sect: 1}{\thepage }{Test}{Doc-Start}{}}}
+...\write1{\newlabel{sec:test}{{sect: 1}{\thepage }{Test}{section.1}{}}}
...\penalty 10000
...\penalty 10000
...\glue(\parskip) 0.0 plus 1.0
diff --git a/testfiles-3/refstarred-nameref-showkeys.luatex.tlg b/testfiles-3/refstarred-nameref-showkeys.luatex.tlg
index 3ef5b55..381ac45 100644
--- a/testfiles-3/refstarred-nameref-showkeys.luatex.tlg
+++ b/testfiles-3/refstarred-nameref-showkeys.luatex.tlg
@@ -98,7 +98,7 @@ Completed box being shipped out [1]
.........\rule(*+*)x0.4
........\rule(0.4+0.0)x*
....\kern11.0
-...\write1{\newlabel{sec:test}{{sect: 1}{\thepage }{Test}{}{}}}
+...\write1{\newlabel{sec:test}{{sect: 1}{\thepage }{Test}{section.1}{}}}
...\penalty 10000
...\penalty 10000
...\glue(\parskip) 0.0 plus 1.0
diff --git a/testfiles-3/refstarred-nameref-showkeys.tlg b/testfiles-3/refstarred-nameref-showkeys.tlg
index ea4feb7..42032ac 100644
--- a/testfiles-3/refstarred-nameref-showkeys.tlg
+++ b/testfiles-3/refstarred-nameref-showkeys.tlg
@@ -88,7 +88,7 @@ Completed box being shipped out [1]
.........\rule(*+*)x0.4
........\rule(0.4+0.0)x*
....\kern 11.0
-...\write1{\newlabel{sec:test}{{sect: 1}{\thepage }{Test}{}{}}}
+...\write1{\newlabel{sec:test}{{sect: 1}{\thepage }{Test}{section.1}{}}}
...\penalty 10000
...\penalty 10000
...\glue(\parskip) 0.0 plus 1.0
diff --git a/testfiles-3/refstarred-nameref.luatex.tlg b/testfiles-3/refstarred-nameref.luatex.tlg
index 13a4c20..c3c2ddf 100644
--- a/testfiles-3/refstarred-nameref.luatex.tlg
+++ b/testfiles-3/refstarred-nameref.luatex.tlg
@@ -68,7 +68,7 @@ Completed box being shipped out [1]
...\write1{\@writefile{toc}{\protect \contentsline {section}{\protect \numberline {1}Test}{\thepage }{}\protected at file@percent }}
...\penalty 10000
...\glue 9.913 plus 0.86198
-...\write1{\newlabel{sec:test}{{sect: 1}{\thepage }{Test}{}{}}}
+...\write1{\newlabel{sec:test}{{sect: 1}{\thepage }{Test}{section.1}{}}}
...\penalty 10000
...\penalty 10000
...\glue(\parskip) 0.0 plus 1.0
diff --git a/testfiles-3/refstarred-nameref.tlg b/testfiles-3/refstarred-nameref.tlg
index e1ef606..cb52973 100644
--- a/testfiles-3/refstarred-nameref.tlg
+++ b/testfiles-3/refstarred-nameref.tlg
@@ -58,7 +58,7 @@ Completed box being shipped out [1]
...\write1{\@writefile{toc}{\protect \contentsline {section}{\protect \numberline {1}Test}{\thepage }{}\protected at file@percent }}
...\penalty 10000
...\glue 9.90276 plus 0.86108
-...\write1{\newlabel{sec:test}{{sect: 1}{\thepage }{Test}{}{}}}
+...\write1{\newlabel{sec:test}{{sect: 1}{\thepage }{Test}{section.1}{}}}
...\penalty 10000
...\penalty 10000
...\glue(\parskip) 0.0 plus 1.0
diff --git a/testfiles-pdftex/gh303-Hcounter.tlg b/testfiles-pdftex/gh303-Hcounter.tlg
index be87c04..2a4fe3b 100644
--- a/testfiles-pdftex/gh303-Hcounter.tlg
+++ b/testfiles-pdftex/gh303-Hcounter.tlg
@@ -5,5 +5,5 @@ Don't change this file in any respect.
->\@arabic \c at duck .
l. ...\show\theduck
> \theHduck=macro:
-->\@arabic \c at duck .
+->\the \value {duck}.
l. ...\show\theHduck
diff --git a/testfiles-pdftex/nopatch.tlg b/testfiles-pdftex/nopatch.tlg
index 612300e..a73aaa3 100644
--- a/testfiles-pdftex/nopatch.tlg
+++ b/testfiles-pdftex/nopatch.tlg
@@ -5,11 +5,11 @@ Don't change this file in any respect.
<argument> \make at df@tag@@
l. ...\ShowCommand\make at df@tag@@
> \LT at array=macro:
-[#1]#2->\UseTaggingSocket {tbl/init}\@kernel at refstepcounter {table}\stepcounter {LT at tables}\tl_gset:Ne \@currentHref {table.\cs_if_exist_use:N \theHtable }\tbl_gzero_row_count: \UseTaggingSocket {tbl/longtable/init}\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}\tbl_count_table_cols: \xdef \LT at bchunk {\tbl_inbetween_rows: \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 \UseTaggingSocket {tbl/row/begin}\tbl_init_cell_data_for_row: \@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 {\noalign {\__tbl_trace:n {--longtable--> chunk row: \the \LT at rows \space row: \the \g__tbl_row_int \space column: \the \g__tbl_col_int }\tbl_if_row_was_started:T {\UseTaggingSocket {tbl/row/end}\tbl_inbetween_rows: }\int_compare:nNnT \LT at rows <\LTchunksize {\tbl_gincr_row_count: }}}\lineskip \z@ \baselineskip \z@ \LT at bchunk .
+[#1]#2->\UseTaggingSocket {tbl/init}\tl_if_empty:eTF {\LTcaptype }{\tl_gset:Ne \@currentHref {LT at tables.\theHLT at tables }}{\@kernel at refstepcounter {\LTcaptype }\stepcounter {LT at tables}\tl_gset:Ne \@currentHref {\LTcaptype .\cs_if_exist_use:c {theH\LTcaptype }}}\tbl_gzero_row_count: \UseTaggingSocket {tbl/longtable/init}\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}\tbl_count_table_cols: \xdef \LT at bchunk {\tbl_inbetween_rows: \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 \UseTaggingSocket {tbl/row/begin}\tbl_init_cell_data_for_row: \@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 {\noalign {\__tbl_trace:n {--longtable--> chunk row: \the \LT at rows \space row: \the \g__tbl_row_int \space column: \the \g__tbl_col_int }\tbl_if_row_was_started:T {\UseTaggingSocket {tbl/row/end}\tbl_inbetween_rows: }\int_compare:nNnT \LT at rows <\LTchunksize {\tbl_gincr_row_count: }}}\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 \MakeLinkTarget {table}\ifvoid \LT at firsthead \copy \LT at head \else \box \LT at firsthead \fi \nobreak \UseTaggingSocket {tbl/longtable/head}\output {\LT at output }.
+->\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 \tl_if_empty:eTF {\LTcaptype }{\MakeLinkTarget {LT at tables}}{\MakeLinkTarget {\LTcaptype }}\ifvoid \LT at firsthead \copy \LT at head \else \box \LT at firsthead \fi \nobreak \UseTaggingSocket {tbl/longtable/head}\output {\LT at output }.
<argument> \LT at start
l. ...\ShowCommand\LT at start
> \equation=\long macro:
@@ -41,7 +41,7 @@ l. ...\ShowCommand\@caption
<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 \ifx \csname the#1\endcsname \relax \expandafter \gdef \csname the#1\expandafter \endcsname \expandafter {\expandafter \@arabic \csname c@#1\endcsname }\else \@latex at warning {Command `\string \the #1' already defined -- not changed}\fi .
+#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 \xdef \csname theH#1\endcsname {\noexpand \the \noexpand \value {#1}}\expandafter \ifx \csname the#1\endcsname \relax \expandafter \gdef \csname the#1\expandafter \endcsname \expandafter {\expandafter \@arabic \csname c@#1\endcsname }\else \@latex at warning {Command `\string \the #1' already defined -- not changed}\fi .
<argument> \@definecounter
l. ...\ShowCommand\@definecounter
> \@newctr=macro:
diff --git a/testfiles-pdftex/patch.tlg b/testfiles-pdftex/patch.tlg
index 89c4a8b..cc056d0 100644
--- a/testfiles-pdftex/patch.tlg
+++ b/testfiles-pdftex/patch.tlg
@@ -5,11 +5,11 @@ Don't change this file in any respect.
<argument> \make at df@tag@@
l. ...\ShowCommand\make at df@tag@@
> \LT at array=macro:
-[#1]#2->\UseTaggingSocket {tbl/init}\@kernel at refstepcounter {table}\stepcounter {LT at tables}\tl_gset:Ne \@currentHref {table.\cs_if_exist_use:N \theHtable }\tbl_gzero_row_count: \UseTaggingSocket {tbl/longtable/init}\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}\tbl_count_table_cols: \xdef \LT at bchunk {\tbl_inbetween_rows: \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 \UseTaggingSocket {tbl/row/begin}\tbl_init_cell_data_for_row: \@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 {\noalign {\__tbl_trace:n {--longtable--> chunk row: \the \LT at rows \space row: \the \g__tbl_row_int \space column: \the \g__tbl_col_int }\tbl_if_row_was_started:T {\UseTaggingSocket {tbl/row/end}\tbl_inbetween_rows: }\int_compare:nNnT \LT at rows <\LTchunksize {\tbl_gincr_row_count: }}}\lineskip \z@ \baselineskip \z@ \LT at bchunk .
+[#1]#2->\UseTaggingSocket {tbl/init}\tl_if_empty:eTF {\LTcaptype }{\tl_gset:Ne \@currentHref {LT at tables.\theHLT at tables }}{\@kernel at refstepcounter {\LTcaptype }\stepcounter {LT at tables}\tl_gset:Ne \@currentHref {\LTcaptype .\cs_if_exist_use:c {theH\LTcaptype }}}\tbl_gzero_row_count: \UseTaggingSocket {tbl/longtable/init}\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}\tbl_count_table_cols: \xdef \LT at bchunk {\tbl_inbetween_rows: \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 \UseTaggingSocket {tbl/row/begin}\tbl_init_cell_data_for_row: \@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 {\noalign {\__tbl_trace:n {--longtable--> chunk row: \the \LT at rows \space row: \the \g__tbl_row_int \space column: \the \g__tbl_col_int }\tbl_if_row_was_started:T {\UseTaggingSocket {tbl/row/end}\tbl_inbetween_rows: }\int_compare:nNnT \LT at rows <\LTchunksize {\tbl_gincr_row_count: }}}\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 \MakeLinkTarget {table}\ifvoid \LT at firsthead \copy \LT at head \else \box \LT at firsthead \fi \nobreak \UseTaggingSocket {tbl/longtable/head}\output {\LT at output }.
+->\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 \tl_if_empty:eTF {\LTcaptype }{\MakeLinkTarget {LT at tables}}{\MakeLinkTarget {\LTcaptype }}\ifvoid \LT at firsthead \copy \LT at head \else \box \LT at firsthead \fi \nobreak \UseTaggingSocket {tbl/longtable/head}\output {\LT at output }.
<argument> \LT at start
l. ...\ShowCommand\LT at start
> \equation=\long macro:
@@ -41,11 +41,11 @@ l. ...\ShowCommand\@caption
<argument> \addcontentsline
l. ...\ShowCommand\addcontentsline
> \@definecounter=macro:
-#1->\H at definecounter {#1}\expandafter \gdef \csname theH#1\expandafter \endcsname \expandafter {\expandafter \@arabic \csname c@#1\endcsname }.
+#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 \xdef \csname theH#1\endcsname {\noexpand \the \noexpand \value {#1}}\expandafter \ifx \csname the#1\endcsname \relax \expandafter \gdef \csname the#1\expandafter \endcsname \expandafter {\expandafter \@arabic \csname c@#1\endcsname }\else \@latex at warning {Command `\string \the #1' already defined -- not changed}\fi .
<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}}.
+#1[#2]->\@ifundefined {c@#2}{\@nocounterr {#2}}{\@addtoreset {#1}{#2}}.
<argument> \@newctr
l. ...\ShowCommand\@newctr
> \Vref at star=robust macro:
diff --git a/testfiles/224-nameref-space.etex.tlg b/testfiles/224-nameref-space.etex.tlg
index 67ae03b..766fc89 100644
--- a/testfiles/224-nameref-space.etex.tlg
+++ b/testfiles/224-nameref-space.etex.tlg
@@ -30,7 +30,7 @@ Completed box being shipped out [1]
...\write1{\@writefile{toc}{\protect \contentsline {section}{\protect \numberline {1}Title}{\thepage }{}\protected at file@percent }}
...\penalty 10000
...\glue 9.90276 plus 0.86108
-...\write1{\newlabel{sec:section-1}{{1}{\thepage }{Title}{}{}}}
+...\write1{\newlabel{sec:section-1}{{1}{\thepage }{Title}{section.1}{}}}
...\penalty 10000
...\penalty 10000
...\glue(\parskip) 0.0 plus 1.0
@@ -237,7 +237,7 @@ Completed box being shipped out [3]
...\write1{\@writefile{toc}{\protect \contentsline {section}{\protect \numberline {2}Title}{\thepage }{}\protected at file@percent }}
...\penalty 10000
...\glue 9.90276 plus 0.86108
-...\write1{\newlabel{sec:section-2}{{2}{\thepage }{Title}{}{}}}
+...\write1{\newlabel{sec:section-2}{{2}{\thepage }{Title}{section.2}{}}}
...\penalty 10000
...\penalty 10000
...\glue(\parskip) 0.0 plus 1.0
diff --git a/testfiles/224-nameref-space.luatex.tlg b/testfiles/224-nameref-space.luatex.tlg
index e3bf187..dfb349a 100644
--- a/testfiles/224-nameref-space.luatex.tlg
+++ b/testfiles/224-nameref-space.luatex.tlg
@@ -36,7 +36,7 @@ Completed box being shipped out [1]
...\write1{\@writefile{toc}{\protect \contentsline {section}{\protect \numberline {1}Title}{\thepage }{}\protected at file@percent }}
...\penalty 10000
...\glue 9.913 plus 0.86198
-...\write1{\newlabel{sec:section-1}{{1}{\thepage }{Title}{}{}}}
+...\write1{\newlabel{sec:section-1}{{1}{\thepage }{Title}{section.1}{}}}
...\penalty 10000
...\penalty 10000
...\glue(\parskip) 0.0 plus 1.0
@@ -286,7 +286,7 @@ Completed box being shipped out [3]
...\write1{\@writefile{toc}{\protect \contentsline {section}{\protect \numberline {2}Title}{\thepage }{}\protected at file@percent }}
...\penalty 10000
...\glue 9.913 plus 0.86198
-...\write1{\newlabel{sec:section-2}{{2}{\thepage }{Title}{}{}}}
+...\write1{\newlabel{sec:section-2}{{2}{\thepage }{Title}{section.2}{}}}
...\penalty 10000
...\penalty 10000
...\glue(\parskip) 0.0 plus 1.0
diff --git a/testfiles/224-nameref-space.tlg b/testfiles/224-nameref-space.tlg
index f62de53..1f40640 100644
--- a/testfiles/224-nameref-space.tlg
+++ b/testfiles/224-nameref-space.tlg
@@ -29,7 +29,7 @@ Completed box being shipped out [1]
...\write1{\@writefile{toc}{\protect \contentsline {section}{\protect \numberline {1}Title}{\thepage }{}\protected at file@percent }}
...\penalty 10000
...\glue 9.90276 plus 0.86108
-...\write1{\newlabel{sec:section-1}{{1}{\thepage }{Title}{}{}}}
+...\write1{\newlabel{sec:section-1}{{1}{\thepage }{Title}{section.1}{}}}
...\penalty 10000
...\penalty 10000
...\glue(\parskip) 0.0 plus 1.0
@@ -235,7 +235,7 @@ Completed box being shipped out [3]
...\write1{\@writefile{toc}{\protect \contentsline {section}{\protect \numberline {2}Title}{\thepage }{}\protected at file@percent }}
...\penalty 10000
...\glue 9.90276 plus 0.86108
-...\write1{\newlabel{sec:section-2}{{2}{\thepage }{Title}{}{}}}
+...\write1{\newlabel{sec:section-2}{{2}{\thepage }{Title}{section.2}{}}}
...\penalty 10000
...\penalty 10000
...\glue(\parskip) 0.0 plus 1.0
diff --git a/testfiles/missing-theH.tlg b/testfiles/missing-theH.tlg
index 56fb694..17a6074 100644
--- a/testfiles/missing-theH.tlg
+++ b/testfiles/missing-theH.tlg
@@ -1,7 +1,5 @@
This is a generated file for the l3build validation system.
Don't change this file in any respect.
-Package hyperref Warning: Counter 'defn' or the representation '\theHdefn`
-(hyperref) don't exist. No target created. on input line ....
[1
] (missing-theH.aux)
Package rerunfilecheck Info: File `missing-theH.out' has not changed.
diff --git a/testfiles/nameref-nopatch.etex.tlg b/testfiles/nameref-nopatch.etex.tlg
index 37d2e6b..8d49a9c 100644
--- a/testfiles/nameref-nopatch.etex.tlg
+++ b/testfiles/nameref-nopatch.etex.tlg
@@ -40,7 +40,7 @@ Completed box being shipped out [1]
...\write1{\@writefile{toc}{\protect \contentsline {section}{\protect \numberline {1}abc}{\thepage }{}\protected at file@percent }}
...\penalty 10000
...\glue 9.90276 plus 0.86108
-...\write1{\newlabel{abc}{{1}{\thepage }{}{}{}}}
+...\write1{\newlabel{abc}{{1}{\thepage }{}{section.1}{}}}
...\penalty 10000
...\penalty 10000
...\glue 0.0 plus 1.0fil
diff --git a/testfiles/nameref-nopatch.luatex.tlg b/testfiles/nameref-nopatch.luatex.tlg
index ef170df..22695ee 100644
--- a/testfiles/nameref-nopatch.luatex.tlg
+++ b/testfiles/nameref-nopatch.luatex.tlg
@@ -44,7 +44,7 @@ Completed box being shipped out [1]
...\write1{\@writefile{toc}{\protect \contentsline {section}{\protect \numberline {1}abc}{\thepage }{}\protected at file@percent }}
...\penalty 10000
...\glue 9.913 plus 0.86198
-...\write1{\newlabel{abc}{{1}{\thepage }{}{}{}}}
+...\write1{\newlabel{abc}{{1}{\thepage }{}{section.1}{}}}
...\penalty 10000
...\penalty 10000
...\glue -0.0864
diff --git a/testfiles/nameref-nopatch.tlg b/testfiles/nameref-nopatch.tlg
index 5af3565..01890d0 100644
--- a/testfiles/nameref-nopatch.tlg
+++ b/testfiles/nameref-nopatch.tlg
@@ -39,7 +39,7 @@ Completed box being shipped out [1]
...\write1{\@writefile{toc}{\protect \contentsline {section}{\protect \numberline {1}abc}{\thepage }{}\protected at file@percent }}
...\penalty 10000
...\glue 9.90276 plus 0.86108
-...\write1{\newlabel{abc}{{1}{\thepage }{}{}{}}}
+...\write1{\newlabel{abc}{{1}{\thepage }{}{section.1}{}}}
...\penalty 10000
...\penalty 10000
...\glue 0.0 plus 1.0fil
diff --git a/testfiles/test1.etex.tlg b/testfiles/test1.etex.tlg
index 8718f8b..d5f3c02 100644
--- a/testfiles/test1.etex.tlg
+++ b/testfiles/test1.etex.tlg
@@ -1101,7 +1101,7 @@ Package hyperref Info: Reference (cite) `cite.Dallas:aia' on input line ....
Package hyperref Info: Reference (link) `section.22' on input line ....
Package hyperref Info: bookmark on input line ...:
(hyperref) thecounter {2.1}
-(hyperref) text {\protect \numberline {\thetable }{A test long table (see \protect \cite {Dallas:aia} and section \protect \ref {sec1}}}
+(hyperref) text {\protect \numberline {\@nameuse {the\LTcaptype }}{A test long table (see \protect \cite {Dallas:aia} and section \protect \ref {sec1}}}
(hyperref) reference {table.2.1}
(hyperref) toclevel {0}
(hyperref) type {lot}.
diff --git a/testfiles/test1.luatex.tlg b/testfiles/test1.luatex.tlg
index 9fba6b0..b15a3fd 100644
--- a/testfiles/test1.luatex.tlg
+++ b/testfiles/test1.luatex.tlg
@@ -1525,7 +1525,7 @@ Package hyperref Info: Reference (cite) `cite.Dallas:aia' on input line ....
Package hyperref Info: Reference (link) `section.22' on input line ....
Package hyperref Info: bookmark on input line ...:
(hyperref) thecounter {2.1}
-(hyperref) text {\protect \numberline {\thetable }{A test long table (see \protect \cite {Dallas:aia} and section \protect \ref {sec1}}}
+(hyperref) text {\protect \numberline {\@nameuse {the\LTcaptype }}{A test long table (see \protect \cite {Dallas:aia} and section \protect \ref {sec1}}}
(hyperref) reference {table.2.1}
(hyperref) toclevel {0}
(hyperref) type {lot}.
diff --git a/testfiles/test1.tlg b/testfiles/test1.tlg
index 96fd120..8ff90bd 100644
--- a/testfiles/test1.tlg
+++ b/testfiles/test1.tlg
@@ -1416,7 +1416,7 @@ Package hyperref Info: Reference (cite) `cite.Dallas:aia' on input line ....
Package hyperref Info: Reference (link) `section.22' on input line ....
Package hyperref Info: bookmark on input line ...:
(hyperref) thecounter {2.1}
-(hyperref) text {\protect \numberline {\thetable }{A test long table (see \protect \cite {Dallas:aia} and section \protect \ref {sec1}}}
+(hyperref) text {\protect \numberline {\@nameuse {the\LTcaptype }}{A test long table (see \protect \cite {Dallas:aia} and section \protect \ref {sec1}}}
(hyperref) reference {table.2.1}
(hyperref) toclevel {0}
(hyperref) type {lot}.
More information about the latex3-commits
mailing list.