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:
parent
972ee067ab
commit
eeb90bd2e3
16
.config/latexmk/latexmkrc
Normal file
16
.config/latexmk/latexmkrc
Normal 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]'";
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user