You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

latexmkjarc 717 B

5 years ago
123456789101112131415161718192021222324
  1. $latex = 'platex ' . $ENV{'LATEXOPTS'} . ' -kanji=utf8 %O %S';
  2. $dvipdf = 'dvipdfmx %O -o %D %S';
  3. $makeindex = 'internal mendex %S %B %D';
  4. sub mendex {
  5. my ($source, $basename, $destination) = @_;
  6. my $dictfile = $basename . ".dic";
  7. unlink($destination);
  8. if (-f $dictfile) {
  9. system("mendex", "-U", "-f", "-d", $dictfile, "-s", "python.ist", $source);
  10. if ($? > 0) {
  11. print("mendex exited with error code $? (ignored)\n");
  12. }
  13. }
  14. if (!-e $destination) {
  15. # create an empty .ind file if nothing
  16. open(FH, ">" . $destination);
  17. close(FH);
  18. }
  19. return 0;
  20. }
  21. add_cus_dep( "glo", "gls", 0, "makeglo" );
  22. sub makeglo {
  23. return system( "mendex -J -f -s gglo.ist -o '$_[0].gls' '$_[0].glo'" );
  24. }

A Python package for graph kernels, graph edit distances and graph pre-image problem.