8

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 ...)

2
  • 1
    There is a bug request asking for a button to stop the compilation: 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).
    – G.M.
    Apr 27, 2016 at 18:55
  • @G.M. I would say add that as the answer. There is no other way to solve it currently.
    – scottkosty
    Apr 28, 2016 at 2:51

2 Answers 2

6

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).

1
  • #10108 is marked as duplicate. Ongoing exports are documented in lyx.org/trac/ticket/7900 (last change 11 months ago).
    – kdb
    Mar 19, 2019 at 15:19
3

It will be possible via DocumentCancel Background Process when Lyx 2.4 is released:

As of LyX 2.4, this is possible. When a file is exported, a new menu entry, "Cancel Background Process", appears on the Document menu: Selecting it will indeed cancel the export process. This can also be done by clicking on the 'spinner' that appears in the status bar when a file is being exported in the background.

Source: https://wiki.lyx.org/LyX/NewInLyX24#cancel

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .