Add .latexmkrc
This commit is contained in:
parent
c196391ade
commit
5170f94ccb
1 changed files with 12 additions and 0 deletions
12
.latexmkrc
Normal file
12
.latexmkrc
Normal file
|
@ -0,0 +1,12 @@
|
|||
add_cus_dep('glo', 'gls', 0, 'run_makeglossaries');
|
||||
add_cus_dep('acn', 'acr', 0, 'run_makeglossaries');
|
||||
|
||||
sub run_makeglossaries {
|
||||
system("makeindex -s '$_[0]'.ist -t '$_[0]'.glg -o '$_[0]'.gls '$_[0]'.glo");
|
||||
}
|
||||
|
||||
push @generated_exts, 'glo', 'gls', 'glg';
|
||||
push @generated_exts, 'acn', 'acr', 'alg';
|
||||
$clean_ext .= ' %R.ist %R.xdy';
|
||||
|
||||
$out_dir='build';
|
Loading…
Reference in a new issue