General ⇒ tex does not recognize \documentclass{article}
-
- Posts: 1
- Joined: Sat Sep 05, 2009 1:02 am
tex does not recognize \documentclass{article}
\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?
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
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}
...