summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/tagpdf/ex-patch-list.tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2021-08-29 20:26:17 +0000
committerKarl Berry <karl@freefriends.org>2021-08-29 20:26:17 +0000
commite83c955532d6bf7a44ee1702489dbf3cd74cf7c1 (patch)
tree228648882873c58e36eaade4d747adbec6cb3598 /Master/texmf-dist/doc/latex/tagpdf/ex-patch-list.tex
parente16bd0149bf77bb72427f1421046aa7ccdf1a9c5 (diff)
tagpdf (29aug21)
git-svn-id: svn://tug.org/texlive/trunk@60366 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/tagpdf/ex-patch-list.tex')
-rw-r--r--Master/texmf-dist/doc/latex/tagpdf/ex-patch-list.tex24
1 files changed, 12 insertions, 12 deletions
diff --git a/Master/texmf-dist/doc/latex/tagpdf/ex-patch-list.tex b/Master/texmf-dist/doc/latex/tagpdf/ex-patch-list.tex
index f3f149b20ce..d6485c86fe5 100644
--- a/Master/texmf-dist/doc/latex/tagpdf/ex-patch-list.tex
+++ b/Master/texmf-dist/doc/latex/tagpdf/ex-patch-list.tex
@@ -6,29 +6,29 @@
%It uses a command to end \item (\meti). It is perhaps possible to hide this command
% inside \item/end{list}, but with nested list it is not so easy.
+% not really up-to-date, with paratagging one could simplify things.
+
% Pay attention to casing. Li/LI, Lbody/Lbody are different.
%no page break involved. So the example works in lua and generic mode
\RequirePackage{pdfmanagement-testphase}
-\DeclareDocumentMetadata{pdfversion=1.7,lang=en-UK,uncompress}
+\DeclareDocumentMetadata{pdfversion=1.7,uncompress}
\documentclass{scrbook}
\usepackage[english]{babel}
\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,
}
\usepackage{lipsum}%\textheight3cm
@@ -75,7 +75,7 @@
%I don't want to handle pagestyles, so set everything to empty:
\pagestyle{empty}\renewcommand\chapterpagestyle{empty}
-\tagstructbegin{tag=Document}
+
\begin{itemize}
\item \TAGP Ducks say quack\PGAT\meti
@@ -92,5 +92,5 @@
\item[marmots] \TAGP brown\PGAT\meti
\end{description}
-\tagstructend %Document
+
\end{document} \ No newline at end of file