[XeTeX] colour \specials not working with xdvipdfmx driver?

Jonathan Kew jonathan_kew at sil.org
Mon Sep 10 13:04:06 CEST 2007


On 10 Sep 2007, at 3:51 am, caapv 208 wrote:

> --- Paul Howson <paul-lists at tdgq.com.au> wrote:
>
>> Another fault has arisen with xetex on linux (Red
>> Hat).
>>
>> These two \special commands colourise rules or type:
>>
>> \special{x:rulecolor=<hex rgb value>}
>> \special{x:textcolor=<hex rgb value>}
>>
>> where <hex rgb value> is a 6 digit hex color value.
>>
>> They work fine with xetex on the Mac.
>>
>> On linux, with the xdvipdfmx driver, no errors are
>> reported, but the
>> commands have no effect -- i.e. subsequent rules or
>> text are not
>> coloured.
>>
>
> They are not yet implemented.  JFYI

I said a few days ago that these were supported in xdvipdfmx, but I  
was mis-remembering. Apologies for the confusion!

The dvips-style "color" special should work (e.g., \special{color rgb  
R G B} where R G B are decimal values in the range 0.0 - 1.0).

JK



More information about the XeTeX mailing list