Closed bdoubrov closed 2 years ago
Well yes, the example surrounds every list body with the commands \TAGP
and \PGAT
which add a P-structure:
\newcommand\TAGP{\tagstructbegin{tag=P}\tagmcbegin{tag=P}}
\newcommand\PGAT{\tagmcend\tagstructend}
This naturally gives together with the automatic P-tagging now two P-structures. Remove the commands from the lists or redefine them to do nothing:
\newcommand\TAGP{}
\newcommand\PGAT{}
The comment at the begin actually tells you that:
% not really up-to-date, with paratagging one could simplify things.
but might be a good test file so perhaps should be kept open and added as such a thing when resolved
@FrankMittelbach the test file is still in tagpdf.
But I think it is not really clear from the example file that it is older and has been made when paratagging didn't fully worked yet. So I will rename the file to make clear that it is more or less obsolete and add a comment and make an example with paratagging.
Adding
paratagging
to the tagpdf setup in theex-patch-list.tex
sample results in the invalid structure tree. Namely, we get the following structure for each list item:Having P inside P is clearly invalid.