문제

Recently I start to write a long article using org-mode. My article contains pounds of images, tables and code. So when I import my org file to pdf, the emacs will freeze for more than one minute to produce the pdf file. However in my opinion, I would like to continue to write or correct my article during the exporting.

So here is the question, can emacs parallelly process the exports with multiple thread or multiple processors?

도움이 되었습니까?

해결책

Of course you can, it's emacs!

(info "(org) The export dispatcher")

‘C-a’ Toggle asynchronous export. Asynchronous export uses an external Emacs process that is configured with a specified initialization file.

 While exporting asynchronously, the output is not displayed.  It is
 stored in a list called “the export stack”, and can be viewed from
 there.  The stack can be reached by calling the dispatcher with a
 double ‘C-u’ prefix argument, or with ‘&’ key from the dispatcher.

 To make this behavior the default, customize the variable
 ‘org-export-in-background’.

So, you can export asynchronously to PDF like this: C-eC-alp.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top