Skip to content

Commit

Permalink
Added latexmk resource file
Browse files Browse the repository at this point in the history
latexmk needs to know how to build nomenclature files.
  • Loading branch information
ddmarshall authored Sep 10, 2024
1 parent 8cc5560 commit d012b35
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions latexmkrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Custom dependency and function for nomencl package
add_cus_dep( 'nlo', 'nls', 0, 'makenlo2nls' );
sub makenlo2nls {
system( "makeindex -s nomencl.ist -o \"$_[0].nls\" \"$_[0].nlo\"" );
}

0 comments on commit d012b35

Please sign in to comment.