summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/nwejm/examples/latexmkrc
blob: ed23d5053f336a0aefd1c85007b36318e8e85121 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
$pdf_mode = 4;

$biber = 'biber -U %O %B';
$bibtex_use = 1;

$pdflatex="pdflatex -synctex=1 %O %S";
$lualatex="lualatex -synctex=1 %O %S";

add_cus_dep('glo', 'gls', 0, 'makeglossaries');
add_cus_dep('acn', 'acr', 0, 'makeglossaries');
add_cus_dep('slo', 'sls', 0, 'makeglossaries');
sub makeglossaries {
    my ($base_name, $path) = fileparse( $_[0] );
    pushd $path;
    my $return = system "makeglossaries", $base_name;
    popd;
    return $return;
}

$makeindex = 'texindy -L english -C utf8';

push @generated_exts, 'acn', 'acr', 'alg', 'bbl', 'bcf', 'fls', 'gl*', 'ist',
'run.xml', 'sbl*', 'sl*', 'sym*', 'unq', 'mw' ;

$clean_ext .= ' synctex.gz* run.xml tex.bak out sta bbl bcf fdb_latexmk run tdo
    listing *~ lo* xdy vrb ain atfi nav snm thm iny xref db* listing tcbtemp aux
    idx ind lof lot out toc acn acr alg glg* glo* gls* ins sbl slg sym ist
    run.xml xdy lol fls unq synctex.gz mw *~ aux bcf frm msk nlg nls ntn tcbtemp
    thm nav nlo not i dx ind lof lot out toc acn acr alg glg glo gls glg2 gls2
    glo2 sbl slg slo sls sym glsdefs ist run.xml xdy lol fls unq synctex.gz *~
    listing png tkzfct.gnuplot tkzfct.table mw snm tns sta %R.*.vrb xref 4ct 4tc idv
    lg pre tmp *.typo mp epub html' ;

@generated_exts = qw(db* listing tcbtemp aux idx ind lof lot out toc acn acr alg
glg* glo* gls* ins sbl slg sym ist run.xml xdy lol fls unq synctex.gz mw *~ aux
bcf frm msk nlg nls ntn tcbtemp thm nav nlo not i dx ind lof lot out toc acn acr
alg glg glo gls glg2 gls2 glo2 sbl slg slo sls sym glsdefs ist run.xml xdy lol
fls unq synctex.gz *~ listing png tkzfct.gnuplot tkzfct.table mw snm tns sta
vrb xref *.typo mp  epub html);