GeneralAfter an error compiling fails at \begin{document}

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
joe8232
Posts: 1
Joined: Fri Apr 10, 2009 1:30 pm

After an error compiling fails at \begin{document}

Post by joe8232 »

Hi, i'm fairly new at LaTeX and am having a rather annoying problem. Everytime I make an error say
\begin{equation}
3^{21)
\end{equation}
and compile, I obviously get told that I have an error and where the error is, but then after I fix it and try to compile I get a fail at \begin{document}, yet if I copy the whole code and paste it into a new tex document and save and compile I don't get an error. This is really frustrating, does anyone have any idea why? Thanks

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: 10348
Joined: Mon Mar 10, 2008 9:44 pm

After an error compiling fails at \begin{document}

Post by Stefan Kottwitz »

Hi Joe,

welcome to the board!
joe8232 wrote:after I fix it and try to compile I get a fail at \begin{document}
could you post the exact error message?
If that happens every time then you could just create a minimal working example showing that behaviour and post this example here in the forum and also the corresponding .log file containing errors, warnings and information.

Stefan
LaTeX.org admin
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Re: After an error compiling fails at \begin{document}

Post by localghost »

Perhaps deleting all auxiliary files might do the trick.


Best regards and welcome to the board
Thorsten¹
Post Reply