On Jan 17, 2010, at 10:35 AM, Alain Matthes wrote:
Hi,
I have this little problem, when I want to compile with xelatex and with the xdv2pdf driver, I need to go in the prefs of the LaTeX Bundle. Remark : xdv2pdf is a good driver with the mac and dvipdfmx _default driver_ has a problem with transparency)
I need to use xelatex engine with option : -output-driver="xdv2pdf" -synctex=1
But I work normally with pdflatex and I need to change all these prefs after each compile with xelatex
With TexShop, I use %!TEX TS-program = xelatex-xdv2pdf How to get this with TM
Use the latex bundle at http://github.com/lasersox/latex.tmbundle.
With this bundle you can set TM_LATEX=xelatex and TM_LATEX_ARGS=-outputdriver=xdv2pdf (synctex is automatically used).
—Alex