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

Joshua Smith joshua.smith at ucsf.edu
Wed Dec 6 00:17:46 CET 2006


On Dec 5, 2006, at 3:13 PM, Maarten Sneep wrote:

> On 6-dec-2006, at 0: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
>
> You are asking TeXShop to use plain tex
>
>> ! Undefined control sequence.
>> l.3 \documentclass
>>                   {article}
>
> On a document which contains LaTeX commands. That will not work.
>
> Try
> %!TEX TS-program = latex

Yes, that clearly did it.  I just got confused with "TeX and  
Ghostscript" not being "LaTeX and Ghostscript."

Thanks,
Josh

------------------------- 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 macostex-archives mailing list