diff options
Diffstat (limited to 'macros/latex/contrib/tagpdf/tagpdf-mc-generic.dtx')
-rw-r--r-- | macros/latex/contrib/tagpdf/tagpdf-mc-generic.dtx | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/macros/latex/contrib/tagpdf/tagpdf-mc-generic.dtx b/macros/latex/contrib/tagpdf/tagpdf-mc-generic.dtx index 003c2a2748..7881210a40 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.95, released 2022-05-29} +% \date{Version 0.96, released 2022-08-06} % \maketitle % \begin{documentation} % \end{documentation} @@ -55,11 +55,11 @@ % \begin{macrocode} %<@@=tag> %<*generic> -\ProvidesExplPackage {tagpdf-mc-code-generic} {2022-05-29} {0.95} +\ProvidesExplPackage {tagpdf-mc-code-generic} {2022-08-06} {0.96} {part of tagpdf - code related to marking chunks - generic mode} %</generic> %<*debug> -\ProvidesExplPackage {tagpdf-debug-generic} {2022-05-29} {0.95} +\ProvidesExplPackage {tagpdf-debug-generic} {2022-08-06} {0.96} {part of tagpdf - debugging code related to marking chunks - generic mode} %</debug> % \end{macrocode} @@ -353,7 +353,7 @@ % for boxes produced for columns in that environment. Other streams % may follow over time. % \begin{macrocode} -\cs_new:Npn\@@_add_missing_mcs:Nn #1 #2 { +\cs_new_protected:Npn\@@_add_missing_mcs:Nn #1 #2 { \vbadness \@M \vfuzz \c_max_dim \vbox_set_to_ht:Nnn #1 { \box_ht:N #1 } { @@ -752,7 +752,7 @@ % { % tag (mc-key), % raw (mc-key), -% alttext (mc-key), +% alt (mc-key), % actualtext (mc-key), % label (mc-key), % artifact (mc-key) @@ -770,7 +770,7 @@ { \tl_put_right:Nx \l_@@_mc_key_properties_tl { #1 } }, - alttext .code:n = % Alt property + alt .code:n = % Alt property { \str_set_convert:Noon \l_@@_tmpa_str @@ -780,6 +780,7 @@ \tl_put_right:Nn \l_@@_mc_key_properties_tl { /Alt~< } \tl_put_right:No \l_@@_mc_key_properties_tl { \l_@@_tmpa_str>~ } }, + alttext .meta:n = {alt=#1}, actualtext .code:n = % ActualText property { \str_set_convert:Noon |