Quick Compile Button

It would be great to shorten the task of compiling.
Usually it needs four Buttons to compile a document: Compile - Compile - Export - Replace File

While this is good when there is a need to change some settings, it would be great to have a button / short cut that compiles with last settings and automatically replace files when a checkmark is set .

How often do you compile?

In particular, how often do you compile without changing settings?

Since I use the Print Current Document command for my own working drafts, I rarely need to compile more than once or twice per final product.

Katherine

Interesting topic ā€“ I compile every day to send out the newest chapters to my editor. Print current document is not enough, she needs MS Word documents. Export Files doesnā€™t give me page breaks or page numbers, so I fire up the Compile dialogue at the end of each work day. Having said that, Iā€™ve never missed a Ā»quick compileĀ« option, itā€™s a 20 second operation at the end of a 6 hour workday ā€¦

This has been requested already: Add a one-click compile which doesnā€™t invoke the compile dialog but uses your last settings.

I stand by my comment given there. Sequences of actions in software can be automated using various tools. There are approaches built into macOS itself, and excellent third-party tools for doing so as well.

Chances are that if youā€™re the sort that thinks to optimise how many keystrokes youā€™re using to compile, there are probably a few other things you do of a repetitive nature that you could create a macro for. Once I finally got around to getting a system in place that I liked, I found I started making dozens of macros (I have 44 for Scrivener alone), effectively ā€œadding featuresā€ to software and integrating programs together in ways that I donā€™t think any developer of them would ever bother to hand-code a route for (like the macro Iā€™ll hit that converts this post Iā€™m typing into Scrivener, using Markdown, into BBCode and inserts it into Firefox and updates the post preview and then puts the cursor back into Scrivener).

Compiling with current settings and overwriting the previous output is something I do all day longā€”and it is probably the primary way in which I compile once the format has been locked down. For me, content updates more than style. Here is the macro I use, bound to ā‡§āŒ„āŒ˜E.

compile_and_replace.zip (1.11 KB)

Thank you for your reply.

@kewms: I switched my LaTex workflow to Scrivener - so I do compile quite some times, specially then when I insert figures, tables etc or want a preview of a paper as pdf within Skim.

I like the synchronization functionality. So I can use Scrivener together with Papyrus Autor, which has an incredible spell and grammar check and text analysis tools. It just would be great if the ā€œQuick Compileā€ would act like this. Setup a Workflow -> Button/ShortCut -> Final Product

When it comes to third party products (like KM): from a security point of view, this is yet another tool i have to trust into. I tried your recommendation of keyboard maestro. The first question of this app was to grant permissions to the contact app and so forth.

Thats the reason why I think quick compile or even better a workflow pipeline would be a great feature.

Yeah, Scrivener asks that question about the contacts, too, and it asks for permission to use your Downloads folder, and whatever else. Meanwhile, the stuff you need to worry about isnā€™t going to be using the GUI and politely asking your permission. :slight_smile:

But as I said, there are built-in Mac tools as wellā€”and also as said, this has already been requested years ago. That is why Iā€™m offering alternatives so that you can achieve what you want, which is possible right now for anyone willing to do it.

Thatā€™s how some feature requests go: we say you can already do that with your Mac.

everythin excellent

I think this would significantly improve software usability. Allow the user to choose a favorite compile setting and access it from the toolbar to do a one-click export (preferably, with the option to determine an export folder and file name and, again, optionally overwrite any existing files). It could use whatever documents are presently included in compile.

Exposing all the formats in the menu bar would be even better. Format > Compile > MMD, LaTeX, PDF > MyCompileFormat A, MyCompileFormat B, MyCompileFormat C.

If you just click the ā€œCompileā€ button at the bottom right corner of the main Compile screen, it will use whatever your previous settings were.

1 Like

Yes, I am aware, but it is precisely the need to open a Compile screen and hit the Compile button that drove me to post. The part about using the last setting was merely in anticipation of replies such as but then what Format should it compile to?.

I write, rewrite and edit a lot longhand.
So, compiling one chapter at a time for print, I generally end up compiling a good couple of times a day.
What I did is that I created a folder named ā€œTo Printā€ on my desktop.
And since I compile to RTF first, then print from within LibreOffice, I created dummy RTF files in this folder. ("1111.rtf - 2222.rtf and so on ā€“ I created 9, so that I donā€™t even have to bother aiming properly later on.)
I also have the compilerā€™s option to automatically open the compiled file in the default app checked. (Last option at the bottom.)
I have my compiler set to compile selected documents. (Current selection.)

So, for me compiling is as simple as:
Compile shortcut.
Enter.
Double-click any of those dummy.rtf files and confirm the overwrite.

Thatā€™s it. Takes no more than 2 seconds.

1 Like