Skip to content

Instantly share code, notes, and snippets.

@miyaki
Last active February 20, 2016 21:13
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save miyaki/0d700a893c2b7a5320b6 to your computer and use it in GitHub Desktop.
Save miyaki/0d700a893c2b7a5320b6 to your computer and use it in GitHub Desktop.
~/.latexmkrc
# $Date:$
$pdf_mode = 1;
$pdflatex = 'pdflatex -interaction=nonstopmode -synctex=1 %O %S';
$bibtex = 'bibtex %O %B';
# for japanese platex2e
# $pdf_mode = 3;
# $latex = 'platex -kanji=utf8 -interaction=nonstopmode -synctex=1 %O %S';
# $bibtex = 'pbibtex -kanji=utf8 %O %B';
$biber = 'biber --bblencoding=utf8 -u -U --output_safechars %O %B';
$biber_silent_switch = '--onlylog';
$dvipdf = 'dvipdfmx %O %S'; # needs -pdfdvi
$max_repeat = 5;
# Prevent latexmk from removing PDF after typeset.
# This enables Skim to chase the update in PDF automatically.
$pvc_view_file_via_temporary = 0;
# Use Skim as a previewer
$pdf_previewer = "open -ga ~/Applications/Skim.app";
$clean_ext = 'bbl';
push @generated_exts, "run.xml";
push @generated_exts, "synctex.gz";
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment