| 1 |
$pdf_mode = 1; |
| 2 |
|
| 3 |
$biber = 'biber -U %O %B'; |
| 4 |
$bibtex_use = 1; |
| 5 |
|
| 6 |
$pdflatex="pdflatex -synctex=1 %O %S"; |
| 7 |
$lualatex="lualatex -synctex=1 %O %S"; |
| 8 |
|
| 9 |
add_cus_dep('glo', 'gls', 0, 'makeglossaries'); |
| 10 |
add_cus_dep('acn', 'acr', 0, 'makeglossaries'); |
| 11 |
add_cus_dep('slo', 'sls', 0, 'makeglossaries'); |
| 12 |
sub makeglossaries { |
| 13 |
my ($base_name, $path) = fileparse( $_[0] ); |
| 14 |
pushd $path; |
| 15 |
my $return = system "makeglossaries", $base_name; |
| 16 |
popd; |
| 17 |
return $return; |
| 18 |
} |
| 19 |
|
| 20 |
$makeindex = 'texindy -L english -C utf8'; |
| 21 |
|
| 22 |
push @generated_exts, 'acn', 'acr', 'alg', 'bbl', 'bcf', 'fls', 'gl*', 'ist', |
| 23 |
'run.xml', 'sbl*', 'sl*', 'sym*', 'unq', 'mw' ; |
| 24 |
|
| 25 |
$clean_ext .= ' synctex.gz* run.xml tex.bak out sta bbl bcf fdb_latexmk run tdo |
| 26 |
listing *~ lo* xdy vrb ain atfi nav snm thm iny xref db* listing tcbtemp aux |
| 27 |
idx ind lof lot out toc acn acr alg glg* glo* gls* ins sbl slg sym ist |
| 28 |
run.xml xdy lol fls unq synctex.gz mw *~ aux bcf frm msk nlg nls ntn tcbtemp |
| 29 |
thm nav nlo not i dx ind lof lot out toc acn acr alg glg glo gls glg2 gls2 |
| 30 |
glo2 sbl slg slo sls sym glsdefs ist run.xml xdy lol fls unq synctex.gz *~ |
| 31 |
listing png tkzfct.gnuplot tkzfct.table mw snm tns sta %R.*.vrb xref 4ct 4tc idv |
| 32 |
lg pre tmp *.typo mp epub html' ; |
| 33 |
|
| 34 |
@generated_exts = qw(db* listing tcbtemp aux idx ind lof lot out toc acn acr alg |
| 35 |
glg* glo* gls* ins sbl slg sym ist run.xml xdy lol fls unq synctex.gz mw *~ aux |
| 36 |
bcf frm msk nlg nls ntn tcbtemp thm nav nlo not i dx ind lof lot out toc acn acr |
| 37 |
alg glg glo gls glg2 gls2 glo2 sbl slg slo sls sym glsdefs ist run.xml xdy lol |
| 38 |
fls unq synctex.gz *~ listing png tkzfct.gnuplot tkzfct.table mw snm tns sta |
| 39 |
vrb xref *.typo mp epub html); |