I'm using TeXstudio to compile my LaTeX code. However, for some reason in my code, the compilation will be immersed in a endless loop. Hence, when I fix the problems in my code (or may be not) and need to recompile it, I have to kill the engine first. What's more annoying, if the problem that causes the never-ending loop remains, I have to kill the process in terminal window again and again and again.

Is there any way to abort compilation in TeXstudio?

  • What kind of OS are you using? Linux or MacOS? – Ch'en Meng Dec 6 '13 at 7:56
  • @Ch'enMeng Thank you for your comment. I'm using Linux. Why? – Tachibana Kanade Dec 6 '13 at 7:59
  • 1
    Since I was a TeXstudio user under Linux and Windows, I know how to abort the compilation in TeXstudio---by pressing Esc, however, I'm not sure if this will work under MacOS. Try it. :) – Ch'en Meng Dec 6 '13 at 8:02
  • Since 2.7 release there is an icon on menu with this feature (red color during compilation). – jotagah Apr 6 '14 at 11:53

You can press Esc to terminate the process in TeXstudio.

  • Is there a method to unbind the Esc key from canceling the compilation? During compilation I often want to close some dialog and reflexively hit Esc, aborting the compilation. – n4pK Mar 4 '20 at 14:18

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.