From 66f6e60b6dc60cc08482030b92df223b6a51b15f Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Sun, 29 Aug 2021 03:02:07 +0000 Subject: CTAN sync 202108290302 --- macros/latex/contrib/tagpdf/tagpdf-mc-luacode.dtx | 49 +++++------------------ 1 file changed, 11 insertions(+), 38 deletions(-) (limited to 'macros/latex/contrib/tagpdf/tagpdf-mc-luacode.dtx') diff --git a/macros/latex/contrib/tagpdf/tagpdf-mc-luacode.dtx b/macros/latex/contrib/tagpdf/tagpdf-mc-luacode.dtx index 7fff1672ea..2698b7ad59 100644 --- a/macros/latex/contrib/tagpdf/tagpdf-mc-luacode.dtx +++ b/macros/latex/contrib/tagpdf/tagpdf-mc-luacode.dtx @@ -50,7 +50,7 @@ % }^^A % } % -% \date{Version 0.91, released 2021-07-03} +% \date{Version 0.92, released 2021-08-27} % \maketitle % \begin{implementation} @@ -91,7 +91,7 @@ % \begin{macrocode} %<@@=tag> %<*luamode> -\ProvidesExplPackage {tagpdf-mc-code-lua} {2021-07-03} {0.91} +\ProvidesExplPackage {tagpdf-mc-code-lua} {2021-08-27} {0.92} {tagpdf - mc code only for the luamode } % % \end{macrocode} @@ -152,6 +152,13 @@ } % \end{macrocode} % \subsection{Commands} +% \begin{macro}{\@@_add_missing_mcs_to_stream:Nn} +% This command is used in the output routine by the ptagging code. +% It should do nothing in luamode. +% \begin{macrocode} +\cs_new_protected:Npn \@@_add_missing_mcs_to_stream:Nn #1#2 {} +% \end{macrocode} +% \end{macro} % \begin{macro}{\@@_mc_if_in:,\tag_mc_if_in:} % This tests, if we are in an mc, for attributes % this means to check against a number. @@ -352,8 +359,8 @@ % \begin{macro} % { % tag,raw, -% alttext,alttext-o, -% actualtext,actualtext-o, +% alttext, +% actualtext, % label,artifact % } % TODO: check conversion, check if local/global setting is right. @@ -378,23 +385,6 @@ } }, alttext .code:n = % Alt property - { - \str_set_convert:Nnon - \l_@@_tmpa_str - { #1 } - { default } - { utf16/hex } - \tl_put_right:Nn \l_@@_mc_key_properties_tl { /Alt~< } - \tl_put_right:No \l_@@_mc_key_properties_tl { \l_@@_tmpa_str>~ } - \lua_now:e - { - ltx.@@.func.store_mc_data - ( - \@@_get_mc_abs_cnt:,"alt","/Alt~<\str_use:N \l_@@_tmpa_str>" - ) - } - }, - alttext-o .code:n = % Alt property { \str_set_convert:Noon \l_@@_tmpa_str @@ -412,23 +402,6 @@ } }, actualtext .code:n = % Alt property - { - \str_set_convert:Nnon - \l_@@_tmpa_str - { #1 } - { default } - { utf16/hex } - \tl_put_right:Nn \l_@@_mc_key_properties_tl { /Alt~< } - \tl_put_right:No \l_@@_mc_key_properties_tl { \l_@@_tmpa_str>~ } - \lua_now:e - { - ltx.@@.func.store_mc_data - ( - \@@_get_mc_abs_cnt:,"actualtext","/ActualText~<\str_use:N \l_@@_tmpa_str>" - ) - } - }, - actualtext-o .code:n = % Alt property { \str_set_convert:Noon \l_@@_tmpa_str -- cgit v1.2.3