diff options
Diffstat (limited to 'macros/latex/contrib/tagpdf/ex-tagpdf-template.tex')
-rw-r--r-- | macros/latex/contrib/tagpdf/ex-tagpdf-template.tex | 28 |
1 files changed, 13 insertions, 15 deletions
diff --git a/macros/latex/contrib/tagpdf/ex-tagpdf-template.tex b/macros/latex/contrib/tagpdf/ex-tagpdf-template.tex index a7a1432dc8..a2b0db1164 100644 --- a/macros/latex/contrib/tagpdf/ex-tagpdf-template.tex +++ b/macros/latex/contrib/tagpdf/ex-tagpdf-template.tex @@ -3,33 +3,31 @@ %this is more or less minimal template that can be used as starting point %it doesn't set everything that would be needed! \RequirePackage{pdfmanagement-testphase} -\DeclareDocumentMetadata{lang=en-UK, uncompress} +\DeclareDocumentMetadata + { + uncompress, + pdfversion=2.0 + } \documentclass{scrartcl} \usepackage[english]{babel} \usepackage{tagpdf} - -\tagpdfifpdftexT - { - \usepackage[T1]{fontenc} - } - -\tagpdfifluatexT - { +\usepackage{iftex} +\iftutex \usepackage{fontspec} - } +\else + \usepackage[T1]{fontenc} +\fi \tagpdfsetup { tabsorder=structure, - activate-all, + activate, %adds Document structure + paratagging, %activates tagging of paragraphs. + interwordspace %actives interword spaces (lualatex, pdflatex) } \begin{document} \pagestyle{empty} % -\tagstructbegin{tag=Document} -\tagmcbegin{tag=P} a paragraph -\tagmcend -\tagstructend \end{document}
\ No newline at end of file |