Undefined control sequence \current at color with texlive 2020

Detlev Droege droege at uni-koblenz.de
Mon Jan 4 20:24:35 CET 2021

Hi experts,

one of our internal document classes suddenly throws an
"Undefined control sequence" error after upgrading to TeXlive 2020.

I could boil it down to this minimal input:

  Some text.

running this with TeXlive 2020 latex/pdflatex/lualatex produces
$ pdflatex minifail.tex
This is pdfTeX, Version 3.14159265-2.6-1.40.21 (TeX Live 2020)
(preloaded format=pdflatex)
 restricted \write18 enabled.
entering extended mode
LaTeX2e <2020-10-01> patch level 3
L3 programming layer <2020-12-07> xparse <2020-03-03>

Document Class/Style 'dinbrief' - Version 1.73
University of Karlsruhe - 2000/03/02 12:49:21

*** dinbrief: Running in LaTeX 2e mode!
*** dinbrief: NFSS 2!
Document Class: dinbrief 2000/03/02 LaTeX2e class
! Undefined control sequence.
\set at color ...\@pdfcolorstack push{\current at color
                                                  }\aftergroup \reset at color
\@outputpage ...t {\vfil \color at hbox \normalcolor
                                                  \hb at xt@ \textwidth

\@opcol ...lumn \@outputdblcol \else \@outputpage
                                                  \fi \global
\@mparbottom \...
<output> ...specialoutput \else \@makecol \@opcol
\@whilesw \i...

\newpage ...prevdepth \fi \fi \vfil \penalty -\@M

\enddocument ->\@checkend {document} \newpage
                                              \begingroup \if at filesw
\ifnum ...

\end  ...ook {env/#1/end}}\csname end#1\endcsname
l.6 \end{document}



When switching to the 2019 installation (using macOS TeX Live Utility)
lualatex and pdflatex compile the same file without any error message.
Neither dinbrief.cls nor xcolor.sty have changed between 2019 and 2020,
thus it must be something else, but I can't find the reason.

Older stackexchange-entries point to problems with \AtBeginDocument,
but neither dinbrief.cls nor xcolor.sty use that.
This is not limited to macOS, we observed the same error on Linux.

Any help is appreciated
Detlev Droege, Uni Koblenz, FB Informatik | Fon:+49 261 287-2769
AGAS, Computational Visualistics          | Fax:+49 261 287-100-2769
P.O.Box 201602, 56016 Koblenz, Germany    | Email: droege at uni-koblenz.de

More information about the tex-live mailing list.