latex3 / tagging-project

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

tocdata package incompatible #557

Open mbertucci47 opened 1 month ago

mbertucci47 commented 1 month ago

Data added with the tocdata package is tagged as Artifact (not necessarily an issue, not sure) and suppressed entirely if in line with the dotted line as it is with lof or lot.

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

\usepackage{tocdata}
\usepackage{hyperref}

\title{tocdata tagging test}

\begin{document}

\tableofcontents

\listoffigures

\tocdata{toc}{Some author}
\section{Some section}
\subsection{Some subsection}

\tocdata{toc}{Another author}
\section{Another section}

\begin{figure}
Content.
\tocdata{lof}{Some author}
\caption{Some figure}
\end{figure}

\begin{figure}
Content.
\captionauthor{Some figure}{Some}{Author}
\end{figure}

\end{document}

The package does correctly warn

Package tocdata Warning: Could not patch LaTeX core \@dottedtocline.
(tocdata)                Authors may not appear in TOC, LOF.
FrankMittelbach commented 4 weeks ago

to me that sounds as if it should be labeled as currently incompatible