A few years ago, when encountering errors with my code, TeXstudio stopped and produced a log file.

However, for a while, I have been suffering from stucking with endless compilation in case of errors, which forces me to stop compilation and use arara instead in order to recognize where the problem is.

It shows me that in the messages panel below that the document is being compiled (i.e. the message Process started... shows up), while I feel that it does nothing heavy by checking the CPU activity.

So, what are the possible reasons that make TeXstudio do so, knowing that the version of TeXstudio is 2.12.8 and that of TeX Live is 2018 (up-to-date) running on Windows 10 v1803?

closed as unclear what you're asking by egreg, Sebastiano, Bobyandbob, Stefan Pinnow, Andrew Swann Jul 5 '18 at 11:23

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

  • Go to the editor preferences, what is selected for pdflatex? Seems you are in nteractive mode. – Johannes_B Jul 3 '18 at 4:28
  • @Johannes_B lualatex.exe -synctex=1 -shell-escape %.tex and the same preferences for pdflatex. – Diaa Jul 3 '18 at 4:43
  • TeXstudio allows up to five compilation repetitions in its configuration. – djnavas Jul 3 '18 at 5:44
  • @djnavas I don't know exactly what it does during that time, but it seems that it does nothing while showing me that it is compiling the document, which makes me click on the Stop Compile button. – Diaa Jul 3 '18 at 5:51
  • 3
    It should be something like lualatex --shell-escape -interaction=nonstopmode %.tex The nonstopmode is important – user2478 Jul 3 '18 at 6:10

Thanks to Herbert's comment, the issue is solved by considering the option -interaction=nonstopmode in the command.

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