GeneralFatal error occurred, the output PDF file is not finished!

General information and discussion about TeXnicCenter
Post Reply
rainz
Posts: 25
Joined: Sun Apr 22, 2012 1:21 pm

Fatal error occurred, the output PDF file is not finished!

Post by rainz »

I have only 2 errors and they are not that important errors.I used to have many and my document opened however now I have only a few but the log file gives an error as: Fatal error occurred, the output PDF file is not finished!
and does not open my document. What may be the problem

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

rainz
Posts: 25
Joined: Sun Apr 22, 2012 1:21 pm

Re: Fatal error occurred, the output PDF file is not finishe

Post by rainz »

log file
Attachments
thesis.log
log file
(8.45 KiB) Downloaded 580 times
User avatar
Stefan Kottwitz
Site Admin
Posts: 10335
Joined: Mon Mar 10, 2008 9:44 pm

Fatal error occurred, the output PDF file is not finished!

Post by Stefan Kottwitz »

At the end:

Code: Select all

! TeX capacity exceeded, sorry [input stack size=5000].
\widehat #1->\@mathmeasure \z@ \textstyle {#1
                                             }\ifdim \wd \z@ >\tw@ em\mathac...
l.183 ...hat{\sigma}^{2}[X^{T}Z(Z^{T}Z)^{-1}Z^{T}}
                                                  X]^{-1}$\\
Either there's an error in your code around line 183, such as for example an infinite recursion, or the document is really to big. In the latter case expand the capacity by

Code: Select all

\usepackage{etex}
in the preamble.

Stefan
LaTeX.org admin
rainz
Posts: 25
Joined: Sun Apr 22, 2012 1:21 pm

Re: Fatal error occurred, the output PDF file is not finishe

Post by rainz »

thanks a lot I deleted the row and now it works. However, I did not understand why the capacity was exceeded the equation was small. Thanks anyway you have been a great help
User avatar
Stefan Kottwitz
Site Admin
Posts: 10335
Joined: Mon Mar 10, 2008 9:44 pm

Re: Fatal error occurred, the output PDF file is not finishe

Post by Stefan Kottwitz »

Perhaps show the row, or the complete environment of this row. I'm pretty sure we would find the cause.

Stefan
LaTeX.org admin
Post Reply