Skip to content
Snippets Groups Projects
Commit 8bb6406b authored by Jan Wille's avatar Jan Wille
Browse files

latexmk: cleanup

parent 836bb715
No related branches found
No related tags found
No related merge requests found
......@@ -6,14 +6,14 @@ $aux_dir = '.aux/'; # use and auxilary folder for temp files
$pdf_mode = 1; # use pdflatex
$bibtex_use = 2; # use biber
push @generated_exts, "run.xml"; # biber creates this file
push @std_small_cleanup_files, "run.xml"; # biber creates this file
push @generated_exts, "lol"; # the listings package creates this file
# put the ./src subfolder on searchpath
ensure_path( 'TEXINPUTS', './src//' );
# enable synctex
set_tex_cmds( '-synctex=1 -interaction=nonstopmode %O %S' );
push @extra_pdflatex_options, '-synctex=1';
# create glossaries:
add_cus_dep( 'acn', 'acr', 0, 'makeglossaries' );
......@@ -25,7 +25,7 @@ sub makeglossaries {
my ($base_name, $path) = fileparse( $_[0] );
my @args = ( "-q", "-d", $path, $base_name );
if ($silent) { unshift @args, "-q"; }
return system "makeglossaries", "-d", $path, $base_name;
return system "makeglossaries", @args;
}
# simple svg dependencies via InkScape
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment