plain TeX: undefined control sequence \protected

Rodolfo Medina rodolfo.medina at gmail.com
Fri Dec 2 14:27:03 CET 2022


David Carlisle <d.p.carlisle at gmail.com> writes:

> having said that, graphics-pln does mostly avoid  \protected so you could
> change line 548 from
>
>  \protected\def\mathcolor
>
> to
>
> \csname protected\endcsname\def\mathcolor
>
> I'll make a ctan update


Well, thanks, but then I get a different error:

$ tex test
This is TeX, Version 3.141592653 (TeX Live 2022/Debian) (preloaded format=tex)
(./test.tex (/usr/share/texlive/texmf-dist/tex/plain/graphics-pln/color.tex
(/usr/share/texlive/texmf-dist/tex/plain/graphics-pln/miniltx.tex)
(/usr/share/texlive/texmf-dist/tex/latex/graphics/color.sty
(/usr/share/texlive/texmf-dist/tex/latex/graphics-cfg/color.cfg)
(/usr/share/texlive/texmf-dist/tex/latex/graphics-def/dvips.def)
(/usr/share/texlive/texmf-dist/tex/latex/graphics/mathcolor.ltx
! Undefined control sequence.
l.18 \ifcsname
               mathcolor\endcsname \endinput \fi
? 


Rodolfo



More information about the texhax mailing list.