[OS X TeX] %!TEX TS-program = tex

Talal Al-Azem talazem at gmx.net
Tue Dec 5 18:53:02 EST 2006


Funny, because I just had that same problem today, only with putting  
%!Tex TS-program=xelatex. I didn't have a problem running the xelatex  
typesetting, but I did have a problem getting BibTex to work from  
within TexShop, and could figure out why...until it crossed my mind  
to erase that line from the preamble. So watch out for it not just in  
the TeX/LaTeX command, but also when running other elements as well.  
I think it's better to just have TeXShop (or whatever you use)  
default to a certain system, than to place those lines at the top,  
due to these side effects. Are there any situations where such a line  
should definitely be in the preamble?


On 5 Dec 2006, at 23:10, Joshua Smith wrote:

> Hello all,
> I would like to force TeXShop to typeset a particular document with  
> TeX + Ghostscript always, so according to the TeXShop help menu, I  
> have added the following line to the top of my document:
> %!TEX TS-program = tex
> \documentclass{article}
> \usepackage{amsmath}
> However, when I try to typeset the document, I get the following  
> error message:

------------------------- 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 Archive: http://tug.org/pipermail/macostex-archives/

More information about the MacOSX-TeX mailing list