diff options
author | Norbert Preining <norbert@preining.info> | 2021-08-29 03:02:07 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2021-08-29 03:02:07 +0000 |
commit | 66f6e60b6dc60cc08482030b92df223b6a51b15f (patch) | |
tree | e64c800b73c0989d7e812b4a703088ceb131e0c4 /macros/latex/contrib/tagpdf/ex-AF-file.tex | |
parent | b11ef0810f2b6a651ce97d7e639f9c85efeedbd5 (diff) |
CTAN sync 202108290302
Diffstat (limited to 'macros/latex/contrib/tagpdf/ex-AF-file.tex')
-rw-r--r-- | macros/latex/contrib/tagpdf/ex-AF-file.tex | 19 |
1 files changed, 8 insertions, 11 deletions
diff --git a/macros/latex/contrib/tagpdf/ex-AF-file.tex b/macros/latex/contrib/tagpdf/ex-AF-file.tex index 92b78a55ad..3e569807db 100644 --- a/macros/latex/contrib/tagpdf/ex-AF-file.tex +++ b/macros/latex/contrib/tagpdf/ex-AF-file.tex @@ -7,20 +7,20 @@ \documentclass{article} \usepackage{tagpdf} +\usepackage{iftex} \tagpdfsetup{tabsorder=structure, - activate-all} -\tagpdfifpdftexT - { - \usepackage[T1]{fontenc} - } + activate, + interwordspace + } -\tagpdfifluatexT - { +\iftutex \usepackage{fontspec} \usepackage{unicode-math} \usepackage{luacode} \newfontface\zerowidthfont{freeserif} - } +\else + \usepackage[T1]{fontenc} +\fi \usepackage{graphicx} \begin{filecontents}{example-input-file.tex} @@ -30,8 +30,6 @@ Additional info! \begin{document} \pagestyle{empty} -\tagstructbegin{tag=Document} - \ExplSyntaxOn \pdffile_embed_file:nnn{example-input-file.tex}{}{tag/AFtest} @@ -59,5 +57,4 @@ Additional info! \tagmcend \tagstructend -\tagstructend \end{document}
\ No newline at end of file |