[latex3-commits] [latex3/latex2e] latex-lab/uf-review-05: exclude tabular* from math grabbing issue latex3/tagging-project#25 (ab4eef27)

github at latex-project.org github at latex-project.org
Sun Nov 5 00:50:31 CET 2023


Repository : https://github.com/latex3/latex2e
On branch  : latex-lab/uf-review-05
Link       : https://github.com/latex3/latex2e/commit/ab4eef274126937502a22ac8c3fc48ed63a3a9dc

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

commit ab4eef274126937502a22ac8c3fc48ed63a3a9dc
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date:   Sun Nov 5 00:50:31 2023 +0100

    exclude tabular* from math grabbing issue latex3/tagging-project#25


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

ab4eef274126937502a22ac8c3fc48ed63a3a9dc
 required/latex-lab/latex-lab-math.dtx              |   2 +-
 .../testfiles-table-pdftex/table-016-math.lvt      |  14 ++
 .../testfiles-table-pdftex/table-016-math.tlg      | 172 +++++++++++++++++++++
 3 files changed, 187 insertions(+), 1 deletion(-)

diff --git a/required/latex-lab/latex-lab-math.dtx b/required/latex-lab/latex-lab-math.dtx
index 285471ad..6ba128bb 100644
--- a/required/latex-lab/latex-lab-math.dtx
+++ b/required/latex-lab/latex-lab-math.dtx
@@ -879,7 +879,7 @@
 % Places where math mode is (ab)used.
 %    \begin{macrocode}
 \clist_map_inline:nn
