<br><br><div><span class="gmail_quote">On 7/26/07, <b class="gmail_sendername">Mark Eli Kalderon</b> <<a href="mailto:eli@markelikalderon.com">eli@markelikalderon.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
> I just checked in a fix.  I was putting one too many levels of shell quoting around the file name (to protect against spaces in the file name) the other version of tex seemed to accomodate the quotes just fine but not xelatex.  Thanks.  I don't use xelatex at all so I'm glad you are giving it a workout.
<br><br>Thanks Brad, that worked. But I am experiencing some more xelatex<br>wierdness. The command seems to choke when the url package is loaded<br>(see below for the error) with the result that I get garbage in the<br>first page. This didn't happen with the old command; it doesn't happen
<br>when the document is typeset from the command line; and documents with<br>the url package typeset fine when using pdflatex.</blockquote><div><br>Mark,<br></div><br>I added a print statement and switching from pdflatex to xelatex only changes the first part of the command, so I'm not sure what is going on.
<br><div><br>Command is:  pdflatex -interaction=nonstopmode -file-line-error-style  "mlu.tex"<br>Command is:  xelatex -interaction=nonstopmode -file-line-error-style  "mlu.tex"<br><br><br><br>I do know that if I add \usepackage{url} I get the same errors you do about a missing \begin document.  This makes me think that there is something in the environment or some other option that should be used to make the url package behave with xelatex.
<br><br> Do you have some TM_LATEX_OPTIONS set in the project where you use xelatex?<br><br>I've looked through the old script and I cannot see where there is any special handling of xelatex other than automatically figuring out when it should be used.
<br><br>Maybe someone who added support for xelatex in the older version has an idea??<br></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
While I am at it, I have a UI question/comment. It seems odd that the<br>option to configure the typesetting engine appears when you typeset a<br>document. This makes switching engines cumbersome since you have to<br>typeset the document with the wrong engine before configuring. (Though,
<br>of course, using the appropriate %!TEX directives solves this problem,<br>but still...)</blockquote><div><br>There is a bundle command called Configure  which also brings up the configuration window, so you don't have to typeset a document to find the Configure button, you can choose it from the bundle menu before you typeset.
<br><br><br> Brad<br><br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>______________________________________________________________________
<br>For new threads USE THIS: <a href="mailto:textmate@lists.macromates.com">textmate@lists.macromates.com</a><br>(threading gets destroyed and the universe will collapse if you don't)<br><a href="http://lists.macromates.com/mailman/listinfo/textmate">
http://lists.macromates.com/mailman/listinfo/textmate</a><br></blockquote></div><br><br clear="all"><br>-- <br>Brad Miller<br>Assistant Professor, Computer Science<br>Luther College