forked from hpcugent/vsc_user_docs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
latexmkrc
26 lines (22 loc) · 860 Bytes
/
latexmkrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# This shows how to use the glossary package
# (http://www.ctan.org/tex-archive/macros/latex/contrib/glossary) and
# the glossaries package
# (http://www.ctan.org/tex-archive/macros/latex/contrib/glossaries)
# with latexmk. Note that there are important differences between
# these two packages, so you should take careful note of the comments
# below.
# 4. If you use the glossaries package and have the makeglossaries
# script installed, then you can do something simpler:
add_cus_dep('glo', 'gls', 0, 'makeglossaries');
add_cus_dep('acn', 'acr', 0, 'makeglossaries');
sub makeglossaries {
if ( $silent ) {
system( "makeglossaries -q \"$_[0]\"" );
}
else {
system( "makeglossaries \"$_[0]\"" );
};
}
push @generated_exts, 'glo', 'gls', 'glg';
push @generated_exts, 'acn', 'acr', 'alg';
$clean_ext .= ' %R.ist %R.xdy';