summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/tagpdf/ex-patch-sectioning-koma.tex
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/tagpdf/ex-patch-sectioning-koma.tex')
-rw-r--r--macros/latex/contrib/tagpdf/ex-patch-sectioning-koma.tex22
1 files changed, 11 insertions, 11 deletions
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