[Tex/LaTex] Stop lyx from compiling

lyx

Is there any way to stop Lyx from compiling?

(I am using Lyx with knitr, so the compilation can take very long. Sometimes, I often find errors while Lyx is still compiling. As I cannot cancel the compilation, I have to wait until the compiler gets to the error in order to start compilation again …)

Best Answer

There is a bug request asking for a button to stop the compilation: http://www.lyx.org/trac/ticket/10108. In the meanwhile, you can try to stop the spawned processes (pdflatex, knitr...) and lyx will give up at some point (not ideal).