diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/tagpdf/tagpdf-mc-code-shared.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/tagpdf/tagpdf-mc-code-shared.sty | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/Master/texmf-dist/tex/latex/tagpdf/tagpdf-mc-code-shared.sty b/Master/texmf-dist/tex/latex/tagpdf/tagpdf-mc-code-shared.sty index 8c5013ec0a3..173967b945d 100644 --- a/Master/texmf-dist/tex/latex/tagpdf/tagpdf-mc-code-shared.sty +++ b/Master/texmf-dist/tex/latex/tagpdf/tagpdf-mc-code-shared.sty @@ -1,4 +1,4 @@ -\ProvidesExplPackage {tagpdf-mc-code-shared} {2018/07/09} {0.2} +\ProvidesExplPackage {tagpdf-mc-code-shared} {2018/08/06} {0.3} {part of tagpdf - code related to marking chunks - code shared by generic and luamode } % I use a latex counter for the absolute count, so that it is added to @@ -9,18 +9,18 @@ % the absolute counter can be used to label and to check if the page % counter needs a reset. -\newcounter { g__uftag_MCID_abs_int } -\cs_new:Nn \__uftag_get_mc_abs_cnt: { \int_use:N \c@g__uftag_MCID_abs_int } +\newcounter { g__uftag_MCID_abs_int } +\cs_new:Nn \__uftag_get_mc_abs_cnt: { \int_use:N \c@g__uftag_MCID_abs_int } % tagmcabs is the label name of the absolute count which is used to identify the chunk \zref@newprop {tagmcabs} [0] { \int_use:N \c@g__uftag_MCID_abs_int } -\zref@addprop {tagpdf} {tagmcabs} +\zref@addprop {uftagzrl} {tagmcabs} \zref@addprop {LastPage} {tagmcabs} %stores labels of mcid. \cs_new:Nn \__uftag_mc_handle_mc_label:n { - \zref@labelbylist{tagpdf-#1}{tagpdf} + \zref@labelbylist{tagpdf-#1}{uftagzrl} } % will hold the structure numbers for the parenttree @@ -31,7 +31,7 @@ %to test nesting mc: \bool_new:N \g__uftag_in_mc_bool -\prg_new_conditional:Nnn \_uftag_mc_if_in: {p,T,F,TF} +\prg_new_conditional:Nnn \_uftag_mc_if_in: {p,T,F,TF} { \bool_if:NTF \g__uftag_in_mc_bool { \prg_return_true: } @@ -39,10 +39,10 @@ } %shared keys -%the rest are in the splitted code -\tl_new:N \l__uftag_mc_artifact_type_tl +%the rest are in the splitted code +\tl_new:N \l__uftag_mc_artifact_type_tl -\keys_define:nn { tagpdf / mc } +\keys_define:nn { uftag / mc } { stash .bool_set:N = \l__uftag_mc_key_stash_bool, artifact-bool .bool_set:N = \l__uftag_mc_artifact_bool, |