I have some tex code that I used to compile successfully (actually, with some 3 non-important warnings) on Windows using MikTex. When I try to compile it on Ubuntu using:
tex composition-body.tex
I get the following errors:
rafid@MyLaptop:~/Desktop/Composition$ tex composition-body.tex
This is TeX, Version 3.1415926 (TeX Live 2009/Debian)
(./composition-body.tex
! Undefined control sequence.
l.6 \title
{SOME TITLE}
?
! Undefined control sequence.
l.10 \author
{SOME AUTHOR}
?
! Undefined control sequence.
l.40 \begin
{document}
?
! Undefined control sequence.
l.42 \maketitle
?
Any idea why is that happening? By the way, I had to press "Enter" after every error for the compile to proceed!
Just in case you need this, I am using the EuroGraphics template: http://www.eg.org/EG/Publications/guidelines
UPDATE: I tried what was proposed by Lian, and now I am getting these errors:
rafid@MyLaptop:~/Desktop/Composition$ pdflatex composition-body.tex
This is pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009/Debian)
restricted \write18 enabled.
entering extended mode
(./composition-body.tex
LaTeX2e <2009/09/24>
Babel <v3.8l> and hyphenation patterns for english, usenglishmax, dumylang, noh
yphenation, loaded.
(./composition-body.aux)
! LaTeX Error: The font size command \normalsize is not defined:
there is probably something wrong with the class file.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.40 \begin{document}
?
! Undefined control sequence.
l.42 \maketitle
?
! LaTeX Error: Environment abstract undefined.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.44 \begin{abstract}
?
! LaTeX Error: Environment classification undefined.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.59 \begin{classification}
% according to http://www.acm.org/class/1998/
?
\documentclassspecified on the top. Is it a part of a larger project? Do you also have a file likecomposition-header.texor something like that? How do you usually compile the file in miktex? – Jan Hlavacek Dec 12 '10 at 14:20