[XeTeX] Colour specials for XeTeX

Zdenek Wagner zdenek.wagner at gmail.com
Sat Jun 6 14:04:25 CEST 2020


Hi all,

AFAIK xdv2pdf was available for Mac OS X only, it was not available
for other platforms while dvipdfmx is another driver which is
cross-platform.

so 6. 6. 2020 v 13:42 odesílatel Philip Taylor
<P.Taylor at hellenic-institute.uk> napsal:
>
> In his 2005 /XeTeX notes/ <http://mirror.las.iastate.edu/tex-archive/systems/doc/xetex/XeTeX-notes.pdf>, Jonathan Kew writes :
>
> > 4.1 \special commands
> >
> > 4.1.1 Color
> >
> > The xdv2pdf driver supports several \specials to allow color to be used in
> > XeTeX documents. These are:
> >
> > \special {x:textcolor=color}
> > \special {x:textcolorpush}
> > \special {x:textcolorpop}
> > \special {x:rulecolor=color}
> > \special {x:rulecolorpush}
> > \special {x:rulecolorpop}
> >
> > where color is an RGB color value expressed as 6 hexadecimal digits.
>
> However, using this with today's DVIPDFMX driver, I obtain only a black rule.  I can obtained the desired effect using :
>
> > \special {color push}%
> >
> > \special {color cmyk 0.17 0.18 0.79 0.0}%
> >
> > \vrule
> >
> > \special {color pop}%
> >
>
> but would be interested to know if (and why) Jonathan's x:textcolor / x:rulecolor specials are no longer supported.
>
> /Philip Taylor/
>

Zdeněk Wagner
http://ttsm.icpf.cas.cz/team/wagner.shtml
http://icebearsoft.euweb.cz



More information about the XeTeX mailing list.