Emergency stop, what does it mean? How to repair? enter image description here

  • 1
    Welcome, you have a serious probem in your code that lets LaTeX stop. You have not shown the reason. You can find the reason using this simple algorithm. – Johannes_B Feb 18 '17 at 17:37
  • if you for example \input a file that doesn't exist then normally tex prompts for a different file namebut in batch mode it never interactively prompts so does an "emergency stop" The log file will show the error (you only see a summary in that screenshot). unrelated but the following bad box warning is almost certainly \\ misused at the end of a paragarph, – David Carlisle Feb 18 '17 at 20:25
  • a common cause is no \end{document} – geordie Aug 5 '18 at 18:27

Most likely you tried \input{texstudio_hy2940} and that file does not exist and you are running in \batchmode so TeX can not stop and ask for a different file name.

Look in the log file for the full error message.

The TeXBook says:

Sometimes an error is so bad that TeX is forced to quit prematurely. For example, if you are running in \batchmode or \nonstopmode, TeX makes an "emergency stop" if it needs input from the terminal; this happens when a necessary file cannot be opened, or when no \end command was found in the input document.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy