<html theme="themeKey23rand80" iconset="color"><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head><body style="font-family: Lucida Sans;" text="#000000"><div 
style="font-family: Lucida Sans;">If I set TeXShop to use Tex + DVI 
instead of Pdftex, it does work.<br>Thank you.<br>Gérald<br><br><span>Gérald
 Tenenbaum a écrit le 13/6/22 à 12:29 :</span><br><blockquote 
type="cite" 
cite="mid:0eae6726-7f4f-d6be-76b3-9fd052ca6398@univ-lorraine.fr" 
style="font-family: Lucida Sans;"><meta http-equiv="Content-Type" 
content="text/html; charset=utf-8">
<div style="font-family: Lucida Sans;">Thanks.<br>The ouput of <br><div 
style="margin-left: 40px;">\input colordvi</div><div style="margin-left:
 40px;">

\Red{abc}, \Blue{def}, $\ldots$<br></div><div>is all black on my mac 
using TeXShop. <br>Regards,<br><br>Gérald<br></div><br><br><span>Laurence
 Finston a écrit le 13/6/22 à 12:14 :</span><br><blockquote type="cite" 
cite="mid:trinity-782013df-fc21-40d1-bfdf-640da541f0ba-1655115243284@3c-app-gmx-bs15"><meta
 http-equiv="content-type" content="text/html; charset=utf-8"><div 
style="font-family: Verdana;font-size: 12.0px;"><div style="font-family:
 Verdana;font-size: 12.0px;">
<div>Not sure if this will help.  I wasn't aware that eplain could (or 
should?) be used with LaTeX.  At any rate,</div>

<div> </div>

<div>\input colordvi</div>

<div>\Red{abc}, \Blue{def}, $\ldots$</div>

<div> </div>

<div>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.</div>

<div> </div>

<div>Laurence</div>

<div> 
<div> 
<div style="margin: 10.0px 5.0px 5.0px 10.0px;padding: 10.0px 0 10.0px 
10.0px;border-left: 2.0px solid rgb(195,217,229);">
<div style="margin: 0 0 10.0px 0;"><b>Gesendet:</b> Montag, 13. Juni 
2022 um 11:58 Uhr<br>
<b>Von:</b> "Gérald Tenenbaum" <a class="moz-txt-link-rfc2396E" 
href="mailto:gerald.ten@free.fr" moz-do-not-send="true"><gerald.ten@free.fr></a><br>
<b>An:</b> <a class="moz-txt-link-abbreviated" 
href="mailto:tex-eplain@tug.org" moz-do-not-send="true">tex-eplain@tug.org</a><br>
<b>Betreff:</b> [tex-eplain] colors</div>

<div>
<div style="font-family: Lucida Sans;color: rgb(0,0,0);">
<div style="font-family: Lucida Sans;">
<div style="font-family: Lucida Sans;">Hello,<br>
<br>
Here is a small file that used to work but doesn't anymore:<br>
<br>
\input eplain<br>
\beginpackages<br>
\usepackage{color}<br>
\endpackages<br>
\long\def\red#1{{\color{red}#1}}<br>
\red{ab}<br>
\bye<br>
<br>
<br>
The error message is:<br>
<br>
This is pdfTeX, Version 3.141592653-2.6-1.40.24 (TeX Live 2022) 
(preloaded format=pdftex)<br>
 restricted \write18 enabled.<br>
entering extended mode<br>
(./essai.tex (/usr/local/texlive/2022/texmf-dist/tex/eplain/eplain.tex)<br>
(/usr/local/texlive/2022/texmf-dist/tex/plain/graphics-pln/miniltx.tex)<br>
(/usr/local/texlive/2022/texmf-dist/tex/latex/graphics/color.sty<br>
(/usr/local/texlive/2022/texmf-dist/tex/latex/graphics-cfg/color.cfg)<br>
(/usr/local/texlive/2022/texmf-dist/tex/latex/graphics-def/pdftex.def)<br>
(/usr/local/texlive/2022/texmf-dist/tex/latex/graphics/mathcolor.ltx<br>
/usr/local/texlive/2022/texmf-dist/tex/latex/graphics/mathcolor.ltx:21: 
Undefined control sequence.<br>
l.21 \ExplSyntaxOn<br>
<br>
Many thanks for help.<br>
Regards,<br>
<br>
Gérald</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div></div></blockquote><br></div></blockquote><br></div></body></html>