Skip to content

Instantly share code, notes, and snippets.

@konn
Last active September 13, 2017 20:44
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 konn/8234466 to your computer and use it in GitHub Desktop.
Save konn/8234466 to your computer and use it in GitHub Desktop.
Skim+latexmk+biber+uplatex+dvipdfmx
#!/usr/bin/env perl
$latex = 'uplatex -synctex=1';
$latex_silent = 'uplatex -synctex=1';
$bibtex = 'pbibtex';
$biber = 'biber --bblencoding=utf8 -u -U --output_safechars';
$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 -ga /Applications/Skim.app";
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment