diff options
Diffstat (limited to 'Master/texmf-dist/source/latex/tagpdf/tagpdf-space.dtx')
-rw-r--r-- | Master/texmf-dist/source/latex/tagpdf/tagpdf-space.dtx | 26 |
1 files changed, 11 insertions, 15 deletions
diff --git a/Master/texmf-dist/source/latex/tagpdf/tagpdf-space.dtx b/Master/texmf-dist/source/latex/tagpdf/tagpdf-space.dtx index 21a41f959fa..7b6a75d8ead 100644 --- a/Master/texmf-dist/source/latex/tagpdf/tagpdf-space.dtx +++ b/Master/texmf-dist/source/latex/tagpdf/tagpdf-space.dtx @@ -46,7 +46,7 @@ % }^^A % } % -% \date{Version 0.94, released 2022-05-11} +% \date{Version 0.95, released 2022-05-29} % \maketitle % \begin{documentation} % \begin{function}{interwordspace (setup-key)} @@ -64,7 +64,7 @@ % \begin{macrocode} %<@@=tag> %<*header> -\ProvidesExplPackage {tagpdf-space-code} {2022-05-11} {0.94} +\ProvidesExplPackage {tagpdf-space-code} {2022-05-29} {0.95} {part of tagpdf - code related to real space chars} %</header> % \end{macrocode} @@ -76,6 +76,15 @@ % \begin{macro}{interwordspace (setup-key),show-spaces (setup-key)} % \begin{macrocode} %<*package> +\keys_define:nn { @@ / setup } + { + interwordspace .choices:nn = { true, on } + { \msg_warning:nnx {tag}{sys-no-interwordspace}{\c_sys_engine_str} }, + interwordspace .choices:nn = { false, off } + { \msg_warning:nnx {tag}{sys-no-interwordspace}{\c_sys_engine_str} }, + interwordspace .default:n = true, + show-spaces .bool_set:N = \l_@@_showspaces_bool + } \sys_if_engine_pdftex:T { \sys_if_output_pdf:TF @@ -126,19 +135,6 @@ show-spaces .default:n = true } } - -\sys_if_engine_xetex:T - { - \keys_define:nn { @@ / setup } - { - interwordspace .choices:nn = { true, on } - { \msg_warning:nnn {tag}{sys-no-interwordspace}{xetex} }, - interwordspace .choices:nn = { false, off } - { \msg_warning:nnn {tag}{sys-no-interwordspace}{xetex} }, - interwordspace .default:n = true, - show-spaces .bool_set:N = \l_@@_showspaces_bool - } - } % \end{macrocode} % \end{macro} % |