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

tidy up `.latexmkrc`

parent 67ffc92d
Branches
Tags
No related merge requests found
# use pdflatex # list of files in this project
$pdf_mode = 1; # @default_files = ('file.tex', 'file.tex');
# use bibtex # generall settings:
$bibtex_use = 2; $aux_dir = '.aux/'; # use and auxilary folder for temp files
$clean_ext .= " run.xml"; $pdf_mode = 1; # use pdflatex
$bibtex_use = 2; # use biber
# use and auxilary folder for temp files push @generated_exts, "run.xml"; # biber creates this file
$aux_dir = './.aux/'; push @generated_exts, "lol"; # the listings package creates this file
# put the ./src subfolder on searchpath # put the ./src subfolder on searchpath
ensure_path( 'TEXINPUTS', './src//' ); ensure_path( 'TEXINPUTS', './src//' );
...@@ -17,7 +18,9 @@ set_tex_cmds( '-synctex=1 -interaction=nonstopmode %O %S' ); ...@@ -17,7 +18,9 @@ set_tex_cmds( '-synctex=1 -interaction=nonstopmode %O %S' );
# create glossaries: # create glossaries:
add_cus_dep( 'acn', 'acr', 0, 'makeglossaries' ); add_cus_dep( 'acn', 'acr', 0, 'makeglossaries' );
add_cus_dep( 'glo', 'gls', 0, 'makeglossaries' ); add_cus_dep( 'glo', 'gls', 0, 'makeglossaries' );
$clean_ext .= " acr acn alg glo gls glg ist"; push @generated_exts, 'glo', 'gls', 'glg';
push @generated_exts, 'acn', 'acr', 'alg';
$clean_ext .= ' %R.ist %R.xdy';
sub makeglossaries { sub makeglossaries {
my ($base_name, $path) = fileparse( $_[0] ); my ($base_name, $path) = fileparse( $_[0] );
my @args = ( "-q", "-d", $path, $base_name ); my @args = ( "-q", "-d", $path, $base_name );
...@@ -25,9 +28,6 @@ sub makeglossaries { ...@@ -25,9 +28,6 @@ sub makeglossaries {
return system "makeglossaries", "-d", $path, $base_name; return system "makeglossaries", "-d", $path, $base_name;
} }
# Listings files
$clean_ext .= " lol"; # clean tempfile for List of Listings
# simple svg dependencies via InkScape # simple svg dependencies via InkScape
add_cus_dep( 'svg', 'pdf', 0, 'runInkscape' ); add_cus_dep( 'svg', 'pdf', 0, 'runInkscape' );
sub runInkscape { sub runInkscape {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment