[latex3-commits] [latex3/latex2e] tagging-11-math: allow use without tagging (f3dfe5b4)
github at latex-project.org
github at latex-project.org
Mon Sep 11 15:48:26 CEST 2023
Repository : https://github.com/latex3/latex2e
On branch : tagging-11-math
Link : https://github.com/latex3/latex2e/commit/f3dfe5b48e518b6817f951562f55946e0ac373d8
>---------------------------------------------------------------
commit f3dfe5b48e518b6817f951562f55946e0ac373d8
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date: Mon Sep 11 15:48:26 2023 +0200
allow use without tagging
>---------------------------------------------------------------
f3dfe5b48e518b6817f951562f55946e0ac373d8
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.