Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tcolorbox and paratagging with pdflatex #44

Open
u-fischer opened this issue Nov 22, 2021 · 2 comments
Open

tcolorbox and paratagging with pdflatex #44

u-fischer opened this issue Nov 22, 2021 · 2 comments

Comments

@u-fischer
Copy link
Member

As a reminder: marks are lost in tcolorbox and so paratagging with pdflatex doesn't work yet in breakable tcolorboxes if a paragraph splits over pages.

\RequirePackage{pdfmanagement-testphase}
\DeclareDocumentMetadata{uncompress,
testphase=tagpdf,
debug={para=show,
log=v,uncompress},
uncompress,
activate=tagging,
}

\documentclass[]{book}
\usepackage{tcolorbox,lipsum}
\tcbuselibrary{breakable,skins}

\begin{document}

\begin{tcolorbox}[breakable,enhanced,frame hidden, interior hidden]
\lipsum[1-3]

%\pagebreak
\lipsum[1-3]
\end{tcolorbox}

%\ShowTagging{mc-marks / show }

\end{document}
@FrankMittelbach
Copy link
Member

maybe that issue should be reduced to basic LaTeX and then passed on to the tcolorbox maintainer, e.g., by just sticking in a \typout into the hooks.

@u-fischer
Copy link
Member Author

It should certainly be reduced and analysed more, but for now I only added a reminder. (tcolorbox looses also normal marks).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants