Skip to content

Instantly share code, notes, and snippets.

@freelsn
Created February 15, 2017 14:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save freelsn/439b4a3f309b0ba7336393de3fee3890 to your computer and use it in GitHub Desktop.
Save freelsn/439b4a3f309b0ba7336393de3fee3890 to your computer and use it in GitHub Desktop.
A configuration and initialization file for LatexMk
$clean_ext = "sta";
$clean_full_ext = "sta";
# $aux_dir = "output.output";
# $out_dir = "output.output";
$pdf_mode = 1; # tex -> pdf
# If no files are specified, latexmk will, by default, run on all files in the current working directory with a ".tex" extension.
# If you have your work split up into several parts, you have to specify the main file like this
@default_files = ('main.tex');
# Or maybe you want to process several files
# @default_files = ('file-one.tex', 'file-two.tex');
# When the source file uses bbl files for bibliography, run bibtex or biber as needed to regenerate the bbl files.
$bibtex_use = 2;
$pdf_previewer = 'start "c:/Program Files/SumatraPDF/SumatraPDF.exe" %O %S';
$pdflatex = 'pdflatex -shell-escape %O %S';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment