[XeTeX] XeTeX and PDF Forms

Bruno Voisin bvoisin at mac.com
Wed Feb 6 08:25:39 CET 2008


Le 6 févr. 08 à 03:25, mike leonard a écrit :

> Does anyone know how to specify xdvipdfmx in the TeXShop engine file?
> This is what it looks like:
>
> #!/bin/tcsh
>
> set path= ($path /usr/local/teTeX/bin/powerpc-apple-darwin-current
> /usr/local/bin)
> xelatex  "$1"
>
> but I'm not sure what to change.

Beware (for Linux or Windows folks): the following is Mac-specific.

TeXShop should have created a folder ~/Library/TeXShop. Inside, go to  
Engines/Inactive/XeTeX/ and move its content to Engines/ (namely, two  
levels up in the folder hierarchy).

Then launch TeXShop and just select one of the two new engines: XeTeX- 
xdvipdfmx (for plain TeX) or XeLaTeX-xdvipdfmx (for LaTeX).

You'll see that XeLaTeX-xdvipdfmx.engine contains:

#!/bin/tcsh

set path= ($path /usr/texbin /usr/local/bin)
xelatex -output-driver="xdvipdfmx -q -E" "$1"

By the way, the path in the script you propose won't work: /usr/local/ 
teTeX/bin/powerpc-apple-darwin-current is for the old deprecated teTeX- 
based gwTeX distro; for recent TeXLive-based MacTeX or gwTeX, path  
should be /usr/texbin.

Bruno Voisin


More information about the XeTeX mailing list