I am a LaTex newbie. I have just installed MiKTeX and TexnicCenter, using Protext. The first thing I'd like to do is to open John Scholes's .tex file of Maths Olympiad questions, which I got from here.
When I open TexNicCenter, open the file, and then try to output the file in .pdf, .ps, or .dvi format, it tells me there are hundreds of errors with the Latex code. It's impossible to believe the code is so bad, so I must be doing something wrong! Any advice would be appreciated! Many thanks, Carrie
General ⇒ outputting .tex file as .pdf/.ps using TexnicCenter??
NEW: TikZ book now 40% off at Amazon.com for a short time.

- Stefan Kottwitz
- Site Admin
- Posts: 10345
- Joined: Mon Mar 10, 2008 9:44 pm
outputting .tex file as .pdf/.ps using TexnicCenter??
Hi Carrie,
welcome to this forum!
That tex-file is not a complete LaTeX document, commands like \documentclass are missing.
You could create a new tex file in the same directory:
This file should by compilable by TeXnicCenter.
Stefan
welcome to this forum!
That tex-file is not a complete LaTeX document, commands like \documentclass are missing.
You could create a new tex file in the same directory:
Code: Select all
\documentclass[a4paper,10pt]{article}
\newcommand*\bye{}
\begin{document}
\include{imo-all}
\end{document}
Stefan
LaTeX.org admin
Re: outputting .tex file as .pdf/.ps using TexnicCenter??
Brilliant - done it now - thank you! Carrie