[XeTeX] tikz incompatible with xcolor's option dvipsnames ?

Herbert Schulz herbs at wideopenwest.com
Wed Aug 15 14:27:22 CEST 2007

On Aug 15, 2007, at 7:18 AM, Manuel Souto Pico wrote:

> Thanks for your reply, Jonathan!
> 2007/8/14, Jonathan Kew <jonathan_kew at sil.org>:
>> On 14 Aug 2007, at 6:02 pm, Manuel Souto Pico wrote:
>>> 2007/8/4, Jonathan Kew <jonathan_kew at sil.org>:
>>>> I believe the problem is that PGF (the graphics layer below TiKZ)
>>>> doesn't recognize xetex automatically. Your example works for me  
>>>> if I
>>>> add the line
>>>        \def\pgfsysdriver{pgfsys-dvipdfm.def}
>>>> before loading the TiKZ package; this explicitly sets the driver
>>>> for it.
>>> This didn't work for me.
>> If you're using a Mac, you'll need to ensure that you use the
>> xdvipdfmx output driver, not the xetex default of xdv2pdf, which
>> can't handle packages like PGF/TikZ. To do this, run xelatex with the
>> command line option
>>     xelatex -output-driver="xdvipdfmx -q -E" yourfile.tex
>> or create a new "XeLaTeX-xdvipdfmx.engine" file in ~/Library/TeXShop/
>> Engines that includes the -output-driver option, and then use this
>> within TeXShop.
> Yes, I had already created this engine.
>> Note that if you have a %!TEX TS-engine line in your source, this
>> will *override* any selections in TeXShop's menus, so you need to
>> specify the xelatex-xdvipdfmx engine there.
> I wasn't aware of this. Now I've changed the first line to:
> %!TEX TS-program = xelatex -output-driver="xdvipdfmx -q -E"
> but the problem persists (compiling with the engine XeLaTeX- 
> xdvipdfmx).
> ...


Once you've created the xelatex-xdvipdfmx.engine file you change the  
line in the source to use that engine,

%!TEX TS-program = xelatex-xdvipdfmx

so that engine will be used.

Good Luck,

Herb Schulz
(herbs at wideopenwest.com)

More information about the XeTeX mailing list