# latexmkrc — build configuration for the 言語獲得と理解研究会報告 template.
#
# Pipeline: platex -> pbibtex -> platex -> platex -> dvipdfmx
# Just run:   latexmk template.tex      (produces template.pdf)
#       or:   latexmk -c                (remove auxiliary files)

$latex      = 'platex -halt-on-error -interaction=nonstopmode -synctex=1 %O %S';
$bibtex     = 'pbibtex %O %S';
$dvipdf     = 'dvipdfmx %O -o %D %S';
$makeindex  = 'mendex %O -o %D %S';

$pdf_mode   = 3;     # 3 = generate the PDF from the DVI via $dvipdf (dvipdfmx)
$max_repeat = 5;     # allow enough passes for refs/citations to settle
