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

Maarten Sneep maarten.sneep at xs4all.nl
Wed Dec 6 00:13:51 CET 2006


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

Maarten
------------------------- 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