latex3 / tagging-project

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

pdfmsym package incompatible #298

Open mbertucci47 opened 3 months ago

mbertucci47 commented 3 months ago

The pdfmsym package is incompatible with the math tagging code. The example

\DocumentMetadata
  {
    lang=en-US,
    pdfversion=2.0,
    pdfstandard=ua-2,
    testphase={phase-III,math,title,table,firstaid}
  }
\documentclass{article}

\input{pdfmsym}
\pdfmsymsetscalefactor{12}

\title{pdfmsym tagging test}

\begin{document}

text

\end{document}

errors with

! You can't use `\unless' before `\relax'.
<to be read again> 
\ifmeasuring@ 
l.739     \@wide@operator{suum}\sum{.52}{.6}

If math is removed, the error goes away.

u-fischer commented 3 months ago

Something that must be loaded with \input is not really a LaTeX package and I'm inclined to put that under no-support @davidcarlisle?

Apart from this it is imho a package bug: They are doing typesetting in the preamble by using \setbox. The error can be avoided by loading amsmath earlier, but naturally this doesn't mean that the math tagging is then good.

davidcarlisle commented 3 months ago

I'd be tempted just to delete it, since as you say it's not reallty a package. At some future time we may want more types thatn just class or package, eg pgf libraries or beamer themes or, as here, general tex input, but for now I'd simply not list it at all.

car222222 commented 3 months ago

But please keep a separate list of such rejects, for that future time when we need to consider them!

Please do not simply throw away information that has been gathered by the very useful efforts of, in particular, @mbertucci47 (with many, many thanks for all your work on this).

davidcarlisle commented 3 months ago

If it was type: tex and prioity: 9 it could sit in the yaml file waiting for the future to arrive....

FrankMittelbach commented 3 months ago

I'm for delete for the reasons I have outlined before. It is not helpful for the people that actually deal with the yaml file and with the test directories.

u-fischer commented 3 months ago

But please keep a separate list of such rejects, for that future time when we need to consider them!

@car222222 we have the issue here, so the info is not lost.

car222222 commented 3 months ago

I am not sure that having to search through all the issues is practical.

Why is it not good to use a new file, or files, to keep all the information concerning stuff in which Frank has no current interest (but others maybe will soon want to look at)?

car222222 commented 3 months ago

@FrankMittelbach OK, so you want to banish to oblivion everything in which you are not currently interested. Or not?

But can we not keep all the information currently being discovered in a distinct file, or files? Maybe these should be in a different location.

FrankMittelbach commented 3 months ago

@car222222 yes exactly, what else? If you want to maintain or collect the extra information I'm all for it, but I don't have the bandwidth to do it.

mbertucci47 commented 3 months ago

Sorry, I only added this because I noticed an answer on TeX-SX by egreg that used it, and a few other answers by the package's author, which usually means it will end up in someone's document somewhere. But if it should be removed from the yml file that's fine

FrankMittelbach commented 3 months ago

As it is not a LaTeX package and we do not have a category for .tex files I would suggest we leave it out of the yaml tables for now but we can leave this issue open in case we change our minds and for people that search for it under issues.

by the way, I just looked at the arxiv report covering 2 million+ articles and it isn't used there ever so it is clearly not widespread at least not in professional STEM docs