Skip to content

Instantly share code, notes, and snippets.

@roliveira
Last active September 29, 2018 08:42
Show Gist options
  • Save roliveira/da982a5ec5bd145563c9cfde585c9a7b to your computer and use it in GitHub Desktop.
Save roliveira/da982a5ec5bd145563c9cfde585c9a7b to your computer and use it in GitHub Desktop.
my latexmk configuration
$pdflatex='pdflatex -interaction=nonstopmode';
$pdf_previewer = "start zathura";
$pdf_update_method=0;
$pdf_mode = 1;
$dvi_mode = 0;
$preview_continuous_mode = 1;
add_cus_dep('glo', 'gls', 0, 'run_makeglossaries');
add_cus_dep('acn', 'acr', 0, 'run_makeglossaries');
sub run_makeglossaries {
if ( $silent ) {
system "makeglossaries -q '$_[0]'";
}
else {
system "makeglossaries '$_[0]'";
};
}
push @generated_exts, 'glo', 'gls', 'glg';
push @generated_exts, 'acn', 'acr', 'alg';
$clean_ext .= ' %R.ist %R.xdy';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment