thomasjo / atom-latex

Compile LaTeX or knitr documents from within Atom
https://atom.io/packages/latex
MIT License
223 stars 42 forks source link

Using .latexmkrc files for build #539

Closed charlesbaynham closed 3 years ago

charlesbaynham commented 4 years ago

A good pattern with making a reproducable latex build is to store all your configuration in a .latexmkrc file, so that users can reproduce your build exactly by just running latexmk without any additional command line options. However atom-latex doesn't seem to notice latexmkrc files in the project directory.

Is there a way to do this? Simply calling latexmk in the project directory would suffice.

thomasjo commented 4 years ago

First of all, just double checking that you're using the latex package and not atom-latex. I realize the name of this repo might be confusing given that it belongs to the Atom package named latex despite the name.

If you're using the latex, then what you're proposing should work. At least it used to work. Latexmk is indeed invoked with the working directory set to the project folder of the file being built.

stale[bot] commented 3 years ago

This issue has been marked as stale because due to inactivity. It will be closed in 14 days if no further activity occurs.