[OS X TeX] \documentclass undefined

Johan Almqvist johan at almqvist.net
Fri Aug 26 12:53:37 CEST 2005


On Aug 26, 2005, at 00:02, Vince Filby wrote:
> latex test:
> This is pdfeTeX, Version 3.141592-1.20a-2.2 (Web2C 7.5.3)
> output format initialized to PDF
> entering extended mode
> (./test.tex
> ! Undefined control sequence.
> l.1 \documentclass
>                   {article}
> ?

What file format is the .tex file saved as? I get the same problems  
with utf8 files if I save them from TextWrangler or BBEdit, unless i  
use the UTF-8 (no BOM) setting. The BOM seems to be a set of high- 
byte characters inserted at the beginning of the file, they are also  
visible when I open the file with vim.

Johan Almqvist
johan at almqvist.net

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