Skip to content

Instantly share code, notes, and snippets.

@maruta
Last active December 2, 2019 03:53
Show Gist options
  • Save maruta/1a3ed25b98db70fe7fe5 to your computer and use it in GitHub Desktop.
Save maruta/1a3ed25b98db70fe7fe5 to your computer and use it in GitHub Desktop.
my latexmkrc for Japanese tex document
#!/usr/bin/perl
$latex = 'platex %O -src-specials -shell-escape -interaction=nonstopmode -synctex=1 -kanji=utf8 %S';
$bibtex = 'pbibtex %O %B -kanji=utf8';
$dvipdf = 'dvipdfmx %O -o %D %S';
$pdf_mode = 3; # use dvipdfmx
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment