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-patch-sectioning-memoir.tex | |
parent | b11ef0810f2b6a651ce97d7e639f9c85efeedbd5 (diff) |
CTAN sync 202108290302
Diffstat (limited to 'macros/latex/contrib/tagpdf/ex-patch-sectioning-memoir.tex')
-rw-r--r-- | macros/latex/contrib/tagpdf/ex-patch-sectioning-memoir.tex | 26 |
1 files changed, 10 insertions, 16 deletions
diff --git a/macros/latex/contrib/tagpdf/ex-patch-sectioning-memoir.tex b/macros/latex/contrib/tagpdf/ex-patch-sectioning-memoir.tex index aefda1cbcb..1177fd2dc4 100644 --- a/macros/latex/contrib/tagpdf/ex-patch-sectioning-memoir.tex +++ b/macros/latex/contrib/tagpdf/ex-patch-sectioning-memoir.tex @@ -1,5 +1,9 @@ % !Mode:: "TeX:DE:UTF-8:Main" %chapter not correct!! +% 13.07.2021 doesn't use paratagging! +\RequirePackage{pdfmanagement-testphase} +\DeclareDocumentMetadata{pdfversion=1.7,uncompress} + \documentclass[a4paper,oneside]{memoir} \settocdepth{subsubsection} \setsecnumdepth{subsubsection} @@ -9,25 +13,17 @@ \usepackage{tagpdf} -\tagpdfifpdftexT - { - %set language / can also be done with hyperref - \pdfcatalog{/Lang (en-US)} - \usepackage[T1]{fontenc} - } - -\tagpdfifluatexT - { - %set language / can also be done with hyperref - \pdfextension catalog{/Lang (en-US)} +\usepackage{iftex} +\iftutex \usepackage{fontspec} \usepackage{luacode} - } +\else + \usepackage[T1]{fontenc} +\fi \tagpdfsetup{tabsorder=structure, - activate-all, - uncompress + activate,interwordspace } \usepackage{lipsum}%\textheight3cm @@ -213,7 +209,6 @@ %% missing yet: chapter titles \begin{document} -\tagstructbegin{tag=Document} \tableofcontents* @@ -246,7 +241,6 @@ test \section*{Starred section} -\tagstructend \end{document} |