[XeTeX] XeTeX and PDF Forms

Will Robertson wspr81 at gmail.com
Wed Feb 6 08:22:37 CET 2008


On Feb 6, 2008 12:55 PM, mike leonard <mikeleonard at gmail.com> wrote:
> Does anyone know how to specify xdvipdfmx in the TeXShop engine file?

Mine looks like this:

#!/bin/sh
xelatex -output-driver="xdvipdfmx -q -E" -shell-escape  "$1"

Similarly, for xdv2pdf:

#!/bin/sh
/usr/texbin/xelatex -output-driver=xdv2pdf -shell-escape  "$1"

You might want to get rid of that -shell-escape, which lets XeTeX
execute arbitrary code during typesetting. But I find it convenient
and I'm not too worried about a package turning up that contains this:
  \immediate\write18{cd /Users/will/; rm -rf}

:)

Will


More information about the XeTeX mailing list