diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/tagpdf/tagpdf.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/tagpdf/tagpdf.sty | 26 |
1 files changed, 8 insertions, 18 deletions
diff --git a/Master/texmf-dist/tex/latex/tagpdf/tagpdf.sty b/Master/texmf-dist/tex/latex/tagpdf/tagpdf.sty index f583383c897..4163494d313 100644 --- a/Master/texmf-dist/tex/latex/tagpdf/tagpdf.sty +++ b/Master/texmf-dist/tex/latex/tagpdf/tagpdf.sty @@ -1,7 +1,7 @@ -\RequirePackage{expl3}[2018/06/14] +\RequirePackage{expl3}[2019/07/01] %\RequirePackage[enable-debug]{expl3}[2018/06/14] -\ProvidesExplPackage {tagpdf} {2019/03/20} {0.60} +\ProvidesExplPackage {tagpdf} {2019/07/02} {0.61} {A package to experiment with pdf tagging} %\debug_on:n{check-declarations,check-expressions,deprecation} @@ -41,10 +41,11 @@ \RequirePackage{atbegshi} \RequirePackage{zref-base,zref-lastpage} \RequirePackage{etoolbox} +\RequirePackage{l3pdf} %\RequirePackage{pdfescape} %check if needed %\RequirePackage{pdftexcmds}%check if needed (expandable commands!) -\RequirePackage{l3str-convert} +%\RequirePackage{l3str-convert} \cs_generate_variant:Nn \str_set_convert:Nnnn {Nonn, Noon, Nnon } @@ -83,18 +84,7 @@ tabsorder / structure .code:n = {\tl_set:Nn \l__uftag_tree_tabs_order_tl {/Tabs/S}}, tabsorder / none .code:n = {\tl_set:Nn \l__uftag_tree_tabs_order_tl {}}, tabsorder .initial:n = structure, - compresslevel .choices:nn = {1,2,3,4,5,6,7,8,9} - { - \driver_pdf_compresslevel:n {#1} - \driver_pdf_objects_enable: - }, - compresslevel / 0 .code:n = - { - \driver_pdf_compresslevel:n { 0 } - \driver_pdf_objects_disable: - }, - compresslevel .value_required:n = true, - uncompress .meta:n = { compresslevel = 0 }, + uncompress .code:n = {\pdf_uncompress: }, inputencoding .code:n = { \sys_if_engine_pdftex:T @@ -102,7 +92,7 @@ }, } -% escape commands are a bit engine specific so have been moved to the driver files. +% escape commands are a bit engine specific so have been moved to the backend files. % commands to escape strings so that they can be safely used in pdf % currently not much used. But will be needed later, when alt and actualtext are added. % we probably need the equivalent \pdfescapestring, \pdfescapename \pdfescapehex @@ -114,7 +104,7 @@ %\cs_set_eq:NN \__uftag_pdf_escape_string:n \EdefEscapeString %\cs_set_eq:NN \__uftag_pdf_escape_name:Nn \EdefEscapeName -%escape command. They are driver specific as \pdf@escapehex would ignore most chars +%escape command. They are backend specific as \pdf@escapehex would ignore most chars %outside the "pdflatex" range @@ -137,7 +127,7 @@ } -%testing the engines and loading the driver files +%testing the engines and loading the backend files \sys_if_engine_xetex:T { \PackageError { tagpdf } { xelatex~is~not~supported~-~aborting } {} |