[tex-eplain] colors

Gérald Tenenbaum gerald.tenenbaum at univ-lorraine.fr
Mon Jun 13 12:29:09 CEST 2022


Thanks.
The ouput of
\input colordvi
\Red{abc}, \Blue{def}, $\ldots$
is all black on my mac using TeXShop.
Regards,

Gérald


Laurence Finston a écrit le 13/6/22 à 12:14 :
> Not sure if this will help.  I wasn't aware that eplain could (or 
> should?) be used with LaTeX.  At any rate,
> \input colordvi
> \Red{abc}, \Blue{def}, $\ldots$
> works with plain and eplain.  I'm not sure whether eplain is needed.  
> colordvi.tex belongs to dvips. You can use dvipdfmx to make pdf.
> Laurence
> *Gesendet:* Montag, 13. Juni 2022 um 11:58 Uhr
> *Von:* "Gérald Tenenbaum" <gerald.ten at free.fr>
> *An:* tex-eplain at tug.org
> *Betreff:* [tex-eplain] colors
> 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/tex-eplain/attachments/20220613/3b8fce5f/attachment.html>


More information about the tex-eplain mailing list.