[latex3-commits] [git/LaTeX3-latex3-latex2e] latex-lab-blockenv: playing with gallery-III and color (35ba29fe)

Frank Mittelbach frank.mittelbach at latex-project.org
Tue Feb 28 11:13:56 CET 2023


Repository : https://github.com/latex3/latex2e
On branch  : latex-lab-blockenv
Link       : https://github.com/latex3/latex2e/commit/35ba29fe215b5bb5d74302e2b9c6b30a8ffeaa35

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

commit 35ba29fe215b5bb5d74302e2b9c6b30a8ffeaa35
Author: Frank Mittelbach <frank.mittelbach at latex-project.org>
Date:   Tue Feb 28 11:13:56 2023 +0100

    playing with gallery-III and color


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

35ba29fe215b5bb5d74302e2b9c6b30a8ffeaa35
 .../testfiles-block-tagging/gallery-III.luatex.tlg | 52 ++++++++--------------
 .../testfiles-block-tagging/gallery-III.lvt        | 11 +++--
 .../testfiles-block-tagging/gallery-III.tlg        | 16 +++----
 3 files changed, 34 insertions(+), 45 deletions(-)

diff --git a/required/latex-lab/testfiles-block-tagging/gallery-III.luatex.tlg b/required/latex-lab/testfiles-block-tagging/gallery-III.luatex.tlg
index 849a7c14..b96df306 100644
--- a/required/latex-lab/testfiles-block-tagging/gallery-III.luatex.tlg
+++ b/required/latex-lab/testfiles-block-tagging/gallery-III.luatex.tlg
@@ -232,6 +232,15 @@ Package tagpdf Info: closing structure 47 tagged /LBody
 Package tagpdf Info: closing structure 45 tagged /LI
 Package tagpdf Info: The rule between parent 'L (from description)' 
 (tagpdf)             and child 'LI' is '1 (0..n)'
+Package tagpdf Info: -1 has been pushed to the mc stack
+Package tagpdf Info: -1 has been removed from the mc stack
+Package tagpdf Info: -1 has been pushed to the mc stack
+Package tagpdf Info: -1 has been removed from the mc stack
+tagpdf: INFO TAG-NOT-TAGGED: this has not been tagged, using artifact
+tagpdf: INFO TAG-NOT-TAGGED: this has not been tagged, using artifact
+tagpdf: INFO TAG-NOT-TAGGED: this has not been tagged, using artifact
+tagpdf: INFO TAG-NOT-TAGGED: this has not been tagged, using artifact [1
+]
 ==> template:item:std
 ==> item with optional
 Package tagpdf Info: The rule between parent 'LI' 
@@ -252,16 +261,6 @@ Package tagpdf Info: The rule between parent 'P'
 ==> increment /P on input line ...
 Package tagpdf Info: closing structure 54 tagged /P
 Package tagpdf Info: closing structure 53 tagged /tpara
-Package tagpdf Info: -1 has been pushed to the mc stack
-Package tagpdf Info: -1 has been removed from the mc stack
-Package tagpdf Info: -1 has been pushed to the mc stack
-Package tagpdf Info: -1 has been removed from the mc stack
-tagpdf: INFO TAG-NOT-TAGGED: this has not been tagged, using artifact
-tagpdf: INFO TAG-NOT-TAGGED: this has not been tagged, using artifact
-tagpdf: INFO TAG-NOT-TAGGED: this has not been tagged, using artifact
-tagpdf: INFO TAG-NOT-TAGGED: this has not been tagged, using artifact
-tagpdf: INFO TAG-NOT-TAGGED: this has not been tagged, using artifact [1
-]
 ==> blockenv common ending on input line ...
 Package tagpdf Info: closing structure 52 tagged /LBody
 Package tagpdf Info: closing structure 50 tagged /LI
@@ -555,6 +554,15 @@ Package tagpdf Info: The rule between parent 'P'
 Package tagpdf Info: closing structure 106 tagged /P
 Package tagpdf Info: The rule between parent 'Part (inherited from LBody)' 
 (tagpdf)             and child 'L (from enumerate)' is '1 (0..n)'
+Package tagpdf Info: -1 has been pushed to the mc stack
+Package tagpdf Info: -1 has been removed from the mc stack
+Package tagpdf Info: -1 has been pushed to the mc stack
+Package tagpdf Info: -1 has been removed from the mc stack
+tagpdf: INFO TAG-NOT-TAGGED: this has not been tagged, using artifact
+tagpdf: INFO TAG-NOT-TAGGED: this has not been tagged, using artifact
+tagpdf: INFO TAG-NOT-TAGGED: this has not been tagged, using artifact
+tagpdf: INFO TAG-NOT-TAGGED: this has not been tagged, using artifact
+tagpdf: INFO TAG-NOT-TAGGED: this has not been tagged, using artifact [2]
 ==> use instance: enum-2
 ==> template:list:std
 ==> template:list:std end
