Code: Select all
\documentclass[10pt]{article}
\begin{document}
Hello World!
\end{document}
Code: Select all
\documentclass[10pt]{article}
\begin{document}
Hello World!
\end{document}
In this, header.tex is the main file of the template. It ends with the following (If needed, I could attach the entire file):[PDFLatex] finished with exit code 1
header.tex:0:Emergency stop
Code: Select all
%
% D. AKTIONEN
% ---------------------------------------------------------------------------
%
%
% 1. Index erzeugen.
%
\makeindex
%
% E. SILBENTRENNUNG
% ---------------------------------------------------------------------------
%
\input{hyphenation}
%
% ===========================================================================
% EOF
%
Code: Select all
Writing index file header.idx
(./hyphenation.tex))
! Emergency stop.
<*> header.tex
*** (job aborted, no legal \end found)
Here is how much of TeX's memory you used:
26860 strings out of 493848
531728 string characters out of 1152824
763925 words of memory out of 3000000
29540 multiletter control sequences out of 15000+50000
4808 words of font info for 17 fonts, out of 3000000 for 9000
714 hyphenation exceptions out of 8191
53i,1n,97p,461b,245s stack positions out of 5000i,500n,10000p,200000b,50000s
! ==> Fatal error occurred, no output PDF file produced!
Thanks man. I ran into same problem in overleaf where the main document was not set. I have just set it and worked.toobadbear wrote:So the problem got solved, proving me a total idiot. The main file was in fact a different one (which had header.tex as input file) and the compilation stopped due to a missing document body. Posting this just in case someone else runs across the same problem and wants to avoid looking like a fool
Chris