GeneralOdd Compilation Error on Windows Miktex

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
minger
Posts: 4
Joined: Fri May 08, 2009 4:52 pm

Odd Compilation Error on Windows Miktex

Post by minger »

Hi guys, I am having a very troubling problem. I am working on a thesis, and was using the metathesis template. I had it loaded onto a linux box, which I was doing all my work through an ssh client. Everything was fine, it was kind of a pain in the ass, but it worked.

Lately, I've wanted some better user interface, so I've wanted to pull the project down to my windows machine, and load it into LEd editor. So, I created a project and added all of the files, and when I went to build, I get this seemingly impossible error:

Code: Select all

! Undefined control sequence.
l.1 \chapter
          {Introduction}
?
Which is just defining the start of the first chapter. I'm not sure why it would bomb out there. So anyways, I'm looking through the main file and I see that I have left out a \mainmatter before the start of my chapter include statements. I put that command in there, try to rebuild and sure enough, it starts to go.

Of course I have an error (a real one), which I fix and then go to rebuild. It gives me the same error as before!! I try to remove the mainmatter and replace it, but nothing works, I still get that same chapter error.

I have absolutely no idea what could be causing this at this point; it's driving me crazy. If anyone could help me out I would greatly appreciate it. If the files or linux make file are needed, just let me know and I'll post them. Thanks a bunch,

Recommended reading 2024:

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

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

minger
Posts: 4
Joined: Fri May 08, 2009 4:52 pm

Odd Compilation Error on Windows Miktex

Post by minger »

DUH!!

I forgot to Mark the proper file as "main".



edit: OK, do I need any special plugin to enable .eps files? The current command I'm using is:

Code: Select all

\newcommand{\munepsfig}[3][1.0]{%
	\begin{figure}[!htbp]
	\centering
	\vspace{2mm}
	\scalebox{#1}{\includegraphics{figures/#2.eps}}
	\caption{#3}
	\label{fig:#2}
	\end{figure}
Thanks
User avatar
Stefan Kottwitz
Site Admin
Posts: 10348
Joined: Mon Mar 10, 2008 9:44 pm

Odd Compilation Error on Windows Miktex

Post by Stefan Kottwitz »

minger wrote: edit: OK, do I need any special plugin to enable .eps files?
Just use latex for compilation, not pdflatex.

Stefan
LaTeX.org admin
Post Reply