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

AMS class' \@starttoc incompatible #737

Open
mbertucci47 opened this issue Oct 17, 2024 · 0 comments
Open

AMS class' \@starttoc incompatible #737

mbertucci47 opened this issue Oct 17, 2024 · 0 comments
Labels
area: TOCs currently incompatible package or class package or class that doesn't work with current version of tagging code

Comments

@mbertucci47
Copy link
Contributor

The AMS classes overwrite the \@starttoc command, making \tableofcontents, \listoffigures, etc., incompatible with tagging.

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

\title{amsart tagging test}

\begin{document}

\tableofcontents
\listoffigures

\section{First section}
\subsection{First subsection}
\begin{figure}
Some figure
\caption{A figure caption}
\end{figure}
\end{document}

warns

Package tagpdf Warning: Parent-Child 'TOCI/pdf' --> 'text-unit/latex'.
(tagpdf)                Relation is not allowed (struct 8, /TOCI --> struct 9)
(tagpdf)                on line 1

and so on.

@FrankMittelbach FrankMittelbach added currently incompatible package or class package or class that doesn't work with current version of tagging code area: TOCs labels Oct 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: TOCs currently incompatible package or class package or class that doesn't work with current version of tagging code
Projects
None yet
Development

No branches or pull requests

2 participants