| 1 |
$pdf_mode = 1; |
| 2 |
|
| 3 |
$bibtex_use = 1; |
| 4 |
$bibtex = 'biber %O %B'; |
| 5 |
|
| 6 |
add_cus_dep('glo', 'gls', 0, 'makeglossaries'); |
| 7 |
add_cus_dep('acn', 'acr', 0, 'makeglossaries'); |
| 8 |
add_cus_dep('slo', 'sls', 0, 'makeglossaries'); |
| 9 |
sub makeglossaries { |
| 10 |
my ($base_name, $path) = fileparse( $_[0] ); |
| 11 |
pushd $path; |
| 12 |
my $return = system "makeglossaries", $base_name; |
| 13 |
popd; |
| 14 |
return $return; |
| 15 |
} |
| 16 |
|
| 17 |
add_cus_dep('odx', 'ond', 0, 'texindycommands'); |
| 18 |
sub texindycommands{ |
| 19 |
system("texindy -L french -C utf8 -M denisbdoc.xdy -o \"$_[0].ond\" \"$_[0].odx\" "); |
| 20 |
} |
| 21 |
|
| 22 |
add_cus_dep('gdx', 'gnd', 0, 'texindychanges'); |
| 23 |
sub texindychanges{ |
| 24 |
system("texindy -L french -C utf8 -M denisbdoc-chng.xdy -o \"$_[0].gnd\" \"$_[0].gdx\" "); |
| 25 |
} |
| 26 |
|
| 27 |
add_cus_dep('pdx', 'pnd', 0, 'texindyconcepts'); |
| 28 |
sub texindyconcepts{ |
| 29 |
system("texindy -L french -C utf8 -M denisbdoc.xdy -o \"$_[0].pnd\" \"$_[0].pdx\" "); |
| 30 |
} |
| 31 |
|
| 32 |
# system("texindy -L french -M denisbdoc.xdy -o \"$_[0].ond\" \"$_[0].odx\" "); |
| 33 |
# system("texindy -L french -M denisbdoc.xdy yathesis-fr.odx"); |
| 34 |
# system("texindy -L french -M denisbdoc.xdy yathesis-fr.pdx"); |
| 35 |
# system("texindy -L french -M denisbdoc-chng.xdy yathesis-fr.gdx"); |
| 36 |
|
| 37 |
push @generated_exts, 'acn', 'acr', 'alg', 'bcf', 'fls', 'gl*', 'sbl*', 'sl*', 'sym*' ; |
| 38 |
|
| 39 |
$clean_ext .= ' synctex.gz* run.xml tex.bak ind idx out bbl bcf fdb_latexmk run |
| 40 |
tdo listing *~ lo* unq mw tcbtemp ins drv atfi db* idx pdx |
| 41 |
gdx odx ' ; |
| 42 |
|
| 43 |
$quote_filenames = 0; |