[latex3-commits] [git/LaTeX3-latex3-latex2e] testnewpara: check if tagging active (3fbf6a86)
Ulrike Fischer
fischer at troubleshooting-tex.de
Fri Mar 3 23:30:40 CET 2023
Repository : https://github.com/latex3/latex2e
On branch : testnewpara
Link : https://github.com/latex3/latex2e/commit/3fbf6a86d7437cb2d580050892c74b544f86e677
>---------------------------------------------------------------
commit 3fbf6a86d7437cb2d580050892c74b544f86e677
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date: Fri Mar 3 23:30:40 2023 +0100
check if tagging active
>---------------------------------------------------------------
3fbf6a86d7437cb2d580050892c74b544f86e677
required/latex-lab/latex-lab-block-tagging.dtx | 1 -
required/latex-lab/latex-lab-sec-tagging.dtx | 5 ++++-
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/required/latex-lab/latex-lab-block-tagging.dtx b/required/latex-lab/latex-lab-block-tagging.dtx
index 2bdab0e7..ab805a4a 100644
--- a/required/latex-lab/latex-lab-block-tagging.dtx
+++ b/required/latex-lab/latex-lab-block-tagging.dtx
@@ -3452,7 +3452,6 @@
\ProvidesFile{block-tagging-latex-lab-testphase.ltx}
[\ltblocksdate\space \ltblocksversion\space
blockenv implementation]
-
\RequirePackage{latex-lab-testphase-block-tagging}
%</latex-lab>
% \end{macrocode}
diff --git a/required/latex-lab/latex-lab-sec-tagging.dtx b/required/latex-lab/latex-lab-sec-tagging.dtx
index 4ebff709..9a4eab9f 100644
--- a/required/latex-lab/latex-lab-sec-tagging.dtx
+++ b/required/latex-lab/latex-lab-sec-tagging.dtx
@@ -655,7 +655,10 @@
% \end{macrocode}
% In lua mode we have to set the attributes inside the box!
% \begin{macrocode}
- \bool_if:NT\g__tag_mode_lua_bool{\tagmcbegin{tag=Lbl}}
+ \bool_lazy_and:nnT
+ {\tag_if_active_p:}
+ {\g__tag_mode_lua_bool}
+ {\tagmcbegin{tag=Lbl}}
{#1}
}
% \end{macrocode}
More information about the latex3-commits
mailing list.