@@ -583,18 +591,6 @@ Package tagpdf Info: closing structure 110 tagged /LBody
 Package tagpdf Info: closing structure 108 tagged /LI
 Package tagpdf Info: The rule between parent 'L (from enumerate)' 
 (tagpdf)             and child 'LI' is '1 (0..n)'
-Package tagpdf Info: -1 has been pushed to the mc stack
-Package tagpdf Info: -1 has been removed from the mc stack
-Package tagpdf Info: -1 has been pushed to the mc stack
-Package tagpdf Info: -1 has been removed from the mc stack
-tagpdf: INFO TAG-NOT-TAGGED: this has not been tagged, using artifact
-tagpdf: INFO TAG-NOT-TAGGED: this has not been tagged, using artifact
-tagpdf: INFO TAG-NOT-TAGGED: this has not been tagged, using artifact
-tagpdf: INFO TAG-NOT-TAGGED: this has not been tagged, using artifact
-tagpdf: INFO TAG-NOT-TAGGED: this has not been tagged, using artifact
-tagpdf: INFO TAG-NOT-TAGGED: this has not been tagged, using artifact
-tagpdf: INFO TAG-NOT-TAGGED: this has not been tagged, using artifact
-tagpdf: INFO TAG-NOT-TAGGED: this has not been tagged, using artifact [2]
 ==> template:item:std
 Package tagpdf Info: The rule between parent 'LI' 
 (tagpdf)             and child 'Lbl' is '1 (0..n)'
@@ -1092,7 +1088,6 @@ tagpdf: INFO TAG-NOT-TAGGED: this has not been tagged, using artifact
 tagpdf: INFO TAG-NOT-TAGGED: this has not been tagged, using artifact
 tagpdf: INFO TAG-NOT-TAGGED: this has not been tagged, using artifact
 tagpdf: INFO TAG-NOT-TAGGED: this has not been tagged, using artifact
-tagpdf: INFO TAG-NOT-TAGGED: this has not been tagged, using artifact
 tagpdf: INFO TAG-NOT-TAGGED: this has not been tagged, using artifact [3]
 Package tagpdf Info: closing structure 204 tagged /LBody
 Package tagpdf Info: closing structure 202 tagged /LI
@@ -1147,7 +1142,7 @@ Package tagpdf Info: The rule between parent 'P'
 ==> increment /P on input line ...
 Package tagpdf Info: closing structure 215 tagged /P
 Package tagpdf Info: closing structure 214 tagged /tpara
