Skip to content

Instantly share code, notes, and snippets.

@AndiH
Created January 25, 2016 14:05
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AndiH/aef390040112007a0ca4 to your computer and use it in GitHub Desktop.
Save AndiH/aef390040112007a0ca4 to your computer and use it in GitHub Desktop.
One current .latexmkrc steering configuration file
$ENV{'TEXINPUTS'}=':.//:./__include/theme/juelich2/:'; # set environment variable to steer pdflatex to use also the __include directory
$recorder = 1; # try to use the .fls to notice changed files
$pdf_mode = 1; # generate PDFs, not DVIs
# $bibtex_use = 2; # run BibTeX/biber when appears necessary
$pdflatex = "pdflatex --shell-escape %O %S"; # add shell-escape
$pdf_previewer = "open -a /Applications/Skim.app %O %S"; # actually only important if in continuous preview mode, -pvc
$clean_ext = 'nav snm vrb'; # also clean those extensions when invoking latexmk -c
## The following is for glossaries
# add_cus_dep('glo', 'gls', 0, 'run_makeglossaries');
# add_cus_dep('acn', 'acr', 0, 'run_makeglossaries');
# sub run_makeglossaries {
# if ( $silent ) {
# system "makeglossaries -q '$_[0]'";
# }
# else {
# system "makeglossaries '$_[0]'";
# };
# }
# push @generated_exts, 'glo', 'gls', 'glg';
# push @generated_exts, 'acn', 'acr', 'alg';
# $clean_ext .= ' %R.ist %R.xdy'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment