Last active
December 19, 2023 22:24
-
-
Save mava/dac6ea95dca79aa44c9a8023936ea79d to your computer and use it in GitHub Desktop.
latexmkrc
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
# Set standard engine to pdflatex | |
$pdf_mode = 1; | |
# 0 —> no pdf | |
# 1 —> pdflatex | |
# 2 —> ps2pdf | |
# 3 —> dvipdf | |
# 4 —> lualatex | |
# 5 —> xelatex & xdvipdfmx | |
# Enable system commands via \write18{...} | |
set_tex_cmds('--shell-escape %O %S'); | |
# Do nothing if latexmk is called without file names | |
@default_files = (); | |
# Let -c also remove files with these extensions: | |
# .brf (backref) | |
# .xdv (generated by latexmk when using xelatex) | |
# .gtx (GitTeX https://github.com/mava/GitTeX) | |
push @generated_exts, 'brf', 'xdv', 'gtx'; | |
# “Only use bibtex if the bib files exist; conditionally delete .bbl files in a cleanup (i.e., delete them only when the bib files all exist).” | |
$bibtex_use = 1.5; | |
# Show CPU time used | |
$show_time = 1; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment