nomenclature now gets compiled into pdf
This commit is contained in:
parent
352ae119f1
commit
d04e3d7976
12
.latexmkrc
12
.latexmkrc
|
@ -16,10 +16,10 @@
|
|||
|
||||
# Move all axuiliary files to a separate directory, so they do not clutter up the project directory
|
||||
$emulate_aux = 1;
|
||||
$aux_dir = ".tmp";
|
||||
$aux_dir = "build";
|
||||
|
||||
# Move the compiled files (and synctex) to a separate directory
|
||||
$out_dir = '.build';
|
||||
$out_dir = 'build';
|
||||
|
||||
# command to compile and run
|
||||
$pdflatex = 'pdflatex %O -interaction=nonstopmode -shell-escape %S';
|
||||
|
@ -45,6 +45,14 @@ $pdf_mode = 1;
|
|||
# Keep auxiliary files
|
||||
$clean_ext = " ";
|
||||
|
||||
# =====================================================================
|
||||
# Custom dependency and function for nomencl package
|
||||
# See: https://www.overleaf.com/learn/how-to/How_does_Overleaf_compile_my_project%3F
|
||||
|
||||
add_cus_dep("nlo", "nls", 0, "nlo2nls");
|
||||
sub nlo2nls {
|
||||
system("makeindex $_[0].nlo -s nomencl.ist -o $_[0].nls -t $_[0].nlg");
|
||||
}
|
||||
# =====================================================================
|
||||
# custom dependency handling for glossaries
|
||||
|
||||
|
|
Reference in New Issue