MiKTeX and proTeXtRealy basic installation question

Information and discussion about MikTeX distribution for Windows and the related proTeXt: Installing, updating, configuring
Post Reply
rgd20
Posts: 3
Joined: Sun Mar 23, 2008 10:56 pm

Realy basic installation question

Post by rgd20 »

I have the latest versions of MikTeX and WinEdt, and to test the installation I tried to compile the supplied example thesis.

The complier failed on line 8 (the first uncommented line)


\documentclass[12pt]{report}

The error report is:

!Undefined control sequence

1.8 \documentclass
{report}

I have no idea how to separately install document clasess.

This is the third box I have installed this on and I have never got this problem before.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Re: Realy basic installation question

Post by localghost »

Please post the complete source and log file here as attachment.


Best regards
Thorsten¹
rgd20
Posts: 3
Joined: Sun Mar 23, 2008 10:56 pm

Realy basic installation question

Post by rgd20 »

localghost wrote:Please post the complete source and log file here as attachment.


Best regards
Thorsten¹


I can't get the log file as an output but in it's entirety (copying from the display)
C:\Documents and Settings\dsgiplc.YOUR-4105E587B6\Application Data\WinEdt\Samples\Thesis\Thesis.log: Sun 23-Mar-2008 21:08

This is TeX version 3.141592 (MikTeK 2.7) (preloaded format=tex 2008.3.23) 23 MAR 2008 21.08
**thesis.tex
(thesis.tex
! Undefined control sequence.
1.8 \documentclass
{report}
?

....and I've appended the source code that I'm trying to compile.
Attachments
Thesis.tex
(5.08 KiB) Downloaded 279 times
balf
Posts: 158
Joined: Sat Jan 12, 2008 1:11 am

Re: Realy basic installation question

Post by balf »

Are you sure you didn't compile with plain TeX?

B.A.
User avatar
Stefan Kottwitz
Site Admin
Posts: 10321
Joined: Mon Mar 10, 2008 9:44 pm

Realy basic installation question

Post by Stefan Kottwitz »

Hi,

that really looks like plain tex, just compare with my last log:
This is pdfeTeX, Version 3.141592-1.30.5-2.2 (Web2C 7.5.5) (format=pdflatex 2008.3.21) 23 MAR 2008 19:49

If I use latex instead of pdflatex:
This is pdfeTeX, Version 3.141592-1.30.5-2.2 (Web2C 7.5.5) (format=latex 2008.3.21) 24 MAR 2008 01:37

look at the format. Of course plain tex doesn't know the latex document classes.

Stefan
rgd20
Posts: 3
Joined: Sun Mar 23, 2008 10:56 pm

Re: Realy basic installation question

Post by rgd20 »

Thank you for pointing out my idiocy... In my defense it was quite late and i was tired, but really I was a fool.

Thanks!
Post Reply