Skip to content

Commit

Permalink
Added latexmkrc
Browse files Browse the repository at this point in the history
  • Loading branch information
pietvo committed Feb 25, 2019
1 parent 0e68765 commit 5d0ed59
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions latexmkrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
$pdf_mode = 1;
$pdflatex = 'pdflatex %O %S';
$makeindex = 'makeindex -s gind -g %S';
# Custom dependency for glossary/glossaries package
# if you make custom glossaries you may have to add items to the @cus_dep_list and corresponding sub-routines
add_cus_dep('glo', 'gls', 0, 'makeglo2gls');
sub makeglo2gls {
system("makeindex -s gglo -o '$_[0]'.gls '$_[0]'.glo");
}

0 comments on commit 5d0ed59

Please sign in to comment.