<div dir="ltr"><div>There are much simpler ways of adding colour; see</div><div><a href="https://ctan.org/pkg/do-it-yourself-tex">https://ctan.org/pkg/do-it-yourself-tex</a></div><div>where I include examples using opmac</div><div>Roger H-F,</div><div>Ottawa<br></div></div><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Le sam. 6 juin 2020, à 07 h 41, Philip Taylor <<a href="mailto:P.Taylor@hellenic-institute.uk" target="_blank">P.Taylor@hellenic-institute.uk</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">In his 2005 /XeTeX notes/ <<a href="http://mirror.las.iastate.edu/tex-archive/systems/doc/xetex/XeTeX-notes.pdf" rel="noreferrer" target="_blank">http://mirror.las.iastate.edu/tex-archive/systems/doc/xetex/XeTeX-notes.pdf</a>>, Jonathan Kew writes :<br>
<br>
> 4.1 \special commands<br>
><br>
> 4.1.1 Color<br>
><br>
> The xdv2pdf driver supports several \specials to allow color to be used in<br>
> XeTeX documents. These are:<br>
><br>
> \special {x:textcolor=color}<br>
> \special {x:textcolorpush}<br>
> \special {x:textcolorpop}<br>
> \special {x:rulecolor=color}<br>
> \special {x:rulecolorpush}<br>
> \special {x:rulecolorpop}<br>
><br>
> where color is an RGB color value expressed as 6 hexadecimal digits.<br>
<br>
However, using this with today's DVIPDFMX driver, I obtain only a black rule.  I can obtained the desired effect using :<br>
<br>
> \special {color push}%<br>
><br>
> \special {color cmyk 0.17 0.18 0.79 0.0}%<br>
><br>
> \vrule<br>
><br>
> \special {color pop}%<br>
><br>
<br>
but would be interested to know if (and why) Jonathan's x:textcolor / x:rulecolor specials are no longer supported.<br>
<br>
/Philip Taylor/<br>
<br>
<br>
</blockquote></div>