General ⇒ After an error compiling fails at \begin{document}
After an error compiling fails at \begin{document}
\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
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
- Stefan Kottwitz
- Site Admin
- Posts: 10360
- Joined: Mon Mar 10, 2008 9:44 pm
After an error compiling fails at \begin{document}
welcome to the board!
could you post the exact error message?joe8232 wrote:after I fix it and try to compile I get a fail at \begin{document}
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
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Re: After an error compiling fails at \begin{document}
Best regards and welcome to the board
Thorsten¹
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10