[XeTeX] XeTeX/LaTeX Smultron render command

Ryan Walklin ryanwalklin at gmail.com
Mon Oct 27 02:04:57 CET 2008


Hi,
I've been trying to come up with a robust TeX workflow using Smultron as an
editor, and have come up with the following command, based on the info at (
http://blog.mlux.de/?p=98 - down currently) which seems to work well on a
stock MacTeX install:

#!/bin/bash
PATH=/usr/texbin:$PATH
cd %%d
file=%%p
pdffile="${file%.tex}.pdf"
/usr/texbin/xelatex "${file}"
open "${pdffile}"

This will render the TeX document (in the above case using XeTeX) and open
it with the default application. Thought it might be useful to other users.

Regards,

Ryan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tug.org/pipermail/xetex/attachments/20081027/2ee91e06/attachment-0001.html 


More information about the XeTeX mailing list