I have file test.text with the following contents.
\documentclass{article}
\begin{document}
Small is beautiful.
\end{document}
When I run tex
#tex test.tex
This is TeX, Version 3.141592 (Web2C 7.5.6)
(./test.tex
! Undefined control sequence.
l.1 \documentclass
{article}
?
! Undefined control sequence.
l.2 \begin
{document}
?
[1] )
Output written on test.dvi (1 page, 252 bytes).
Transcript written on test.log.
I can't see anything wrong with my file it seems like some thing is mising for tex any ideas?
General ⇒ tex does not recognize \documentclass{article}
-
- Posts: 1
- Joined: Sat Sep 05, 2009 1:02 am
NEW: TikZ book now 40% off at Amazon.com for a short time.

tex does not recognize \documentclass{article}
These lines suggest that you are trying to compile a LaTeX document using TeX. Try compiling using latex or pdflatex instead.powertoaster wrote: This is TeX, Version 3.141592 (Web2C 7.5.6)
(./test.tex
! Undefined control sequence.
l.1 \documentclass
{article}
...
1,1,2,3,5,8,13,21,34,55,89,144,233,...