summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/fduthesis/latexmkrc
blob: bd20435ac520c331542b3560ee37c9e5a02aedbe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# Latexmk configuration file.

# Use XeLaTeX to compile.
$pdf_mode = 5;

# Process index.
$makeindex = 'zhmakeindex -s gind.ist %O -o %D %S';

# Show CPU time used.
$show_time = 1;

# Process glossary (change history).
add_cus_dep('glo', 'gls', 0, 'makeglo2gls');
sub makeglo2gls {
    system("zhmakeindex -s gglo.ist -o \"$_[0].gls\"
        -t \"$_[0].glg\" \"$_[0].glo\"");
}