4 ms·
My biggest pet-peeve is Org freezing when I'm exporting to PDF.
by NeutralForest 4y ago
My biggest pet-peeve is Org freezing when I'm exporting to PDF.
- OrderlyTiamat 4y agoI've had that fixed in the past by simply adding an ampersand to org's compile command. This does make it run in the background but makes it ring the bell a number of times. Now when I'm editing and want to see the compiled pdf side by side I just start a bash while loop that recompiles continually with latexmk.
- anotherevan 4y ago> I just start a bash while loop that recompiles continually with latexmk. There's the -pvc option in latexmk that[1], "continuously check all input files for changes and re-compile the whole thing if needed and always display the result," depending on if your PDF viewer will refresh. That may obviate the need for a bash while loop. [1] https://mg.readthedocs.io/latexmk.html https://mg.readthedocs.io/latexmk.html
- OrderlyTiamat 4y agoNeat, thanks!
- NeutralForest 4y agoThat makes sense, I don't need to recompile that often but when recompiling relatively large notes (~50 pages) with lots of minted code blocks and the like, it's annoying.
- burtness 4y agoYou can change it to export in the background: (setq org-export-in-background 't) https://orgmode.org/manual/The-Export-Dispatcher.html https://orgmode.org/manual/The-Export-Dispatcher.html
- NeutralForest 4y agoThanks for the tip, I'll try it out!