[latex3-commits] [latex3/latex2e] tagging705-float: small corrections, flattened par (9b67745a)
github at latex-project.org
github at latex-project.org
Tue Sep 17 20:06:01 CEST 2024
Repository : https://github.com/latex3/latex2e
On branch : tagging705-float
Link : https://github.com/latex3/latex2e/commit/9b67745abf8ea0ef21492757f9165e37f0df7ebb
>---------------------------------------------------------------
commit 9b67745abf8ea0ef21492757f9165e37f0df7ebb
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date: Tue Sep 17 20:06:01 2024 +0200
small corrections, flattened par
>---------------------------------------------------------------
9b67745abf8ea0ef21492757f9165e37f0df7ebb
required/latex-lab/latex-lab-float.dtx | 15 +++++++--------
1 file changed, 7 insertions(+), 8 deletions(-)
diff --git a/required/latex-lab/latex-lab-float.dtx b/required/latex-lab/latex-lab-float.dtx
index 2a24f6f5..5c1dccda 100644
--- a/required/latex-lab/latex-lab-float.dtx
+++ b/required/latex-lab/latex-lab-float.dtx
@@ -543,7 +543,7 @@
\NewSocket{tagsupport/caption/label/end}{0}
}
% \end{macrocode}
-% These socket is currently defined in tagpdf.
+% These socket are currently defined in tagpdf.
% \begin{macrocode}
\str_if_exist:cF { l__socket_tagsupport/para/begin_plug_str }
{
@@ -559,12 +559,14 @@
% \end{macrocode}
% \end{socketdecl}
%
-% \begin{plugdecl}{default (caption/label)}
+% \begin{plugdecl}{kernel (caption/label)}
+% The standard label formatting from the kernel.
% \begin{macrocode}
-\NewSocketPlug{caption/label}{default}
+\NewSocketPlug{caption/label}{kernel}
{
#1:~
}
+\AssignSocketPlug{caption/label}{kernel}
% \end{macrocode}
% \end{plugdecl}
% \begin{plugdecl}{default}
@@ -582,6 +584,7 @@
{
\tag_struct_begin:n{tag=Caption,parent=#1,firstkid}
}
+ \bool_set_true:N \l__tag_para_flattened_bool
}
\AssignSocketPlug{tagsupport/caption/begin}{default}
% \end{macrocode}
@@ -670,10 +673,6 @@
\sbox\@tempboxa{#1:~#2}%
\ResumeTagging{\@makecaption}
% \end{macrocode}
-% we stop paratagging. TODO: check
-% \begin{macrocode}
- \tagtool{para=false}
-% \end{macrocode}
% We pass \cs{@current at float@struct} as parent structure
% number. If that is empty the socket will use the parent structure and hope ...
% \begin{macrocode}
@@ -692,7 +691,7 @@
\global \@minipagefalse
\hb at xt@\hsize{\hfil
\UseTaggingSocket{caption/label/begin}
- #1:~
+ \UseSocket{caption/label}{#1}
\UseTaggingSocket{caption/label/end}
\UseTaggingSocket{para/begin}
#2
More information about the latex3-commits
mailing list.