Browse Source

Delete .latexmkrc

pull/291/head
Christopher Ehmke 2 months ago
parent
commit
f1f6879b2e
  1. 24
      examples/documentation/.latexmkrc

24
examples/documentation/.latexmkrc

@ -1,24 +0,0 @@
# Output a pdf
$pdf_mode = 1;
$pdflatex = 'pdflatex -output-directory=examples/documentation -shell-escape %O %S';
# By default compile only the file called 'main.tex'
@default_files = ('main.tex');
# Compile the glossary and acronyms list (package 'glossaries')
add_cus_dep( 'acn', 'acr', 0, 'makeglossaries' );
add_cus_dep( 'glo', 'gls', 0, 'makeglossaries' );
$clean_ext .= " acr acn alg glo gls glg";
sub makeglossaries {
my ($base_name, $path) = fileparse( $_[0] );
pushd $path;
my $return = system "makeglossaries", $base_name;
popd;
return $return;
}
# Compile the nomenclature (package 'nomencl')
add_cus_dep( 'nlo', 'nls', 0, 'makenlo2nls' );
sub makenlo2nls {
system( "makeindex -s nomencl.ist -o \"$_[0].nls\" \"$_[0].nlo\"" );
}
Loading…
Cancel
Save