[latex3-commits] [latex3/latex2e] tagging-gh762: WIP, just some tests (87f4e281c)
github at latex-project.org
github at latex-project.org
Mon Nov 18 19:45:32 CET 2024
Repository : https://github.com/latex3/latex2e
On branch : tagging-gh762
Link : https://github.com/latex3/latex2e/commit/87f4e281ccb0d0b1bf2ad86c3dd05de30c1e22f8
>---------------------------------------------------------------
commit 87f4e281ccb0d0b1bf2ad86c3dd05de30c1e22f8
Author: Frank Mittelbach <frank.mittelbach at latex-project.org>
Date: Mon Nov 18 19:45:32 2024 +0100
WIP, just some tests
>---------------------------------------------------------------
87f4e281ccb0d0b1bf2ad86c3dd05de30c1e22f8
required/latex-lab/testfiles-math/tagging-762.lvt | 58 ++++
required/latex-lab/testfiles-math/tagging-762.tlg | 361 ++++++++++++++++++++++
2 files changed, 419 insertions(+)
diff --git a/required/latex-lab/testfiles-math/tagging-762.lvt b/required/latex-lab/testfiles-math/tagging-762.lvt
new file mode 100644
index 000000000..90e83eb2e
--- /dev/null
+++ b/required/latex-lab/testfiles-math/tagging-762.lvt
@@ -0,0 +1,58 @@
+\DocumentMetadata{ testphase = { phase-III, math }}
+
+\documentclass{article}
+
+\input{regression-test}
+
+
+\ExplSyntaxOn
+\makeatletter
+\cs_set_protected:Npn \__math_tag_dollardollar_display_end:
+ {
+ % \typeout{== tag dollarldollar display end}
+ % \ShowTagging{struct-stack}
+ \para_raw_end:
+ \tagpdfparaOn
+ \l__math_tmpa_skip \lastskip
+ \tag_socket_use:n{math/display/formula/end}
+ \nobreak
+ \skip_vertical:n { -\l__math_tmpa_skip } % remove the negative belowdisplayskip
+ \penalty \postdisplaypenalty
+ \skip_vertical:n { -\l__math_tmpa_skip } % insert the correct skip
+ \@doendpe
+ {\parskip\z@\noindent}
+ \ignorespaces
+}
+\makeatother
+\ExplSyntaxOff
+
+\parskip=77pt
+
+\begin{document}
+\START
+Some Text
+$$A$$ % not really supported but ...
+%
+More
+
+WWW
+$$B$$
+
+XXX
+
+\showoutput
+
+abc
+\begin{itemize}
+\item A
+\end{itemize}
+def
+\begin{itemize}
+\item B
+\end{itemize}
+
+xyz
+
+\newpage
+\OMIT
+\end{document}
diff --git a/required/latex-lab/testfiles-math/tagging-762.tlg b/required/latex-lab/testfiles-math/tagging-762.tlg
new file mode 100644
index 000000000..e93c23362
--- /dev/null
+++ b/required/latex-lab/testfiles-math/tagging-762.tlg
@@ -0,0 +1,361 @@
+This is a generated file for the l3build validation system.
+Don't change this file in any respect.
+====>first-result=macro:->A
+====>first-tmpmathcontent=macro:->
+====>formula has no subparts
+====>first-result=macro:->B
+====>first-tmpmathcontent=macro:->
+====>formula has no subparts
+Completed box being shipped out [1]
+\vbox(633.0+0.0)x407.0
+.\hbox(0.0+0.0)x0.0
+..\pdfinterwordspaceon
+.\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
+.\glue 16.0
+.\vbox(617.0+0.0)x345.0, shifted 62.0
+..\vbox(12.0+0.0)x345.0, glue set 12.0fil
+...\glue 0.0 plus 1.0fil
+...\pdfrunninglinkoff
+...\pdfliteral page{/Artifact BMC}
+...\marks4{b-,14,-1,}
+...\marks4{b+,14,-1,}
+...\hbox(0.0+0.0)x345.0
+....\hbox(0.0+0.0)x345.0
+...\pdfliteral page{EMC}
+...\marks4{e-,14,15,}
+...\marks4{e+,14,15,}
+...\pdfrunninglinkon
+..\glue 25.0
+..\glue(\lineskip) 0.0
+..\vbox(550.0+0.0)x345.0, glue set >20000.0fil
+...\hbox(0.0+0.0)x0.0
+...\write-{}
+...\glue(\topskip) 3.1128
+...\hbox(6.8872+0.0)x345.0, glue set 283.34473fil
+....\write1{\new at label@record{mcid-1}{{tagabspage}{\__property_code_tagabspage: }{tagmcabs}{1}{tagmcid}{\__property_code_tagmcid: }}}
+....\pdfliteral shipout page{/text <</MCID \flag_height:n {__tag/mcid}\flag_raise:n {__tag/mcid} >> BDC}
+....\hbox(0.0+0.0)x15.0
+....\T1/cmr/m/n/10 S
+....\T1/cmr/m/n/10 o
+....\T1/cmr/m/n/10 m
+....\T1/cmr/m/n/10 e
+....\glue 3.33252 plus 1.66626 minus 1.11084
+....\T1/cmr/m/n/10 T
+....\kern-0.83313
+....\T1/cmr/m/n/10 e
+....\T1/cmr/m/n/10 x
+....\T1/cmr/m/n/10 t
+....\penalty 10000
+....\glue(\parfillskip) 0.0 plus 1.0fil
+....\glue(\rightskip) 0.0
+...\marks4{b-,1,6,text,,,}
+...\marks4{b+,1,6,text,,,}
+...\penalty 10000
+...\glue(\abovedisplayshortskip) 0.0 plus 3.0
+...\glue(\baselineskip) 5.16669
+...\hbox(6.83331+0.0)x7.50002, shifted 168.75, display
+....\pdfliteral page{EMC}
+....\write1{\new at label@record{mcid-2}{{tagabspage}{\__property_code_tagabspage: }{tagmcabs}{2}{tagmcid}{\__property_code_tagmcid: }}}
+....\pdfliteral shipout page{/Formula <</MCID \flag_height:n {__tag/mcid}\flag_raise:n {__tag/mcid} >> BDC}
+....\OML/cmm/m/it/10 A
+...\marks4{e-,1,6,}
+...\marks4{e+,1,6,}
+...\marks4{b-,2,7,Formula,,,}
+...\marks4{b+,2,7,Formula,,,}
+...\penalty 10000
+...\glue(\belowdisplayshortskip) -6.0 plus -3.0 minus -3.0
+...\pdfliteral page{EMC}
+...\marks4{e-,2,7,}
+...\marks4{e+,2,7,}
+...\penalty 10000
+...\glue 6.0 plus 3.0 minus 3.0
+...\penalty 0
+...\glue 6.0 plus 3.0 minus 3.0
+...\glue(\parskip) 0.0
+...\glue(\parskip) 0.0
+...\glue(\baselineskip) 5.1128
+...\hbox(6.8872+0.0)x345.0, glue set 322.47772fil
+....\write1{\new at label@record{mcid-3}{{tagabspage}{\__property_code_tagabspage: }{tagmcabs}{3}{tagmcid}{\__property_code_tagmcid: }}}
+....\pdfliteral shipout page{/text <</MCID \flag_height:n {__tag/mcid}\flag_raise:n {__tag/mcid} >> BDC}
+....\T1/cmr/m/n/10 M
+....\T1/cmr/m/n/10 o
+....\T1/cmr/m/n/10 r
+....\T1/cmr/m/n/10 e
+....\pdfliteral page{EMC}
+....\penalty 10000
+....\glue(\parfillskip) 0.0 plus 1.0fil
+....\glue(\rightskip) 0.0
+...\marks4{b-,3,8,text,,,}
+...\marks4{b+,3,8,text,,,}
+...\marks4{e-,3,8,}
+...\marks4{e+,3,8,}
+...\glue(\parskip) 77.0
+...\glue(\parskip) 0.0
+...\glue(\baselineskip) 5.1128
+...\hbox(6.8872+0.0)x345.0, glue set 299.1742fil
+....\write1{\new at label@record{mcid-4}{{tagabspage}{\__property_code_tagabspage: }{tagmcabs}{4}{tagmcid}{\__property_code_tagmcid: }}}
+....\pdfliteral shipout page{/text <</MCID \flag_height:n {__tag/mcid}\flag_raise:n {__tag/mcid} >> BDC}
+....\hbox(0.0+0.0)x15.0
+....\T1/cmr/m/n/10 W
+....\T1/cmr/m/n/10 W
+....\T1/cmr/m/n/10 W
+....\penalty 10000
+....\glue(\parfillskip) 0.0 plus 1.0fil
+....\glue(\rightskip) 0.0
+...\marks4{b-,4,10,text,,,}
+...\marks4{b+,4,10,text,,,}
+...\penalty 10000
+...\glue(\abovedisplayshortskip) 0.0 plus 3.0
+...\glue(\baselineskip) 5.16669
+...\hbox(6.83331+0.0)x8.0868, shifted 168.4566, display
+....\pdfliteral page{EMC}
+....\write1{\new at label@record{mcid-5}{{tagabspage}{\__property_code_tagabspage: }{tagmcabs}{5}{tagmcid}{\__property_code_tagmcid: }}}
+....\pdfliteral shipout page{/Formula <</MCID \flag_height:n {__tag/mcid}\flag_raise:n {__tag/mcid} >> BDC}
+....\OML/cmm/m/it/10 B
+....\kern0.50172
+...\marks4{e-,4,10,}
+...\marks4{e+,4,10,}
+...\marks4{b-,5,11,Formula,,,}
+...\marks4{b+,5,11,Formula,,,}
+...\penalty 10000
+...\glue(\belowdisplayshortskip) -6.0 plus -3.0 minus -3.0
+...\pdfliteral page{EMC}
+...\marks4{e-,5,11,}
+...\marks4{e+,5,11,}
+...\penalty 10000
+...\glue 6.0 plus 3.0 minus 3.0
+...\penalty 0
+...\glue 6.0 plus 3.0 minus 3.0
+...\glue(\parskip) 0.0
+...\glue(\parskip) 0.0
+...\glue(\baselineskip) 12.0
+...\hbox(0.0+0.0)x345.0, glue set 345.0fil
+....\write1{\new at label@record{mcid-6}{{tagabspage}{\__property_code_tagabspage: }{tagmcabs}{6}{tagmcid}{\__property_code_tagmcid: }}}
+....\pdfliteral shipout page{/text <</MCID \flag_height:n {__tag/mcid}\flag_raise:n {__tag/mcid} >> BDC}
+....\pdfliteral page{EMC}
+....\penalty 10000
+....\glue(\parfillskip) 0.0 plus 1.0fil
+....\glue(\rightskip) 0.0
+...\marks4{b-,6,12,text,,,}
+...\marks4{b+,6,12,text,,,}
+...\marks4{e-,6,12,}
+...\marks4{e+,6,12,}
+...\glue(\parskip) 77.0
+...\glue(\parskip) 0.0
+...\glue(\baselineskip) 5.1128
+...\hbox(6.8872+0.0)x345.0, glue set 307.5055fil
+....\write1{\new at label@record{mcid-7}{{tagabspage}{\__property_code_tagabspage: }{tagmcabs}{7}{tagmcid}{\__property_code_tagmcid: }}}
+....\pdfliteral shipout page{/text <</MCID \flag_height:n {__tag/mcid}\flag_raise:n {__tag/mcid} >> BDC}
+....\hbox(0.0+0.0)x15.0
+....\T1/cmr/m/n/10 X
+....\T1/cmr/m/n/10 X
+....\T1/cmr/m/n/10 X
+....\pdfliteral page{EMC}
+....\penalty 10000
+....\glue(\parfillskip) 0.0 plus 1.0fil
+....\glue(\rightskip) 0.0
+...\marks4{b-,7,14,text,,,}
+...\marks4{b+,7,14,text,,,}
+...\marks4{e-,7,14,}
+...\marks4{e+,7,14,}
+...\glue(\parskip) 77.0
+...\glue(\parskip) 0.0
+...\glue(\baselineskip) 5.1128
+...\hbox(6.8872+0.0)x345.0, glue set 314.72595fil
+....\write1{\new at label@record{mcid-8}{{tagabspage}{\__property_code_tagabspage: }{tagmcabs}{8}{tagmcid}{\__property_code_tagmcid: }}}
+....\pdfliteral shipout page{/text <</MCID \flag_height:n {__tag/mcid}\flag_raise:n {__tag/mcid} >> BDC}
+....\hbox(0.0+0.0)x15.0
+....\T1/cmr/m/n/10 a
+....\T1/cmr/m/n/10 b
+....\kern0.27771
+....\T1/cmr/m/n/10 c
+....\pdfliteral page{EMC}
+....\penalty 10000
+....\glue(\parfillskip) 0.0 plus 1.0fil
+....\glue(\rightskip) 0.0
+...\marks4{b-,8,16,text,,,}
+...\marks4{b+,8,16,text,,,}
+...\marks4{e-,8,16,}
+...\marks4{e+,8,16,}
+...\penalty -51
+...\glue 85.0 plus 2.0 minus 4.0
+...\glue -85.0 plus -2.0 minus -4.0
+...\glue 81.0 minus 3.0
+...\glue(\parskip) 4.0 plus 2.0 minus 1.0
+...\glue(\parskip) 0.0
+...\glue(\baselineskip) 5.1128
+...\hbox(6.8872+0.0)x320.0061, glue set 312.50793fil, shifted 24.9939
+....\hbox(4.37393+0.0)x0.0
+.....\glue -24.9939
+.....\hbox(4.37393+0.0)x19.99512, glue set 14.99634fil
+......\glue 0.0 plus 1.0fil minus 1.0fil
+......\hbox(4.37393+0.0)x4.99878
+.......\write1{\new at label@record{mcid-9}{{tagabspage}{\__property_code_tagabspage: }{tagmcabs}{9}{tagmcid}{\__property_code_tagmcid: }}}
+.......\pdfliteral shipout page{/Lbl <</MCID \flag_height:n {__tag/mcid}\flag_raise:n {__tag/mcid} >> BDC}
+.......\marks4{b-,9,19,Lbl,,,}
+.......\marks4{b+,9,19,Lbl,,,}
+.......\hbox(0.0+0.0)x0.0
+.......\TS1/cmr/m/n/10 ^^88
+.......\pdfliteral page{EMC}
+.......\marks4{e-,9,19,}
+.......\marks4{e+,9,19,}
+.....\glue 4.99878
+....\write1{\new at label@record{mcid-10}{{tagabspage}{\__property_code_tagabspage: }{tagmcabs}{10}{tagmcid}{\__property_code_tagmcid: }}}
+....\pdfliteral shipout page{/text <</MCID \flag_height:n {__tag/mcid}\flag_raise:n {__tag/mcid} >> BDC}
+....\penalty 0
+....\T1/cmr/m/n/10 A
+....\pdfliteral page{EMC}
+....\penalty 10000
+....\glue(\parfillskip) 0.0 plus 1.0fil
+....\glue(\rightskip) 0.0
+...\marks4{b-,10,22,text,,,}
+...\marks4{b+,10,22,text,,,}
+...\marks4{e-,10,22,}
+...\marks4{e+,10,22,}
+...\penalty -51
+...\glue 8.0 plus 2.0 minus 4.0
+...\glue(\parskip) 77.0
+...\glue(\parskip) 0.0
+...\glue(\baselineskip) 5.1128
+...\hbox(6.8872+0.0)x345.0, glue set 331.94763fil
+....\write1{\new at label@record{mcid-11}{{tagabspage}{\__property_code_tagabspage: }{tagmcabs}{11}{tagmcid}{\__property_code_tagmcid: }}}
+....\pdfliteral shipout page{/text <</MCID \flag_height:n {__tag/mcid}\flag_raise:n {__tag/mcid} >> BDC}
+....\T1/cmr/m/n/10 d
+....\T1/cmr/m/n/10 e
+....\T1/cmr/m/n/10 f
+....\pdfliteral page{EMC}
+....\penalty 10000
+....\glue(\parfillskip) 0.0 plus 1.0fil
+....\glue(\rightskip) 0.0
+...\marks4{b-,11,23,text,,,}
+...\marks4{b+,11,23,text,,,}
+...\marks4{e-,11,23,}
+...\marks4{e+,11,23,}
+...\kern 0.0
+...\hbox(0.0+0.0)x0.0
+...\glue 0.0
+...\glue 0.0 plus 0.0001fil
+..\pdfrunninglinkoff
+..\pdfliteral page{/Artifact BMC}
+..\marks4{b-,15,-1,}
+..\marks4{b+,15,-1,}
+..\glue(\baselineskip) 23.5849
+..\hbox(6.4151+0.0)x345.0
+...\hbox(6.4151+0.0)x345.0, glue set 170.00061fil
+....\glue 0.0 plus 1.0fil
+....\T1/cmr/m/n/10 1
+....\glue 0.0 plus 1.0fil
+..\pdfliteral page{EMC}
+..\marks4{e-,15,15,}
+..\marks4{e+,15,15,}
+..\pdfrunninglinkon
+.\kern 0.0
+.\kern 0.0
+Completed box being shipped out [2]
+\vbox(633.0+0.0)x407.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
+.\glue 16.0
+.\vbox(617.0+0.0)x345.0, shifted 62.0
+..\vbox(12.0+0.0)x345.0, glue set 12.0fil
+...\glue 0.0 plus 1.0fil
+...\pdfrunninglinkoff
+...\pdfliteral page{/Artifact BMC}
+...\marks4{b-,17,-1,}
+...\marks4{b+,17,-1,}
+...\hbox(0.0+0.0)x345.0
+....\hbox(0.0+0.0)x345.0
+...\pdfliteral page{EMC}
+...\marks4{e-,17,2,}
+...\marks4{e+,17,2,}
+...\pdfrunninglinkon
+..\glue 25.0
+..\glue(\lineskip) 0.0
+..\vbox(550.0+0.0)x345.0, glue set 442.95268fil
+...\hbox(0.0+0.0)x0.0
+...\glue(\topskip) 3.1128
+...\hbox(6.8872+0.0)x320.0061, glue set 312.9245fil, shifted 24.9939
+....\hbox(4.37393+0.0)x0.0
+.....\glue -24.9939
+.....\hbox(4.37393+0.0)x19.99512, glue set 14.99634fil
+......\glue 0.0 plus 1.0fil minus 1.0fil
+......\hbox(4.37393+0.0)x4.99878
+.......\write1{\new at label@record{mcid-12}{{tagabspage}{\__property_code_tagabspage: }{tagmcabs}{12}{tagmcid}{\__property_code_tagmcid: }}}
+.......\pdfliteral shipout page{/Lbl <</MCID \flag_height:n {__tag/mcid}\flag_raise:n {__tag/mcid} >> BDC}
+.......\marks4{b-,12,26,Lbl,,,}
+.......\marks4{b+,12,26,Lbl,,,}
+.......\hbox(0.0+0.0)x0.0
+.......\TS1/cmr/m/n/10 ^^88
+.......\pdfliteral page{EMC}
+.......\marks4{e-,12,26,}
+.......\marks4{e+,12,26,}
+.....\glue 4.99878
+....\write1{\new at label@record{mcid-13}{{tagabspage}{\__property_code_tagabspage: }{tagmcabs}{13}{tagmcid}{\__property_code_tagmcid: }}}
+....\pdfliteral shipout page{/text <</MCID \flag_height:n {__tag/mcid}\flag_raise:n {__tag/mcid} >> BDC}
+....\penalty 0
+....\T1/cmr/m/n/10 B
+....\pdfliteral page{EMC}
+....\penalty 10000
+....\glue(\parfillskip) 0.0 plus 1.0fil
+....\glue(\rightskip) 0.0
+...\marks4{b-,13,29,text,,,}
+...\marks4{b+,13,29,text,,,}
+...\marks4{e-,13,29,}
+...\marks4{e+,13,29,}
+...\penalty -51
+...\glue 8.0 plus 2.0 minus 4.0
+...\glue(\parskip) 77.0
+...\glue(\parskip) 0.0
+...\glue(\baselineskip) 7.6955
+...\hbox(4.3045+1.94397)x345.0, glue set 315.00366fil
+....\write1{\new at label@record{mcid-16}{{tagabspage}{\__property_code_tagabspage: }{tagmcabs}{16}{tagmcid}{\__property_code_tagmcid: }}}
+....\pdfliteral shipout page{/text <</MCID \flag_height:n {__tag/mcid}\flag_raise:n {__tag/mcid} >> BDC}
+....\hbox(0.0+0.0)x15.0
+....\T1/cmr/m/n/10 x
+....\T1/cmr/m/n/10 y
+....\T1/cmr/m/n/10 z
+....\pdfliteral page{EMC}
+....\penalty 10000
+....\glue(\parfillskip) 0.0 plus 1.0fil
+....\glue(\rightskip) 0.0
+...\marks4{b-,16,31,text,,,}
+...\marks4{b+,16,31,text,,,}
+...\marks4{e-,16,31,}
+...\marks4{e+,16,31,}
+...\glue -1.94397
+...\glue 0.0 plus 1.0fil
+...\glue 0.0 plus -1.0fil
+...\kern 0.0
+...\hbox(0.0+0.0)x0.0
+...\glue 0.0 plus 1.0fil
+...\glue 0.0
+...\glue 0.0 plus 0.0001fil
+..\pdfrunninglinkoff
+..\pdfliteral page{/Artifact BMC}
+..\marks4{b-,18,-1,}
+..\marks4{b+,18,-1,}
+..\glue(\baselineskip) 23.5849
+..\hbox(6.4151+0.0)x345.0
+...\hbox(6.4151+0.0)x345.0, glue set 170.00061fil
+....\glue 0.0 plus 1.0fil
+....\T1/cmr/m/n/10 2
+....\glue 0.0 plus 1.0fil
+..\pdfliteral page{EMC}
+..\marks4{e-,18,2,}
+..\marks4{e+,18,2,}
+..\pdfrunninglinkon
+.\kern 0.0
+.\kern -633.0
+.\hbox(0.0+0.0)x0.0
+.\kern 633.0
More information about the latex3-commits
mailing list.