colors

Gérald Tenenbaum gerald.ten at free.fr
Mon Jun 13 17:01:16 CEST 2022


Well, I also use LaTeX.
Is it possible to find out what made the last update incompatible with 
eplain?

David Carlisle a écrit le 13/06/2022 à 15:50 :
>
>
> On Mon, 13 Jun 2022 at 13:00, Gérald Tenenbaum <gerald.ten at free.fr 
> <mailto:gerald.ten at free.fr>> wrote:
>
>     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
>
>
> That may be OK on a personal installation if you don't use latex, but 
> I can't really recommend it. It's an untested and unsupportable 
> configuration and would break color and graphics support in latex
>
> David.
>
>
>     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/dfc2e31c/attachment-0001.html>


More information about the texhax mailing list.