[latex3-commits] [latex3/latex2e] latex-lab/uf-review-05: guard code so that it works also without tagging (7079d050)
github at latex-project.org
github at latex-project.org
Tue Jan 16 00:40:36 CET 2024
Repository : https://github.com/latex3/latex2e
On branch : latex-lab/uf-review-05
Link : https://github.com/latex3/latex2e/commit/7079d0509958af75de082441173230b3254212ed
>---------------------------------------------------------------
commit 7079d0509958af75de082441173230b3254212ed
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date: Tue Jan 16 00:40:36 2024 +0100
guard code so that it works also without tagging
>---------------------------------------------------------------
7079d0509958af75de082441173230b3254212ed
required/latex-lab/latex-lab-float.dtx | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/required/latex-lab/latex-lab-float.dtx b/required/latex-lab/latex-lab-float.dtx
index 6cd1879e..afe7e905 100644
--- a/required/latex-lab/latex-lab-float.dtx
+++ b/required/latex-lab/latex-lab-float.dtx
@@ -490,8 +490,11 @@
% \end{macrocode}
% move the caption to the begin of the float structure:
% \begin{macrocode}
- \seq_gpop_right:cN {g__tag_struct_kids_\@current at float@struct _seq}\l_@@_tmpa_tl
- \seq_gput_left:cV {g__tag_struct_kids_\@current at float@struct _seq}\l_@@_tmpa_tl
+ \tag_if_active:T
+ {
+ \seq_gpop_right:cN {g__tag_struct_kids_\@current at float@struct _seq}\l_@@_tmpa_tl
+ \seq_gput_left:cV {g__tag_struct_kids_\@current at float@struct _seq}\l_@@_tmpa_tl
+ }
\ifdim \wd\@tempboxa >\hsize
\tag_struct_begin:n{tag=Lbl}
\tag_mc_begin:n{}
More information about the latex3-commits
mailing list.