latex3 / tagpdf

Tagging support code for LaTeX
60 stars 7 forks source link

improve paratagging if nested boxes are involved #43

Open u-fischer opened 3 years ago

u-fischer commented 3 years ago
\RequirePackage{pdfmanagement-testphase}
\DeclareDocumentMetadata
 {}

\documentclass{article}
\usepackage{varwidth}
\usepackage{tagpdf}
\tagpdfsetup{paratagging,paratagging-show}
\AddToHook{para/begin}{\typeout{begin}}
\AddToHook{para/end}{\typeout{end}}
\begin{document}

abc \parbox{3cm}{zzz} cde

\end{document}

gives warnings about nested mc.

The question is if this should be resolved in the hook code, or in the box definitions ...