-  { tabular }
+  { tabular , tabular* }
   {
     \AddToHook{ env / #1 / begin }
       { \bool_set_true:N \l_@@_collected_bool }
diff --git a/required/latex-lab/testfiles-table-pdftex/table-016-math.lvt b/required/latex-lab/testfiles-table-pdftex/table-016-math.lvt
new file mode 100644
index 00000000..8fbda163
--- /dev/null
+++ b/required/latex-lab/testfiles-table-pdftex/table-016-math.lvt
@@ -0,0 +1,14 @@
+\DocumentMetadata{ 
+        testphase = {phase-III,tabular,math},
+        }
+\input{regression-test}
+\documentclass[12pt]{report} 
+\begin{document}
+\START \showoutput     
+\begin{tabular*}{0.2\textwidth}{@{\extracolsep{\fill}}cc}
+\hline
+AA & BB \\
+CC & DD \\
+\hline
+\end{tabular*}
+\end{document}
diff --git a/required/latex-lab/testfiles-table-pdftex/table-016-math.tlg b/required/latex-lab/testfiles-table-pdftex/table-016-math.tlg
new file mode 100644
index 00000000..cceba71c
--- /dev/null
+++ b/required/latex-lab/testfiles-table-pdftex/table-016-math.tlg
@@ -0,0 +1,172 @@
+This is a generated file for the l3build validation system.
+Don't change this file in any respect.
+==> Table has 2 columns
+==> saved cell data: 0,0,1 (outer level)
+==> current cell data: 1,1,1
+==> current cell data: 1,2,1
+==> (@arraycr) This row needs 0 additional cell(s)
+==> stucture stored for row 1: 8,9
+==> current cell data: 2,1,1
+==> current cell data: 2,2,1
+==> (@arraycr) This row needs 0 additional cell(s)
+==> stucture stored for row 2: 11,12
+==> restored cell data: 0,0,1 (outer level)
+Completed box being shipped out [1]
+\vbox(632.5+0.0)x429.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 17.0
+.\vbox(615.5+0.0)x390.0, shifted 39.0
+..\vbox(12.0+0.0)x390.0, glue set 12.0fil
+...\glue 0.0 plus 1.0fil
+...\pdfrunninglinkoff
+...\pdfliteral page{/Artifact BMC}
+...\marks4{b-,7,-1,}
+...\marks4{b+,7,-1,}
+...\hbox(0.0+0.0)x390.0
+....\hbox(0.0+0.0)x390.0
+...\pdfliteral page{EMC}
+...\marks4{e-,7,1,}
+...\marks4{e+,7,1,}
+...\pdfrunninglinkon
+..\glue 25.0
+..\glue(\lineskip) 0.0
+..\vbox(548.5+0.0)x390.0, glue set 524.644fil
+...\hbox(0.0+0.0)x0.0
+...\pdfinterwordspaceon
+...\write-{}
+...\glue(\topskip) 0.0
+...\hbox(17.89998+11.89998)x390.0, glue set 294.37637fil
+....\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)x17.62482
+....\pdfliteral page{EMC}
+....\hbox(17.89998+11.89998)x77.99881
+.....\mathon
+.....\vbox(17.89998+11.89998)x77.99881
+......\rule(0.4+0.0)x77.99881
+......\hbox(10.14995+4.35004)x77.99881, glue set 24.43524fill
+.......\glue(\tabskip) 0.0
+.......\hbox(10.14995+4.35004)x23.6165
+........\rule(10.14995+4.35004)x0.0
+........\glue 0.0 plus 1.0fil
+........\glue 0.00002
+........\write1{\new at label@record{mcid-2}{{tagabspage}{\__property_code_tagabspage: }{tagmcabs}{2}{tagmcid}{\__property_code_tagmcid: }}}
+........\penalty 10000
+........\glue 0.0
+........\pdfliteral shipout page{/TD <</MCID \flag_height:n {__tag/mcid}\flag_raise:n {__tag/mcid} >> BDC}
+........\OT1/cmr/m/n/12 A
+........\OT1/cmr/m/n/12 A
+........\pdfliteral page{EMC}
+........\glue 0.0 plus 1.0fil
+........\glue 6.0
+.......\glue(\tabskip) 0.0 plus 1.0fill
+.......\hbox(10.14995+4.35004)x29.94707, glue set 0.65277fil
+........\glue 6.0
+........\glue 0.0 plus 1.0fil
+........\glue 0.00002
+........\write1{\new at label@record{mcid-3}{{tagabspage}{\__property_code_tagabspage: }{tagmcabs}{3}{tagmcid}{\__property_code_tagmcid: }}}
+........\penalty 10000
+........\glue 0.0
+........\pdfliteral shipout page{/TD <</MCID \flag_height:n {__tag/mcid}\flag_raise:n {__tag/mcid} >> BDC}
+........\OT1/cmr/m/n/12 B
+........\OT1/cmr/m/n/12 B
+........\pdfliteral page{EMC}
+........\glue 0.0 plus 1.0fil
+........\glue 6.0
+.......\glue(\tabskip) 0.0
+......\marks4{b-,2,8,TD,,,}
+......\marks4{b+,2,8,TD,,,}
+......\marks4{e-,2,8,}
+......\marks4{e+,2,8,}
+......\marks4{b-,3,9,TD,,,}
+......\marks4{b+,3,9,TD,,,}
+......\marks4{e-,3,9,}
+......\marks4{e+,3,9,}
+......\glue(\lineskip) 0.0
+......\hbox(10.14995+4.35004)x77.99881, glue set 24.43524fill
+.......\glue(\tabskip) 0.0
+.......\hbox(10.14995+4.35004)x23.6165, glue set 0.32222fil
+........\rule(10.14995+4.35004)x0.0
+........\glue 0.0 plus 1.0fil
+........\glue 0.00002
+........\write1{\new at label@record{mcid-4}{{tagabspage}{\__property_code_tagabspage: }{tagmcabs}{4}{tagmcid}{\__property_code_tagmcid: }}}
+........\penalty 10000
+........\glue 0.0
+........\pdfliteral shipout page{/TD <</MCID \flag_height:n {__tag/mcid}\flag_raise:n {__tag/mcid} >> BDC}
+........\OT1/cmr/m/n/12 C
+........\OT1/cmr/m/n/12 C
+........\pdfliteral page{EMC}
+........\glue 0.0 plus 1.0fil
+........\glue 6.0
+.......\glue(\tabskip) 0.0 plus 1.0fill
+.......\hbox(10.14995+4.35004)x29.94707
+........\glue 6.0
+........\glue 0.0 plus 1.0fil
+........\glue 0.00002
+........\write1{\new at label@record{mcid-5}{{tagabspage}{\__property_code_tagabspage: }{tagmcabs}{5}{tagmcid}{\__property_code_tagmcid: }}}
+........\penalty 10000
+........\glue 0.0
+........\pdfliteral shipout page{/TD <</MCID \flag_height:n {__tag/mcid}\flag_raise:n {__tag/mcid} >> BDC}
+........\OT1/cmr/m/n/12 D
+........\OT1/cmr/m/n/12 D
+........\pdfliteral page{EMC}
+........\glue 0.0 plus 1.0fil
+........\glue 6.0
+.......\glue(\tabskip) 0.0
+......\marks4{b-,4,11,TD,,,}
+......\marks4{b+,4,11,TD,,,}
+......\marks4{e-,4,11,}
+......\marks4{e+,4,11,}
+......\marks4{b-,5,12,TD,,,}
+......\marks4{b+,5,12,TD,,,}
+......\marks4{e-,5,12,}
+......\marks4{e+,5,12,}
+......\rule(0.4+0.0)x77.99881
+.....\mathoff
+....\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-,1,5,text,,,}
+...\marks4{b+,1,5,text,,,}
+...\marks4{e-,1,5,}
+...\marks4{e+,1,5,}
+...\marks4{b-,6,13,text,,,}
+...\marks4{b+,6,13,text,,,}
+...\marks4{e-,6,13,}
+...\marks4{e+,6,13,}
+...\glue -6.0
+...\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-,8,-1,}
+..\marks4{b+,8,-1,}
+..\glue(\baselineskip) 22.26668
+..\hbox(7.73332+0.0)x390.0
+...\hbox(7.73332+0.0)x390.0, glue set 192.06253fil
+....\glue 0.0 plus 1.0fil
+....\OT1/cmr/m/n/12 1
+....\glue 0.0 plus 1.0fil
+..\pdfliteral page{EMC}
+..\marks4{e-,8,1,}
+..\marks4{e+,8,1,}
+..\pdfrunninglinkon
+.\kern 0.0
+.\kern -632.5
+.\hbox(0.0+0.0)x0.0
+.\kern 632.5
+(table-016-math.aux)





More information about the latex3-commits mailing list.