summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/tagpdf/tagpdf-mc-generic.dtx
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2023-11-11 03:03:26 +0000
committerNorbert Preining <norbert@preining.info>2023-11-11 03:03:26 +0000
commite4ccc7921b6518e670428990524161b3ddbfebd2 (patch)
treecc5e3d265c59f5f5031b2b085a4621d13f0b1af6 /macros/latex/contrib/tagpdf/tagpdf-mc-generic.dtx
parentd8b5161942976a522cdb1a7b580fe3886eea6bc6 (diff)
CTAN sync 202311110303
Diffstat (limited to 'macros/latex/contrib/tagpdf/tagpdf-mc-generic.dtx')
-rw-r--r--macros/latex/contrib/tagpdf/tagpdf-mc-generic.dtx56
1 files changed, 28 insertions, 28 deletions
diff --git a/macros/latex/contrib/tagpdf/tagpdf-mc-generic.dtx b/macros/latex/contrib/tagpdf/tagpdf-mc-generic.dtx
index d1f6441a56..1651229013 100644
--- a/macros/latex/contrib/tagpdf/tagpdf-mc-generic.dtx
+++ b/macros/latex/contrib/tagpdf/tagpdf-mc-generic.dtx
@@ -46,7 +46,7 @@
% }^^A
% }
%
-% \date{Version 0.98m, released 2023-10-27}
+% \date{Version 0.98n, released 2023-11-10}
% \maketitle
% \begin{documentation}
% \end{documentation}
@@ -55,11 +55,11 @@
% \begin{macrocode}
%<@@=tag>
%<*generic>
-\ProvidesExplPackage {tagpdf-mc-code-generic} {2023-10-27} {0.98m}
+\ProvidesExplPackage {tagpdf-mc-code-generic} {2023-11-10} {0.98n}
{part of tagpdf - code related to marking chunks - generic mode}
%</generic>
%<*debug>
-\ProvidesExplPackage {tagpdf-debug-generic} {2023-10-27} {0.98m}
+\ProvidesExplPackage {tagpdf-debug-generic} {2023-11-10} {0.98n}
{part of tagpdf - debugging code related to marking chunks - generic mode}
%</debug>
% \end{macrocode}
@@ -212,10 +212,10 @@
% \begin{macrocode}
\cs_new_protected:Npn \@@_mc_get_marks:
{
- \exp_args:NNx
+ \exp_args:NNe
\seq_set_from_clist:Nn \l_@@_mc_firstmarks_seq
{ \tex_firstmarks:D \g_@@_mc_marks }
- \exp_args:NNx
+ \exp_args:NNe
\seq_set_from_clist:Nn \l_@@_mc_botmarks_seq
{ \tex_botmarks:D \g_@@_mc_marks }
}
@@ -235,16 +235,16 @@
%\prop_show:N \g_@@_struct_cont_mc_prop
\prop_get:NnNTF \g_@@_struct_cont_mc_prop {#1} \l_@@_tmpa_tl
{
- \prop_gput:Nnx \g_@@_struct_cont_mc_prop {#1}{ \l_@@_tmpa_tl \@@_struct_mcid_dict:n {#2}}
+ \prop_gput:Nne \g_@@_struct_cont_mc_prop {#1}{ \l_@@_tmpa_tl \@@_struct_mcid_dict:n {#2}}
}
{
- \prop_gput:Nnx \g_@@_struct_cont_mc_prop {#1}{ \@@_struct_mcid_dict:n {#2}}
+ \prop_gput:Nne \g_@@_struct_cont_mc_prop {#1}{ \@@_struct_mcid_dict:n {#2}}
}
- \prop_gput:Nxx \g_@@_mc_parenttree_prop
+ \prop_gput:Nee \g_@@_mc_parenttree_prop
{#2}
{#3}
}
-\cs_generate_variant:Nn \@@_mc_store:nnn {xxx}
+\cs_generate_variant:Nn \@@_mc_store:nnn {eee}
% \end{macrocode}
% \end{macro}
%
@@ -272,11 +272,11 @@
%test if artifact
\int_compare:nNnTF { \seq_item:cn { g_@@_mc_#1_marks_seq } {3} } = {-1}
{
- \tl_set:Nx \l_@@_tmpa_tl { \seq_item:cn { g_@@_mc_#1_marks_seq } {4} }
+ \tl_set:Ne \l_@@_tmpa_tl { \seq_item:cn { g_@@_mc_#1_marks_seq } {4} }
\@@_mc_handle_artifact:N \l_@@_tmpa_tl
}
{
- \exp_args:Nx
+ \exp_args:Ne
\@@_mc_bdc_mcid:n
{
\seq_item:cn { g_@@_mc_#1_marks_seq } {4}
@@ -288,7 +288,7 @@
{}
{
%store
- \@@_mc_store:xxx
+ \@@_mc_store:eee
{
\seq_item:cn { g_@@_mc_#1_marks_seq } {2}
}
@@ -422,7 +422,7 @@
% bottom split marks set up. We use this to set up
% \cs{l_@@_mc_firstmarks_seq}
% \begin{macrocode}
- \exp_args:NNx
+ \exp_args:NNe
\seq_set_from_clist:Nn \l_@@_mc_firstmarks_seq
{ \tex_splitfirstmarks:D \g_@@_mc_marks }
% \end{macrocode}
@@ -465,7 +465,7 @@
{
Pick~ up~ new~ bot~ mark!
}
- \exp_args:NNx
+ \exp_args:NNe
\seq_set_from_clist:Nn \l_@@_mc_botmarks_seq
{ \tex_splitbotmarks:D \g_@@_mc_marks }
}
@@ -569,7 +569,7 @@
\msg_warning:nn { tagpdf} { old-engine }
\@@_prop_new:N \g_@@_MCID_byabspage_prop
\int_new:N \g_@@_MCID_tmp_bypage_int
- \cs_generate_variant:Nn \@@_mc_bdc:nn {nx}
+ \cs_generate_variant:Nn \@@_mc_bdc:nn {ne}
% \end{macrocode}
% revert the attribute:
% \begin{macrocode}
@@ -578,7 +578,7 @@
\cs_new_protected:Npn \@@_mc_bdc_mcid:nn #1 #2
{
\int_gincr:N \c@g_@@_MCID_abs_int
- \tl_set:Nx \l_@@_mc_ref_abspage_tl
+ \tl_set:Ne \l_@@_mc_ref_abspage_tl
{
\@@_property_ref:enn %3 args
{
@@ -596,7 +596,7 @@
{
%key already present, use value for MCID and add 1 for the next
\int_gset:Nn \g_@@_MCID_tmp_bypage_int { \l_@@_mc_tmpa_tl }
- \@@_prop_gput:Nxx
+ \@@_prop_gput:Nee
\g_@@_MCID_byabspage_prop
{ \l_@@_mc_ref_abspage_tl }
{ \int_eval:n {\l_@@_mc_tmpa_tl +1} }
@@ -604,7 +604,7 @@
{
%key not present, set MCID to 0 and insert 1
\int_gzero:N \g_@@_MCID_tmp_bypage_int
- \@@_prop_gput:Nxx
+ \@@_prop_gput:Nee
\g_@@_MCID_byabspage_prop
{ \l_@@_mc_ref_abspage_tl }
{1}
@@ -614,7 +614,7 @@
mcid-\int_use:N \c@g_@@_MCID_abs_int
}
\c_@@_property_mc_clist
- \@@_mc_bdc:nx
+ \@@_mc_bdc:ne
{#1}
{ /MCID~\int_eval:n { \g_@@_MCID_tmp_bypage_int }~ \exp_not:n { #2 } }
}
@@ -633,7 +633,7 @@
% \end{macrocode}
% \end{macro}
-% \begin{macro}{\@@_mc_handle_stash:n,\@@_mc_handle_stash:x}
+% \begin{macro}{\@@_mc_handle_stash:n,\@@_mc_handle_stash:e}
% This is the handler which puts a mc into the
% the current structure. The argument is the number of the mc.
% Beside storing the mc into the structure, it also has to record the
@@ -648,11 +648,11 @@
\@@_struct_kid_mc_gput_right:nn
{ \g_@@_struct_stack_current_tl }
{#1}
- \prop_gput:Nxx \g_@@_mc_parenttree_prop
+ \prop_gput:Nee \g_@@_mc_parenttree_prop
{#1}
{ \g_@@_struct_stack_current_tl }
}
-\cs_generate_variant:Nn \@@_mc_handle_stash:n { x }
+\cs_generate_variant:Nn \@@_mc_handle_stash:n { e }
% \end{macrocode}
% \end{macro}
@@ -761,7 +761,7 @@
{ g_@@_struct_ \g_@@_struct_stack_current_tl _prop}
{S}
\l_@@_tmpa_tl
- \msg_warning:nnxxx
+ \msg_warning:nneee
{ tag }
{role-parent-child}
{ \l_@@_get_parent_tmpa_tl/\l_@@_get_parent_tmpb_tl }
@@ -770,7 +770,7 @@
(struct~\g_@@_struct_stack_current_tl,~\l_@@_tmpa_tl)
}
}
- \@@_mc_handle_stash:x { \int_use:N \c@g_@@_MCID_abs_int }
+ \@@_mc_handle_stash:e { \int_use:N \c@g_@@_MCID_abs_int }
}
}
\group_end:
@@ -830,12 +830,12 @@
{
tag .code:n = % the name (H,P,Span) etc
{
- \tl_set:Nx \l_@@_mc_key_tag_tl { #1 }
- \tl_gset:Nx \g_@@_mc_key_tag_tl { #1 }
+ \tl_set:Ne \l_@@_mc_key_tag_tl { #1 }
+ \tl_gset:Ne \g_@@_mc_key_tag_tl { #1 }
},
raw .code:n =
{
- \tl_put_right:Nx \l_@@_mc_key_properties_tl { #1 }
+ \tl_put_right:Ne \l_@@_mc_key_properties_tl { #1 }
},
alt .code:n = % Alt property
{
@@ -864,7 +864,7 @@
label .tl_set:N = \l_@@_mc_key_label_tl,
artifact .code:n =
{
- \exp_args:Nnx
+ \exp_args:Nne
\keys_set:nn
{ @@ / mc }
{ __artifact-bool, __artifact-type=#1 }