latex3 / tagpdf

Tagging support code for LaTeX
60 stars 7 forks source link

array brackets are missing in luamode if there is a page break in the mc #13

Closed u-fischer closed 5 years ago

u-fischer commented 5 years ago

(relevant only for luamode)

\documentclass{article}
\usepackage{tagpdf}

\tagpdfsetup{tabsorder=structure,uncompress,activate-all,interwordspace=true}
\pagestyle{empty}
\thispagestyle{empty}
\textheight=40pt
\begin{document}
\tagstructbegin{tag=Document}
\tagstructbegin{tag=P}
\tagmcbegin{tag=P}
abc\\abc\\abc
abc\\abc
\tagmcend
\tagstructend
\tagstructend
\end{document}

shows

<< /Type /StructElem /S /P /P 4 0 R /K <</Type /MCR /Pg 7 0 R /MCID 0>> <</Type /MCR /Pg 12 0 R /MCID 0>> >>

but it should be

<< /Type /StructElem /S /P /P 4 0 R /K [<</Type /MCR /Pg 7 0 R /MCID 0>> <</Type /MCR /Pg 12 0 R /MCID 0>>] >>
u-fischer commented 5 years ago

resolve in version 0.60