[latex3-commits] [latex3/latex2e] develop: allow use without tagging (0258dc59)
github at latex-project.org
github at latex-project.org
Tue Sep 12 15:34:57 CEST 2023
Repository : https://github.com/latex3/latex2e
On branch : develop
Link : https://github.com/latex3/latex2e/commit/0258dc592bc71c955ccaf0cb4c360a3cefc38372
>---------------------------------------------------------------
commit 0258dc592bc71c955ccaf0cb4c360a3cefc38372
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date: Mon Sep 11 15:48:26 2023 +0200
allow use without tagging
>---------------------------------------------------------------
0258dc592bc71c955ccaf0cb4c360a3cefc38372
required/latex-lab/latex-lab-math.dtx | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/required/latex-lab/latex-lab-math.dtx b/required/latex-lab/latex-lab-math.dtx
index 0078d0db..7897cf2d 100644
--- a/required/latex-lab/latex-lab-math.dtx
+++ b/required/latex-lab/latex-lab-math.dtx
@@ -335,9 +335,14 @@
$$
}
}
-
+% \end{macrocode}
+% To allow to use the code without tagging we guard. But probably tagpdf should
+% provide some tools for such manual para-ends.
+% \begin{macrocode}
\cs_new_protected:Npn \@kernel at close@P {
- \tagmcend %end P-chunk, in code: \tag_mc_end_push:
+ \tag_if_active:T
+ {
+ \tagmcend %end P-chunk, should perhaps be \tag_mc_end_push: ...
\int_gincr:N \g__tag_para_end_int
\bool_if:NT \l__tag_para_show_bool
{ \tag_mc_begin:n{artifact}
@@ -345,6 +350,7 @@
\tag_mc_end:
}
\tag_struct_end:
+ }
}
More information about the latex3-commits
mailing list.