The latter command is for the situation where LaTeX failed, but you don't need to re-export from Scrivener. Once it runs, you can use the keystroke Ctrl Shift C to run the whole pipeline and the keystroke Ctrl Shift L to just run the LaTeX compilation. I keep the timings tight so that it's not a big wait for compilation, but you'll have to find your own compromise between quick compiles and failures because dialogs don't exist at the right time. On my computer, they work well in most cases when my computer is plugged in, but on battery and slower power profiles, they don't work.
SCRIVENER FOR PC SALE INSTALL
Autohotkey handles the Scrivener export and Python handles the LaTeX runs, so install whichever you need if you're not going to use all of this code. You'll need both AutoHotkey 1 and Python 3 on your computer in order to run this full pipeline. You may need to do some tweaking, but these scripts should be a good starting point for people looking to quickly compile LaTeX documents from Scrivener on Windows.
![scrivener for pc sale scrivener for pc sale](https://annkroeker.com/wp-content/uploads/2017/07/screen-shot-of-Scrivener-600x373.png)
I tried to comment at least the most important things. I only made them somewhat generalizable and they're not my best code, but they're good enough to share in case anyone else finds them useful. Notesįirst, these scripts likely won't be 100% of what anyone else needs. This pipeline lets me preview relatively quickly to make sure I'm still on track.
SCRIVENER FOR PC SALE MANUAL
I was tired of the manual export while working in Scrivener, which meant I didn't export often, which meant I often had hard-to-find LaTeX errors.
![scrivener for pc sale scrivener for pc sale](https://screenshots.dgtcdn.net/images/t_app-cover-s,f_auto/p/9e5b592c-96d9-11e6-b68e-00163ed833e7/726539274/scrivener-screenshot.jpg)
These scripts enable a single keystroke to: