Generaloutputting .tex file as .pdf/.ps using TexnicCenter??

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
carr
Posts: 2
Joined: Wed Jul 09, 2008 1:49 pm

outputting .tex file as .pdf/.ps using TexnicCenter??

Post by carr »

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

Recommended reading 2024:

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

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??

Post by Stefan Kottwitz »

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:

Code: Select all

\documentclass[a4paper,10pt]{article}
\newcommand*\bye{}
\begin{document}

\include{imo-all}

\end{document}
This file should by compilable by TeXnicCenter.

Stefan
LaTeX.org admin
carr
Posts: 2
Joined: Wed Jul 09, 2008 1:49 pm

Re: outputting .tex file as .pdf/.ps using TexnicCenter??

Post by carr »

Brilliant - done it now - thank you! Carrie
Post Reply