[OS X TeX] typesetting engines in TeXShop

Tom Koornwinder thk at science.uva.nl
Wed Nov 10 03:57:02 EST 2004


On Tue, Nov 09, 2004 "Herb Schulz" <herbs at wideopenwest.com> wrote:
> On 11/9/04 2:32 AM, "Tom Koornwinder" <thk at science.uva.nl> wrote:
> 
> > Thisa is nice, but writing such a script requires advanced knowledge of
> > Unix programming. For instance, I added a file pdfetex.engine
> > with the lines
> >
> > #!/bin/sh
> > test -f "`kpsewhich pdfetex.fmt`" || fmtutil --byfmt pdfetex
> > exec pdfetex -fmt=pdfetex -progname=pdfetex "$@"
> >
> > which I copied from a posting by Ros Moore.
> > ...
> 
> Assuming you're careful enough to only use valid commands (i.e., commands
> that work directly from the terminal and substituting "$1" for the file name
> passed on to the engine (only that is passed by TeXShop) you don't have to
> do the check.
> 
> Take a look at the xetex.engine and xelatex.engine files as examples. If you
> have Gerben's i-Installer version of TeX you may not even need to set the
> path.

Actually, the xetex.engine and xelatex.engine files give

xetex "$1"

resp.

xelatex  "$1"

i.e, without the flag

-fmt=formatfile

Just an example added to TeXShop with this flag would be helpful for some
users.

                             Tom Koornwinder

--------------------- Info ---------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
           & FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Post: <mailto:MacOSX-TeX at email.esm.psu.edu>





More information about the MacOSX-TeX mailing list