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

`adjustwidth` environment of changepage tagged as list #566

Open mbertucci47 opened 1 month ago

mbertucci47 commented 1 month ago

The adjustwidth environment of changepage is implemented as a list so the tagging is not right. Everything else in the package looks okay.

\DocumentMetadata
  {
    lang=en-US,
    pdfversion=2.0,
    pdfstandard=ua-2,
    testphase={phase-III,math,table,title,firstaid}
  }
\documentclass{article}
\usepackage[strict]{changepage}
\usepackage{kantlipsum,graphicx}

\title{changepage tagging test}

\begin{document}

\checkoddpage
\ifoddpage
odd
\else
even
\fi

\newpage

\checkoddpage
\ifoddpage
odd
\else
even
\fi

\kant[1]
\begin{adjustwidth}{}{-8em}
\kant[2-5]
\end{adjustwidth}
\begin{adjustwidth}{-4em}{-4em}
\kant[3]
\end{adjustwidth}

\begin{figure}
\begin{adjustwidth}{-2em}{-2em}
\includegraphics[alt={example}]{example-image}
\caption{Wide figure}
\end{adjustwidth}
\end{figure}

\clearpage
\changetext{-5\baselineskip}{10em}{-5em}{-5em}{}
\twocolumn
\kant[1-3]
\clearpage
\changetext{5\baselineskip}{-10em}{5em}{5em}{}
\onecolumn
\kant[1-3]
\changetext{0pt}{5em}{}{}{}%
\kant[4-5]
\changetext{0pt}{-5em}{}{}{}
\kant[6-7]

\end{document}
FrankMittelbach commented 3 weeks ago

somewhere between incompatible and partially compatible. Clearly tagging is wrong as a list environment is used just to get the measure right, but at least it gives not totally incorrect tagging. maybe call it partially with a note that tagging/implementation needs to be improved, but if it is already listed as incompatible (not checked) that is also fine.