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

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

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;
}

add_cus_dep('odx', 'ond', 0, 'texindycommands');
sub texindycommands{
    system("texindy -L french -C utf8 -M denisbdoc.xdy -o \"$_[0].ond\" \"$_[0].odx\" ");
}

add_cus_dep('gdx', 'gnd', 0, 'texindychanges');
sub texindychanges{
    system("texindy -L french -C utf8 -M denisbdoc-chng.xdy -o \"$_[0].gnd\" \"$_[0].gdx\" ");
}

add_cus_dep('pdx', 'pnd', 0, 'texindyconcepts');
sub texindyconcepts{
    system("texindy -L french -C utf8 -M denisbdoc.xdy -o \"$_[0].pnd\" \"$_[0].pdx\" ");
}

# system("texindy -L french -M denisbdoc.xdy -o \"$_[0].ond\" \"$_[0].odx\" ");
# system("texindy -L french -M denisbdoc.xdy yathesis-fr.odx");
# system("texindy -L french -M denisbdoc.xdy yathesis-fr.pdx");
# system("texindy -L french -M denisbdoc-chng.xdy yathesis-fr.gdx");

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* idx pdx
    gdx odx ' ;

$quote_filenames = 0;