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 --- .../contrib/tagpdf/ex-patch-sectioning-koma.tex | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'macros/latex/contrib/tagpdf/ex-patch-sectioning-koma.tex') diff --git a/macros/latex/contrib/tagpdf/ex-patch-sectioning-koma.tex b/macros/latex/contrib/tagpdf/ex-patch-sectioning-koma.tex index 52277eef3a..ab46a9ac97 100644 --- a/macros/latex/contrib/tagpdf/ex-patch-sectioning-koma.tex +++ b/macros/latex/contrib/tagpdf/ex-patch-sectioning-koma.tex @@ -8,6 +8,10 @@ %no page break involved. So the example works in lua and generic mode +% unclear if everything still works. They have been some changes in koma +% doesn't take paratagging into account. + + \RequirePackage{pdfmanagement-testphase} \DeclareDocumentMetadata{pdfversion=1.7,uncompress} @@ -16,20 +20,18 @@ \usepackage{tagpdf} -\tagpdfifpdftexT - { - \usepackage[T1]{fontenc} - } - -\tagpdfifluatexT - { +\usepackage{iftex} +\iftutex \usepackage{fontspec} \usepackage{luacode} - } +\else + \usepackage[T1]{fontenc} +\fi + \tagpdfsetup{tabsorder=structure, - activate-all, + activate, } @@ -158,7 +160,6 @@ %I don't want to handle pagestyles, so set everything to empty: \pagestyle{empty}\renewcommand\chapterpagestyle{empty} -\tagstructbegin{tag=Document} \tableofcontents @@ -174,5 +175,4 @@ \tagmcend \tagstructend -\tagstructend %Document \end{document} \ No newline at end of file -- cgit v1.2.3