colors
Gérald Tenenbaum
gerald.ten at free.fr
Mon Jun 13 14:00:33 CEST 2022
Thank you.
Actually, I found up that it is the update of the package graphics that
broke the use of color, that was previously known to work with eplain. I
reverted graphics to the previous version and color works again.
Regards,
Gérald
David Carlisle a écrit le 13/6/22 à 13:00 :
>
> You should I think be able to add
>
>
> \ifx\mathcolor\@undefined
> % simplified version of \mathcolor
> \protected\def\mathcolor{\begingroup\@ifnextchar[\mlx at mathcolora\mlx at mathcolorb}
> \long\def\mlx at mathcolora[#1]#2#3{\color[#1]{#2}#3\endgroup}
> \long\def\mlx at mathcolorb#1#2{\color{#1}#2\endgroup}
> \fi
>
> to the end of miniltx.ltx If that works for your real documents I'll
> arrange an update at ctan
>
> David
>
>
> On Mon, 13 Jun 2022 at 10:56, Gérald Tenenbaum <gerald.ten at free.fr
> <mailto:gerald.ten at free.fr>> wrote:
>
> Hello,
>
> Here is a small file that used to work but doesn't anymore:
>
> \input eplain
> \beginpackages
> \usepackage{color}
> \endpackages
> \long\def\red#1{{\color{red}#1}}
> \red{ab}
> \bye
>
>
> The error message is:
>
> This is pdfTeX, Version 3.141592653-2.6-1.40.24 (TeX Live 2022)
> (preloaded format=pdftex)
> restricted \write18 enabled.
> entering extended mode
> (./essai.tex
> (/usr/local/texlive/2022/texmf-dist/tex/eplain/eplain.tex)
> (/usr/local/texlive/2022/texmf-dist/tex/plain/graphics-pln/miniltx.tex)
> (/usr/local/texlive/2022/texmf-dist/tex/latex/graphics/color.sty
> (/usr/local/texlive/2022/texmf-dist/tex/latex/graphics-cfg/color.cfg)
> (/usr/local/texlive/2022/texmf-dist/tex/latex/graphics-def/pdftex.def)
> (/usr/local/texlive/2022/texmf-dist/tex/latex/graphics/mathcolor.ltx
> /usr/local/texlive/2022/texmf-dist/tex/latex/graphics/mathcolor.ltx:21:
> Undefined control sequence.
> l.21 \ExplSyntaxOn
>
> Many thanks for help.
> Regards,
>
> Gérald
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://tug.org/pipermail/texhax/attachments/20220613/5ca6bb5b/attachment.html>
More information about the texhax
mailing list.