-
Notifications
You must be signed in to change notification settings - Fork 90
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Link to more advanced latexmkrc in latexmk distribution #431
Comments
When I use the latexmkrc given in the asymptote documentation within the vscode editor, the compilation runs smoothly; replacing .latexmkrc with the one in CTAN (above) leads to errors ($TERM not defined , -T...). The only "problem" I see with the simple (original) latexmkrc is that "latexmk -c" do not clean the "pre" files... |
The latexmk -c issue was already fixed in commit 3b02ca5 (and in version 2.87). The point of the proposed CTAN version is to check for dependencies. However, it was based on an old version of latexmkrc, which also lacks the improvement introduced in commit A better solution is to add an option to asy to output this information in a format that latexmk can use directly. |
The latexmk distribution contains an example file asymptote_latexmkrc that has been developed beyond the one contained in the Asymptote repository. We should probably update the docs to link to that file instead, or else incorporate its innovations into the one in the Asymptote repository.
Some of the things it does:
asy
via the-f
flag.asy
files that are imported or included. (Thus, if those dependencies change, latexmk will know to recompile.)Here's the code of the complete file:
The text was updated successfully, but these errors were encountered: