latex3 / tagging-project

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

fancyvrb issues #741

Open mbertucci47 opened 1 month ago

mbertucci47 commented 1 month ago

After https://github.com/latex3/latex2e/pull/1485, just wanted to collect some issues here.

not tagged as code

Verbatim and its derivatives are not tagged as <Code> like verbatim.

\DocumentMetadata
  {
    lang=en-US,
    pdfversion=2.0,
    pdfstandard=ua-2,
    testphase={phase-III,table,title,firstaid}
  }
\documentclass{article}
\usepackage{fancyvrb}
\begin{document}
\begin{Verbatim}
First verbatim line.
Second verbatim line.
\end{Verbatim}
\begin{verbatim}
First verbatim line.
Second verbatim line.
\end{verbatim}
\end{document}

\VerbatimFootnotes errors

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

\begin{document}
\VerbatimFootnotes
We can put verbatim\footnote{\verb+_Yes!_+} text in footnotes.
\end{document}

label is not tagged

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

\begin{document}
\begin{Verbatim}[frame=single,label=My text]
First verbatim line.
Second verbatim line.
\end{Verbatim}
\end{document}

CenterExample of fancyvrb-ex errors

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

\begin{document}
\begin{CenterExample}
First verbatim line.
Second verbatim line.
Third verbatim line.
\end{CenterExample}
\end{document}