latex3 / tagging-project

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

With tagging activated in document some "environment undefined" error messages have lost spaces #57

Closed jfbu closed 2 days ago

jfbu commented 5 months ago
\DocumentMetadata{
 uncompress,
 pdfversion=1.7,
 lang=en-US,
 testphase=phase-III
}
\documentclass{article}
\begin{document}

\begin{longtable}{c}
a
\endhead
b
\end{longtable}
\end{document}

produces

! LaTeX Error: Environmentlongtableundefined.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...                                              

l.10 \begin{longtable}
                      {c}

Similarly with

\DocumentMetadata{
 uncompress,
 pdfversion=1.7,
 lang=en-US,
 testphase=phase-III
}
\documentclass{article}
\begin{document}
\begin{framed}
  C
\end{framed}
\end{document}

! LaTeX Error: Environmentframedundefined.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...                                              

l.9 \begin{framed}
u-fischer commented 5 months ago

Nice catch. The block code redefines \begin and forgot the spaces.

FrankMittelbach commented 2 weeks ago

fix is distributed