Skip to content

Instantly share code, notes, and snippets.

@caphosra
Created June 28, 2023 04:17
Show Gist options
  • Save caphosra/68af56d455f1da4892bc4b8959d779c0 to your computer and use it in GitHub Desktop.
Save caphosra/68af56d455f1da4892bc4b8959d779c0 to your computer and use it in GitHub Desktop.
My configuration file for latexmk
$biber = 'biber %O --bblencoding=utf8 -u -U --output_safechars %B';
$bibtex = 'upbibtex %O %B';
$dvipdf = 'dvipdfmx %O -o %D %S';
$latex = 'lualatex -kanji=utf8 -synctex=1 -halt-on-error -shell-escape -interaction=nonstopmode %O %S';
$makeindex = 'mendex %O -o %D %S';
$max_repeat = 5;
$pdf_mode = 3;
$out_dir = './build';
$aux_dir = './build';
$success_cmd = 'cp -r ./build/*.synctex.gz .; cp -r ./build/*.pdf .; rm -rf ./build/*.fls;';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment