From 5d0ed59d2eec06cb9df409da73cbfc3bc9606584 Mon Sep 17 00:00:00 2001 From: Piet van Oostrum Date: Mon, 25 Feb 2019 16:29:21 +0100 Subject: [PATCH] Added latexmkrc --- latexmkrc | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 latexmkrc diff --git a/latexmkrc b/latexmkrc new file mode 100644 index 0000000..d02f652 --- /dev/null +++ b/latexmkrc @@ -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"); + }