LaTeX Books


LaTeX Beginners Guide

Limited discount 50%
coupon code tDRet6Y

click here to read the whole story

LaTeX users online

In total there are 16 users online :: 1 registered, 0 hidden and 15 guests (based on users active over the past 5 minutes)
Most users ever online was 1327 on Tue Nov 05, 2013 7:11 pm

Users browsing this forum: Google [Bot] and 15 guests

! Undefined control sequence \documentclass Topic is solved

LaTeX Forum: General

Add tags LaTeX specific issues not fitting into one of the other forums of this category.

Postby ahmed on Fri Nov 21st, 2008

Hi everybody , can anybody help me??
when iam trying to compile the following tex file that iam sure that it is's syntax is correct, i found this errors

Iam using fedora 7

Code: Select all  •  Open in writeLaTeX
\usepackage{mathpazo,graphics,graphicx,amsopn,url, epsf}
\usepackage{hyperref }
\title{Climate Change
%%%%%% Begin document%%%%%%%
crash course on climate change
\chapter{Introduction to  climate}
\section{whats is the climat change parameters ?}
\subsection{Temperature  parameter}
\section{whats is the climat change components ?}

        we care in our study for climat that we know most imprtant climat paramerter
        the more imporatnt Parameter is
\item Temperature
\item Preciptation
        I=\sigma t^4
\end {equation}
\chapter{EL Nino La Nina}
\section{why El Nino and La Nina ?}
It is one of the famous
\chapter{climate of nile flood
%%%%%%End  Document

the errors

Code: Select all  •  Open in writeLaTeX
This is pdfeTeX, Version 3.141592-1.21a-2.2 (Web2C 7.5.4)
entering extended mode
! Undefined control sequence.
l.1 \documentclass
! Undefined control sequence.
l.2 \usepackage
! Undefined control sequence.
l.3 \usepackage
! Undefined control sequence.
l.4 \usepackage
! Undefined control sequence.
l.5 \usepackage
               {mathpazo,graphics,graphicx,amsopn,url, epsf}
! Undefined control sequence.
l.6 \usepackage
! Undefined control sequence.
l.7 \usepackage
! Undefined control sequence.
l.8 \usepackage
               {hyperref }
! Undefined control sequence.
l.9 \usepackage
! Undefined control sequence.
l.10 \usepackage
Last edited by ahmed on Fri Nov 21st, 2008, edited 2 times in total.
Posts: 7
Joined: Fri Nov 21st, 2008

Postby localghost on Fri Nov 21st, 2008

You probably run (pdf)tex on your source instead of (pdf)latex. For me your code compiles smoothly.

Best regards and welcome to the board
LaTeX Community Moderator
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes

¹ System: openSUSE 13.1 (Linux 3.11.10), TeX Live 2013 (vanilla), TeXworks 0.5 (r1351)
² Posting stopped indefinitely due to offenses
User avatar
Site Moderator
Posts: 9218
Joined: Fri Feb 2nd, 2007
Location: Braunschweig, Germany

Postby ahmed on Sat Nov 22nd, 2008

I used pdflatex instead of pdftex and it working so well
thanks Thorsten :D
Posts: 7
Joined: Fri Nov 21st, 2008

Return to General

LaTeX users online

Users browsing this forum: Google [Bot] and 15 guests