[XeTeX] Is there an easy how-to use pgf with xelatex?

Axel E. Retif axel.retif at mac.com
Fri Mar 28 11:38:34 CET 2008


On  28 Mar, 2008, at 03:46, Peter Dyballa wrote:


>
> Am 27.03.2008 um 11:30 schrieb Søren Christensen:
>> I use komascript letter-class and have both graphicx and pgf- 
>> commands,
>> what should I specify for driver?
>
> You have two options:
>
> 	\documentclass[...,dvipdfm]{komacls}
>
> or
>
> 	\renewcommand{\pgfsysdriver}{pgfsys-dvipdfm.def}
>
> Then you need to use xdvipdfmx as output driver:
>
> 	xelatex -output-driver=xdvipdfmx

Prof. Tantau recommends using the pgfsys-xetex.def driver for Xe(La)TeX:

> This is a driver file for use with xe(la)tex followed by xdvipdfmx.  
> This driver supports the same operations as the dvipdfm driver,  
> except that remembering of pictures (inter-picture connections)  
> always works.

And the command he instructs is

\def\pgfsysdriver{<driver>}

*before* loading TikZ.

Best,

Axel


More information about the XeTeX mailing list