latexmkrcサンプル
日本語と英語で使う latexコマンドが違うので分ける必要あり.
日本語向け
学会のcls/sty が対応してないことが多いので, uplatex じゃなくて普通の platexをutf-8で使う
code:latexmkrc
$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
# Use SumatraPDF and atom inverse search
# please replace maruta by your username
#$pdf_previewer = '"C:\Program Files\SumatraPDF\SumatraPDF.exe" -reuse-instance -inverse-search "\"C:\Users\maruta\AppData\Local\atom\bin\atom.cmd\" \"%f:%l\"" %O %S'; # if you do not need to preview in -pvc option (preview document and countinuously update mode)
$pdf_previewer = 'exit';
英語むけ
最近の一般的な?環境らしいpdflatexを利用するようにしている.
code:latexmkrc
$latex = 'pdflatex -synctex=1 -src-specials -shell-escape -interaction=nonstopmode %O %S';
$bibtex = 'bibtex %O %B';
$pdf_mode = 1; # use pdflatex
# Use SumatraPDF and atom inverse search
# please replace maruta by your username
# if you do not need to preview in -pvc option (preview document and countinuously update mode)
$pdf_previewer = 'exit';
Mac版のtexlive(2015,2016,2017)で動いてる(使ってる)
ChromeOS上の chromebrew 上の texlive(2017)で動いている