latex3 / tagging-project

Issues related to the tagging project
https://latex3.github.io/tagging-project/
LaTeX Project Public License v1.3c
23 stars 5 forks source link

sectioning commands reset para-tag to default #65

Open u-fischer opened 4 months ago

u-fischer commented 4 months ago

As Hn-tags do not allow P as child, the sectioning commands change the paratag and reset it later to the default (text-unit).

This is perhaps not the wanted behaviour if someone generally changes the paratag:

\DocumentMetadata{uncompress,testphase=phase-III}
\documentclass{article}

\begin{document}
\tagpdfsetup{add-new-tag=paragraph/P,paratag=paragraph}

some text

\section{section}

some text
\end{document}

image