-Overfull \hbox (3.16754pt too wide) in paragraph at lines 201--206
+Overfull \hbox (3.16754pt too wide) in paragraph at lines 204--209
 []\T1/cmr/m/n/10 The PDF tag set sup-ports that nat-u-rally for struc-tures like lists but (strangely
 \hbox(7.49817+2.49939)x345.0, glue set - 1.0, direction TLT
 .\localpar
@@ -1506,9 +1501,6 @@ Package tagpdf Info: -1 has been removed from the mc stack
 tagpdf: INFO TAG-NOT-TAGGED: this has not been tagged, using artifact
 tagpdf: INFO TAG-NOT-TAGGED: this has not been tagged, using artifact
 tagpdf: INFO TAG-NOT-TAGGED: this has not been tagged, using artifact
-tagpdf: INFO TAG-NOT-TAGGED: this has not been tagged, using artifact
-tagpdf: INFO TAG-NOT-TAGGED: this has not been tagged, using artifact
-tagpdf: INFO TAG-NOT-TAGGED: this has not been tagged, using artifact
 tagpdf: INFO TAG-NOT-TAGGED: this has not been tagged, using artifact [4]
 ==> template:item:std
 Package tagpdf Info: The rule between parent 'LI' 
@@ -1829,10 +1821,6 @@ tagpdf: INFO TAG-NOT-TAGGED: this has not been tagged, using artifact
 tagpdf: INFO TAG-NOT-TAGGED: this has not been tagged, using artifact
 tagpdf: INFO TAG-NOT-TAGGED: this has not been tagged, using artifact
 tagpdf: INFO TAG-NOT-TAGGED: this has not been tagged, using artifact
-tagpdf: INFO TAG-NOT-TAGGED: this has not been tagged, using artifact
-tagpdf: INFO TAG-NOT-TAGGED: this has not been tagged, using artifact
-tagpdf: INFO TAG-NOT-TAGGED: this has not been tagged, using artifact
-tagpdf: INFO TAG-NOT-TAGGED: this has not been tagged, using artifact
 tagpdf: INFO TAG-NOT-TAGGED: this has not been tagged, using artifact [5]
 Package tagpdf Info: The rule between parent 'Document' 
 (tagpdf)             and child 'H3' is '1 (0..n)'
@@ -1919,8 +1907,6 @@ Package tagpdf Info: -1 has been removed from the mc stack
 tagpdf: INFO TAG-NOT-TAGGED: this has not been tagged, using artifact
 tagpdf: INFO TAG-NOT-TAGGED: this has not been tagged, using artifact
 tagpdf: INFO TAG-NOT-TAGGED: this has not been tagged, using artifact
-tagpdf: INFO TAG-NOT-TAGGED: this has not been tagged, using artifact
-tagpdf: INFO TAG-NOT-TAGGED: this has not been tagged, using artifact
 tagpdf: INFO TAG-NOT-TAGGED: this has not been tagged, using artifact [6]
 Package tagpdf Info: The rule between parent 'Document' 
 (tagpdf)             and child 'H2' is '1 (0..n)'
diff --git a/required/latex-lab/testfiles-block-tagging/gallery-III.lvt b/required/latex-lab/testfiles-block-tagging/gallery-III.lvt
index bac17b22..42ce9358 100644
--- a/required/latex-lab/testfiles-block-tagging/gallery-III.lvt
+++ b/required/latex-lab/testfiles-block-tagging/gallery-III.lvt
@@ -3,7 +3,8 @@
 \DocumentMetadata{
   testphase=phase-II
   ,uncompress
-    ,testphase=block-tagging
+%  ,testphase=sec-tagging
+  ,testphase=block-tagging
   ,debug={
 %  para,
   log=vv}
@@ -23,11 +24,13 @@
 \makeatletter% Won't probably work with run-in sections.
 \pretocmd \@startsection{\tagpdfparaOff\tagstructbegin{tag=H#2}\tagmcbegin{tag=H#2}}{}{\fail}
 \patchcmd \@xsect{\ignorespaces}{\tagmcend\tagstructend\tagpdfparaOn\ignorespaces}{}{\fail}
-
-
 \makeatother
 
-\newenvironment{example}{\par\color{blue!70}}{\par}
+\newenvironment{example}
+   {\par
+%    \color{blue!70}%
+    \AddToHookNext{para/begin}{\color{blue!70}}%
+   }{\par}
 
 
 \title{A displayblock env gallery III}
diff --git a/required/latex-lab/testfiles-block-tagging/gallery-III.tlg b/required/latex-lab/testfiles-block-tagging/gallery-III.tlg
index 425d185d..a2e13c4e 100644
--- a/required/latex-lab/testfiles-block-tagging/gallery-III.tlg
+++ b/required/latex-lab/testfiles-block-tagging/gallery-III.tlg
@@ -549,6 +549,13 @@ Package tagpdf Info: The rule between parent 'P'
 Package tagpdf Info: closing structure 106 tagged /P
 Package tagpdf Info: The rule between parent 'Part (inherited from LBody)' 
 (tagpdf)             and child 'L (from enumerate)' is '1 (0..n)'
+The sequence \g__tag_mc_main_marks_seq contains the items (without outer
+braces):
+>  {b+}
+>  {44}
+>  {88}
+>  {H2}.
+[2]
 ==> use instance: enum-2
 ==> template:list:std
 ==> template:list:std end
@@ -577,13 +584,6 @@ Package tagpdf Info: closing structure 110 tagged /LBody
 Package tagpdf Info: closing structure 108 tagged /LI
 Package tagpdf Info: The rule between parent 'L (from enumerate)' 
 (tagpdf)             and child 'LI' is '1 (0..n)'
-The sequence \g__tag_mc_main_marks_seq contains the items (without outer
-braces):
->  {b+}
->  {44}
->  {88}
->  {H2}.
-[2]
 ==> template:item:std
 Package tagpdf Info: The rule between parent 'LI' 
 (tagpdf)             and child 'Lbl' is '1 (0..n)'
@@ -1133,7 +1133,7 @@ Package tagpdf Info: The rule between parent 'P'
 ==> increment /P on input line ...
 Package tagpdf Info: closing structure 215 tagged /P
 Package tagpdf Info: closing structure 214 tagged /tpara
-Overfull \hbox (3.16754pt too wide) in paragraph at lines 201--206
+Overfull \hbox (3.16754pt too wide) in paragraph at lines 204--209
 [][][][]\T1/cmr/m/n/10 The PDF tag set sup-ports that nat-u-rally for struc-tures like lists but (strangely
 \hbox(7.49817+2.49939)x345.0, glue set - 1.0
 .\write1{\newlabeldata{mcid-98}{{tagabspage}{\__ref_attribute_tagabspage: }{tagmcabs}{98}{tagmcid}{7}}}





More information about the latex3-commits mailing list.