Skip to content

Instantly share code, notes, and snippets.

@takuto-h
Last active August 29, 2015 14:08
Show Gist options
  • Save takuto-h/d45b6fd4968ac39a0d86 to your computer and use it in GitHub Desktop.
Save takuto-h/d45b6fd4968ac39a0d86 to your computer and use it in GitHub Desktop.
#!/usr/bin/env perl
$latex = 'platex -shell-escape -synctex=1';
$latex_silent = 'platex -shell-escape -synctex=1 -interaction=batchmode';
$bibtex = 'pbibtex';
$dvipdf = 'dvipdfmx %O -o %D %S';
$makeindex = 'mendex %O -o %D %S';
$max_repeat = 5;
$pdf_mode = 3; # generates pdf via dvipdfmx
# 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 -a /Applications/Skim.app";
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment