I am working on my thesis and I was finishing it on latex. Until now everything was good. I had only 3 pages to do. But, suddenly the latex file gives me this problem emergency stop. And the latex produces 20 pages not 30 as I had before. I need help please, I am very desperate now. I cannot put the whole code because it says that I need at least 10 reputation to post more than 8 links.
! Emergency stop. main.tex *** (job aborted, no legal \end found) Here is how much of TeX's memory you used: 35363 strings out of 493005 703501 string characters out of 6134596 1299596 words of memory out of 5000000 38856 multiletter control sequences out of 15000+600000 58229 words of font info for 120 fonts, out of 8000000 for 9000 1348 hyphenation exceptions out of 8191 47i,20n,79p,10377b,3903s stack positions out of 5000i,500n,10000p,200000b,80000s Output written on main.pdf (21 pages)
other problems it shows
! File ended while scanning use of \caption@ydblarg.
\par
l.382 \include{Chapters/Chapter5}
I suspect you have forgotten a `}', causing me
to read past where you wanted me to stop.
I'll try to recover; but if the error is serious,
you'd better type `E' or `X' now and fix your file.
\openout2 = `Appendices/AppendixA.aux'.
(./Appendices/AppendixA.tex
! LaTeX Error: Not in outer par mode.
See the LaTeX manual or LaTeX Companion for explanation.
Type H for immediate help.
...
l.8 \begin{figure}[h]
You've lost some text. Try typing to proceed.
If that doesn't work, type X to quit.
File: Figures/plineappendix.png Graphic file (type QTm)
File: Figures/appendix2.png Graphic file (type QTm)
! LaTeX Error: Not in outer par mode.
See the LaTeX manual or LaTeX Companion for explanation.
Type H for immediate help.
...
l.25 \begin{figure}[t!]
You've lost some text. Try typing to proceed.
If that doesn't work, type X to quit.
File: Figures/lorenz.pdf Graphic file (type QTm)
File: Figures/edu.png Graphic file (type QTm)
File: Figures/yline.pdf Graphic file (type QTm)
)
\openout2 = `Appendices/AppendixB.aux'.
(./Appendices/AppendixB.tex
I think it has a problem that regards the code \caption*.
I put on the preamble a code about the caption and then suddenly everything collapsed. I removed the code and things didn't get back the same.
\end{document}. – egreg Aug 04 '18 at 20:36