[OS X TeX] LaTeXit and output drivers
Alan Munn
amunn at msu.edu
Fri Jul 27 02:07:07 CEST 2007
At 11:33 PM +0200 7/26/07, Peter Dyballa wrote:
>Am 26.07.2007 um 18:26 schrieb Alan Munn:
>
>>I'm trying to get LaTeXit to work with xetex,
>>but I need to use the xdvipdfmx output driver.
>
>Why do you try this?
The main reason I use LaTeXit is to put
linguistic tree diagrams into Powerpoint
presentations. Why Powerpoint and not beamer?
Well, I use beamer for my own presentations, but
students and others in our lab use Powerpoint.
They can use LaTeXit to draw nice trees without
actually having to know any LaTeX. If I can use
xelatex as the engine, I can also match fonts
with the regular Mac fonts.
The package that I use (qtree) doesn't work with
xelatex unless I use the xdvipdfmx driver. (It
draws the labels and not the branches, but
doesn't produce errors.)
>
>>Is there a way to get LaTeXit to do that?
>
>I'd recommend to use a shell script. I did not
>look into the source of LaTeXiT, but I think the
>"paths" in the preferences are not allowed to
>have "add-ons." And there is one problem:
>LaTeXiT uses a complicated way to invoke the TeX
>programme:
>
> <programme> -file-line-error -interaction nonstopmode <file>
>
>So it's necessary to update the engine file a
>bit! This line does the job for me:
>
> xelatex -output-driver=xdvipdfmx $*
I tried this and it doesn't seem to work.
With the following shell script:
#!/bin/tcsh
xelatex -output-driver=xdvipdfmx $*
I get this error:
--------------- processing XeLaTeX-xdvipdfmx ---------------
cd
/private/var/tmp/folders.501/TemporaryItems/latexit-1.14.3
&& /Users/alan/Desktop/XeLaTeX-xdvipdfmx
-file-line-error -interaction nonstopmode
/private/var/tmp/folders.501/TemporaryItems/latexit-1.14.3/latexit-1.tex
1>|/private/var/tmp/folders.501/TemporaryItems/latexit-1.14.3/latexit-1.err
2>|/private/var/tmp/folders.501/TemporaryItems/latexit-1.14.3/latexit-1.err
>
>
>>I also tried pointing the xelatex command to
>>the appropriate TeXShop engine, but that didn't
>>work either.
>
>How did you try? What was the error message?
>Have you already made the preamble XeLaTeX
>compatible?
Yes, the preamble is correct. When I pointed the
LaTeXit to the xdvipdfmx engine inside
~/Libray/TeXShop/Engines, I get the following
message:
--------------- processing XeLaTeX-xdvipdfmx.engine ---------------
cd
/private/var/tmp/folders.501/TemporaryItems/latexit-1.14.3
&&
/Users/alan/Library/TeXShop/Engines/XeLaTeX-xdvipdfmx.engine
-file-line-error -interaction nonstopmode
/private/var/tmp/folders.501/TemporaryItems/latexit-1.14.3/latexit-1.tex
1>|/private/var/tmp/folders.501/TemporaryItems/latexit-1.14.3/latexit-1.err
2>|/private/var/tmp/folders.501/TemporaryItems/latexit-1.14.3/latexit-1.err
This is XeTeXk, Version 3.141592-2.2-0.996 (Web2C 7.5.6)
file:line:error style messages enabled.
%&-line parsing enabled.
**
! End of file on the terminal... why?
--------------- error while processing XeLaTeX-xdvipdfmx.engine ---------------
--
Alan Munn
amunn at msu.edu
Department of Linguistics
and Germanic, Slavic, Asian and African Languages Fax. +1-517-432-2736
Michigan State University, East Lansing MI 48824 Tel. +1-517-355-7491
------------------------- Helpful Info -------------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
TeX FAQ: http://www.tex.ac.uk/faq
List Archive: http://tug.org/pipermail/macostex-archives/
List Reminders & Etiquette: http://www.esm.psu.edu/mac-tex/list/
More information about the macostex-archives
mailing list