Added support for makeglossaries to .latexmkrc
Incorporated the contents of previous ltxmkshellescape.rc into the new .latexmkrc. Updated chertex.sh to reflect the new rc file structure.master
parent
710b12deaa
commit
1c67e1b2c6
@ -0,0 +1,19 @@
|
||||
### .latexmkrc file.
|
||||
### For use with latexmk shell script.
|
||||
### Instructions for use:
|
||||
### Put a copy of this file in the directory that contains the current job.
|
||||
### Comment out the parts that are not applicable for the current job.
|
||||
|
||||
|
||||
## shell escape
|
||||
$latex = "latex --shell-escape";
|
||||
$pdflatex = "pdflatex --shell-escape";
|
||||
|
||||
|
||||
## makeglossaries (for the glossaries package)
|
||||
add_cus_dep('glo', 'gls', 0, 'makeglossaries');
|
||||
add_cus_dep('acn', 'acr', 0, 'makeglossaries');
|
||||
sub makeglossaries {
|
||||
system("makeglossaries $_[0]");
|
||||
}
|
||||
|
@ -1,2 +0,0 @@
|
||||
$latex = "latex --shell-escape";
|
||||
$pdflatex = "pdflatex --shell-escape";
|
Loading…
Reference in New Issue