[latex3-commits] [git/LaTeX3-latex3-latex2e] testnewpara: update tagpdf (ec2be49b)
Ulrike Fischer
fischer at troubleshooting-tex.de
Fri Mar 3 16:32:52 CET 2023
Repository : https://github.com/latex3/latex2e
On branch : testnewpara
Link : https://github.com/latex3/latex2e/commit/ec2be49b6afaa1778a295ad962a94c9d430cc6be
>---------------------------------------------------------------
commit ec2be49b6afaa1778a295ad962a94c9d430cc6be
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date: Fri Mar 3 16:32:52 2023 +0100
update tagpdf
>---------------------------------------------------------------
ec2be49b6afaa1778a295ad962a94c9d430cc6be
texmf/tex/latex/tagpdf/tagpdf.sty | 19 +++++++++----------
1 file changed, 9 insertions(+), 10 deletions(-)
diff --git a/texmf/tex/latex/tagpdf/tagpdf.sty b/texmf/tex/latex/tagpdf/tagpdf.sty
index 56c56cdc..aeb2dbd9 100644
--- a/texmf/tex/latex/tagpdf/tagpdf.sty
+++ b/texmf/tex/latex/tagpdf/tagpdf.sty
@@ -3002,8 +3002,7 @@
}
}
\bool_new:N \l__tag_para_bool
-\bool_new:N \l__tag_para_main_bool
-\bool_set_true:N \l__tag_para_main_bool
+\bool_new:N \l__tag_para_flattened_bool
\bool_new:N \l__tag_para_show_bool
\int_new:N \g__tag_para_begin_int
\int_new:N \g__tag_para_end_int
@@ -3024,7 +3023,7 @@
\keys_define:nn { tag / tool}
{
paratag .tl_set:N = \l__tag_para_tag_tl,
- para-main .bool_set:N = \l__tag_para_main_bool
+ para-flattened .bool_set:N = \l__tag_para_flattened_bool
}
\cs_new_protected:Npn \__tag_check_para_begin_show:nn #1 #2
%#1 color, #2 prefix
@@ -3052,7 +3051,7 @@
{
\bool_if:NT \l__tag_para_bool
{
- \bool_if:NT \l__tag_para_main_bool
+ \bool_if:NF \l__tag_para_flattened_bool
{
\int_gincr:N \g__tag_para_main_begin_int
\tag_struct_begin:n
@@ -3074,7 +3073,7 @@
\tag_mc_end:
\__tag_check_para_end_show:nn {red}{}
\tag_struct_end:
- \bool_if:NT \l__tag_para_main_bool
+ \bool_if:NF \l__tag_para_flattened_bool
{
\int_gincr:N \g__tag_para_main_end_int
\tag_struct_end:
@@ -3085,16 +3084,16 @@
{
\int_compare:nNnF {\g__tag_para_main_begin_int}={\g__tag_para_main_end_int}
{
- \msg_error:nnxxn
+ \msg_error:nnxxx
{tag}
{para-hook-count-wrong}
- {\int_use:N\g__tag_para_begin_int}
- {\int_use:N\g__tag_para_end_int}
+ {\int_use:N\g__tag_para_main_begin_int}
+ {\int_use:N\g__tag_para_main_end_int}
{tpara}
}
\int_compare:nNnF {\g__tag_para_begin_int}={\g__tag_para_end_int}
{
- \msg_error:nnxxn
+ \msg_error:nnxxx
{tag}
{para-hook-count-wrong}
{\int_use:N\g__tag_para_begin_int}
@@ -3133,7 +3132,7 @@
\keys_define:nn { tag / tool}
{
para .bool_set:N = \l__tag_para_bool,
- para-main .bool_set:N = \l__tag_para_main_bool,
+ para-flattened .bool_set:N = \l__tag_para_flattened_bool,
}
\NewDocumentCommand\tagpdfsuppressmarks{m}
{{\use:c{__tag_mc_disable_marks:} #1}}
More information about the latex3-commits
mailing list.