1
0
mirror of https://github.com/frebib/dotfiles.git synced 2024-06-14 12:57:23 +00:00

latexmk: add config for xelatex

This commit is contained in:
Joe Groocock 2018-07-30 09:37:34 +01:00
parent 972ee067ab
commit eeb90bd2e3
Signed by: frebib
GPG Key ID: E0B16BEACFBB6A86

16
.config/latexmk/latexmkrc Normal file
View File

@ -0,0 +1,16 @@
$clean_ext = "bbl run.xml eps-converted-to.pdf";
$pdf_mode = 1;
$pdf_previewer = 'evince';
$latex = 'xetex -shell-escape';
$pdflatex = 'xelatex -shell-escape';
add_cus_dep('glo', 'gls', 0, 'run_makeglossaries');
add_cus_dep('acn', 'acr', 0, 'run_makeglossaries');
sub run_makeglossaries {
if ( $silent ) {
system "makeglossaries -q '$_[0]'";
}
else {
system "makeglossaries '$_[0]'";
};
}