Hello Alain, It is simple, just replace pdflatex with Xelatex.
cd `dirname "$TM_LATEX_MASTER"` $xelatex --shell-escape -interaction=nonstopmode -file-line-error \ "$TM_FILEPATH" | perl -e 'while(<>){$f.=$_}$_=$f;s/([^\n])\n([^\n])/$1$2/g;print;' echo echo "Previewing..." echo $TM_FILEPATH | perl -e 'while(<>){s/.tex$/.pdf/;print;}' | xargs open -a Reader
If you want the file to show in Textmate's htmlbrowser rather then opening Reader, just use the existing Latex bundle command and replace pdflatex with Xelatex.
Cheers Robert
On Apr 11, 2005, at 8:34 AM, Alain Matthes wrote:
Hello
Can I use Textmate as a front end for XeTeX ?
Did somebody already make the experiment ?
Actually i use TM with pdfLateX and Acrobat Reader :
/usr/local/teTeX/bin/powerpc-apple-darwin-current/pdflatex --shell-escape -interaction=nonstopmode -file-line-error-style "$TM_FILEPATH" | perl -e 'while(<>){$f.=$_}$_=$f;s/([^\n])\n([^\n])/$1$2/g;print;' echo echo "Previewing..." echo $TM_FILEPATH | perl -e 'while(<>){s/.tex$/.pdf/;print;}' | xargs open -a Reader
I need the -sheel-escape option because i work with pstricks and postscript . It's fine and i've no problem to get the PDF files.
Thanks
Alain Matthes ______________________________________________________________________ For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate