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

error if math structure elements are created in fake math #764

Open
u-fischer opened this issue Nov 19, 2024 · 0 comments
Open

error if math structure elements are created in fake math #764

u-fischer opened this issue Nov 19, 2024 · 0 comments
Labels
fixed in release issue is fixed and will be deployed in the next release of package or kernel

Comments

@u-fischer
Copy link
Member

fake math like an url is not tagged as Formula but luamml tries to create math structure elements and fails:

\DocumentMetadata{testphase={phase-III,math},pdfversion=2.0}
\documentclass{book} 
\usepackage{url}
\tagpdfsetup{math/mathml/structelem}
\tagpdfsetup{math/mathml/luamml/load}
\begin{document}

\url{https://www.latex-project.org}

$a=b$

\end{document}
Package tagpdf Warning: Parent-Child 'P/pdf2' --> 'math/mathml'.
(tagpdf)                Relation is not allowed (struct 6, /text --> struct 7)
(tagpdf)                on line 3


! Package tagpdf Error: attribute /luamml_attr_1 is unknown
u-fischer added a commit to latex3/latex2e that referenced this issue Nov 26, 2024
* handle fakemath better with structelem latex3/tagging-project#764

* switch to tagging socket WIP

* update tagpdf to 0.99i

* move tagpdfparaOff (latex3/tagging-project#765)

* issue 765, WIPgit add -p  mtag-007 is wrong

* remove unneeded tagpdfparaOn

* testfiles for latex3/tagging-project#765

* different error

* from review
@u-fischer u-fischer added the fixed in release issue is fixed and will be deployed in the next release of package or kernel label Nov 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fixed in release issue is fixed and will be deployed in the next release of package or kernel
Projects
None yet
Development

No branches or pull requests

1 participant