# [tex-live] pdflatex works - but tex does not ?!

Axel S. bumbelejer at yahoo.de
Mon Jul 18 17:32:52 CEST 2011

Hello,

I could need some help as I cannot solve the following problem:

With pdflatex I can create a pdf-file but when I execute tex every command is rejected. The log starts like this:

LOG FILE :
This is TeX, Version 3.1415926 (TeX Live 2010) (format=tex 2011.2.22) 18 JUL 2011 17:25
**aaa.tex
(./aaa.tex
! Undefined control sequence.
l.1 \documentclass
[10pt,a4paper]{letter}
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., \hobx'), type I' and the correct
spelling (e.g., I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined...

I'm using Texmaker on openSUSE 11.4. Can anyone help me, please?

Regards
Axel

P.S. Here is the simple example that produces the trouble above:

\documentclass[10pt,a4paper]{letter}
\usepackage[latin1]{inputenc}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\begin{document}
\begin{letter}{name and address of the recipient}
\opening{saying hello}

`