This is getting weird. Now there is no error anymore, but if I compile the mainfile, the only thing appearing is the titlepage.
Sorry for what may seem stupid questions, I'm a totally new person to Latex and it's a learning curve!
General ⇒ Main file not compiling anymore
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
Main file not compiling anymore
I guess you have also a line
at the end of your titlepage.tex, remove that line. Also, if you have such lines in other included files. This would cause LaTeX to stop.
No problems with such questions. If I could see all code I could tell more what might help, so I can just respond to each error or observation, one by one.
Stefan
\end{document}
at the end of your titlepage.tex, remove that line. Also, if you have such lines in other included files. This would cause LaTeX to stop.
No problems with such questions. If I could see all code I could tell more what might help, so I can just respond to each error or observation, one by one.

Stefan
LaTeX.org admin
Re: Main file not compiling anymore
Thanks, what I have done now is remove all the \begin{document} and \end{document} from each file. Now I can see the pdfs again in the mainfile. What happened though is that all my references to bibliography, and reference to figures and equations (which are in this chapter) have disappeared. Now I only get figure ?? where previously there was figure 2.7 in the text (where i refer to figures, worked previously) for example. Uploading all the files would be a bit crazy as there are lots of figures.
- Stefan Kottwitz
- Site Admin
- Posts: 10348
- Joined: Mon Mar 10, 2008 9:44 pm
Re: Main file not compiling anymore
Did you compile several times? You need to compile at least twice to see references. One run to generate the references (written to the .aux files) and in another run they would be read.
Stefan
Stefan
LaTeX.org admin
Re: Main file not compiling anymore
This solves all of the problems concerning this topic. Still have some issues with some other things but will look things up on the forum first.