summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/yathesis/french/documentation/latexmkrc
blob: 3115c560036d1e46792bf8fabf70e84757c19802 (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
40
41
42
$pdf_mode = 1;

$bibtex_use = 1;
$bibtex = 'biber %O %B';

# # add_cus_dep('glo', 'gls', 0, 'makeindex');
# add_cus_dep('glo2', 'gls2', 0, 'makeglossaries');
add_cus_dep('glo', 'gls', 0, 'makeglossaries');
add_cus_dep('acn', 'acr', 0, 'makeglossaries');
add_cus_dep('slo', 'sls', 0, 'makeglossaries');
sub makeglossaries{
    system( "makeglossaries \"$_[0]\"" );
}

# add_cus_dep('glo', 'gls', 0, 'makeglo2gls');
# sub makeglo2gls {
#     system("makeindex -s gglo.ist -o '$_[0]'.gls '$_[0]'.glo");
# }

# $makeindex = 'texindy -L french -M denisbdoc.xdy';

add_cus_dep('commands.idx', 'ind', 0, 'texindy');
sub texindy{
    system("texindy -L french -M denisbdoc.xdy commands.idx");
}

add_cus_dep('yathesis-fr.idx', 'ind', 0, 'texindybis');
sub texindybis{
    system("texindy -L french -M denisbdoc.xdy yathesis-fr.idx");
}

add_cus_dep('__denisbdoc_changes.idx', 'ind', 0, 'texindyter');
sub texindyter{
    system("texindy -L french -M denisbdoc-chng.xdy \"$_[0].idx\"");
}

push @generated_exts, 'acn', 'acr', 'alg', 'bcf', 'fls', 'gl*', 'sbl*', 'sl*', 'sym*' ;

$clean_ext .= 'synctex.gz* run.xml tex.bak ind idx out bbl bcf fdb_latexmk run
tdo listing *~ lo* unq mw tcbtemp ins drv atfi db*' ;

$quote_filenames = 0;