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-structure.tex | |
parent | b11ef0810f2b6a651ce97d7e639f9c85efeedbd5 (diff) |
CTAN sync 202108290302
Diffstat (limited to 'macros/latex/contrib/tagpdf/ex-structure.tex')
-rw-r--r-- | macros/latex/contrib/tagpdf/ex-structure.tex | 19 |
1 files changed, 8 insertions, 11 deletions
diff --git a/macros/latex/contrib/tagpdf/ex-structure.tex b/macros/latex/contrib/tagpdf/ex-structure.tex index 58beb931d1..8ce5b624b8 100644 --- a/macros/latex/contrib/tagpdf/ex-structure.tex +++ b/macros/latex/contrib/tagpdf/ex-structure.tex @@ -7,31 +7,28 @@ \usepackage{tagpdf} \usepackage{amsmath} \usepackage{graphicx} -\tagpdfifpdftexT - { - \usepackage[T1]{fontenc} - } -\tagpdfifluatexT - { +\usepackage{iftex} +\iftutex \usepackage{fontspec} \usepackage{luacode} - } +\else + \usepackage[T1]{fontenc} +\fi \tagpdfsetup{tabsorder=structure, - activate-all, - uncompress + activate } \newsavebox\mybox +% this works only as we have only one page. Footer/header must be handle in the output routine. \usepackage{fancyhdr} \pagestyle{fancy} \fancyhf{} \cfoot{\tagmcbegin{artifact=pagination}\thepage\tagmcend} \begin{document} -\tagstructbegin{tag=Document} \tagstructbegin{tag=Sect} \tagstructbegin{tag=H} @@ -74,5 +71,5 @@ \tagstructend %L \tagstructend %Sect -\tagstructend %Document + \end{document}
\ No newline at end of file |