-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reliably determine latexmk's aux_dir and out_dir using -dir-report (#970
) * Reliably determine latexmk's aux_dir and out_dir using -dir-report This commit makes texlab determine aux_dir and out_dir variables by calling latexmkrc -dir-report $TMPDIR/NONEXISTENT.tex Passing NONEXISTENT file is a hack to prevent latexmk from building anything. And the $TMPDIR part should ensure 100% that this file does not exist (to avoid event rarest cases when user may have a file called NONEXISTENT.tex in current working directory). This should be a more correct than `latexmk -r $TMPDIR/latexmkrc`, since -dir-report was intended exactly for this and it prints normalized values. * remove a reduntant check
- Loading branch information
Showing
1 changed file
with
41 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters