Skip to content

Instantly share code, notes, and snippets.

@a-mhamdi
Last active May 17, 2024 11:59
Show Gist options
  • Save a-mhamdi/e34a2a0d54c4be352e7b5e4f314ede06 to your computer and use it in GitHub Desktop.
Save a-mhamdi/e34a2a0d54c4be352e7b5e4f314ede06 to your computer and use it in GitHub Desktop.
LaTeX Make RC File
$recorder = 1;
$sleep_time = 1;
$pdf_mode = 1;
$pdf_previewer ='start zathura';
$pdflatex = "xelatex -shell-escape -synctex=1 -halt-on-error %O %S";
$bibtex_use = 2;
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 .= 'bbl nav out snm %R.ist %R.xdy';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment