Last active
February 16, 2017 21:06
-
-
Save jgosmann/b689a2e6bc19d33eac54 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$lualatex = 'lualatex -synctex=1 %O %S'; | |
$pdflatex = 'pdflatex -synctex=1 %O %S'; | |
$xelatex = 'xelatex -synctex=1 %O %S'; | |
$pdf_mode = 4; # 4 uses lualatex, set to 1 for pdflatex | |
add_cus_dep('nlo', 'nls', 0, 'nlo2nls'); | |
sub nlo2nls { | |
system("makeindex \"$_[0].nlo\" -s nomencl.ist -o \"$_[0].nls\""); | |
} | |
add_cus_dep('glo', 'gls', 0, 'glo2gls'); | |
sub glo2gls { | |
system("makeglossaries \"$_[0]\""); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment