Hey, I'm trying to make a super simple workflow to show some less technical users how to use R Studio to build TeX documents. One weird thing I'm running into is on a fresh install I typically don't have all the TeX packages we need there by default. So when a user clicks the "Compile PDF" button they get a failure because of missing packages.
However if they manually run
If that file has dependencies then
pdflatex will automagically install missing dependencies. Then next time they can just click the button. Is there a setting I can change that will make the button just install dependencies? It's a bit clunky to have to one process the first time then a different process after that. Are there other ways I can work around this?