summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/tagpdf/tagpdfdocu-patches.sty
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/tagpdf/tagpdfdocu-patches.sty')
-rw-r--r--macros/latex/contrib/tagpdf/tagpdfdocu-patches.sty21
1 files changed, 17 insertions, 4 deletions
diff --git a/macros/latex/contrib/tagpdf/tagpdfdocu-patches.sty b/macros/latex/contrib/tagpdf/tagpdfdocu-patches.sty
index bc52a77e82..d0b90609a9 100644
--- a/macros/latex/contrib/tagpdf/tagpdfdocu-patches.sty
+++ b/macros/latex/contrib/tagpdf/tagpdfdocu-patches.sty
@@ -1,5 +1,5 @@
%\RequirePackage[enable-debug]{expl3}[2018/06/14]
-\ProvidesExplPackage {tagpdfdocu-patches} {2023-11-13} {0.98o}
+\ProvidesExplPackage {tagpdfdocu-patches} {2023-11-17} {0.98p}
{patches/commands for the tagpdf documentation}
\RequirePackage{etoolbox,xpatch}
@@ -68,10 +68,11 @@
\endblockenv
}
- % ======== marginnote ==========
+% ======== marginnote ==========
% TODO marginnote has a bug (a \par is missing) so it messes up tagging.
% but currently unneeded as we marked them up as artifacts anyway as they don't contain
% meaningful contents
+\renewcommand*{\mn@parboxrestore}{\tagpdfparaOff}%
\NewDocumentCommand\sidenote{m}
{
@@ -145,8 +146,20 @@
{bbox}{/O /Layout /BBox [0 0 100 100]}
}
-
-%====== floats ========
+% ======= maketitle
+
+\renewcommand\maketitle{%
+ \tagstructbegin{tag=Title}
+ \begin{center}%
+ \let\thanks\footnote
+ \makeatletter
+ \huge \@title \par
+ \vskip .5em
+ \@author \par
+ \vskip 1em%
+ \@date \par
+ \end{center}%
+ \tagstructend}
\endinput