From e5cee0d6a57f5481608d21154b5e4aa06fdc1d05 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Fri, 24 Jul 2009 16:57:38 +0000 Subject: new script mkgrkindex (23jul09) git-svn-id: svn://tug.org/texlive/trunk@14428 c570f23f-e606-0410-a88d-b1316a301751 --- Master/tlpkg/bin/tlpkg-ctan-check | 4 ++-- Master/tlpkg/bin/tlpkginfo | 28 +++++++++++++++---------- Master/tlpkg/libexec/ctan2tds | 2 ++ Master/tlpkg/tlpsrc/collection-langgreek.tlpsrc | 1 + Master/tlpkg/tlpsrc/mkgrkindex.tlpsrc | 0 5 files changed, 22 insertions(+), 13 deletions(-) create mode 100644 Master/tlpkg/tlpsrc/mkgrkindex.tlpsrc (limited to 'Master/tlpkg') diff --git a/Master/tlpkg/bin/tlpkg-ctan-check b/Master/tlpkg/bin/tlpkg-ctan-check index c5b858e70ba..23027c41e98 100755 --- a/Master/tlpkg/bin/tlpkg-ctan-check +++ b/Master/tlpkg/bin/tlpkg-ctan-check @@ -46,7 +46,7 @@ my @WorkingTLP = qw( boxhandler bpchem breakurl bullcntr bussproofs bytefield calctab calligra calrsfs captcont caption carlisle casyl catechis carolmin-ps - cbcoptic cbfonts ccaption cclicenses cd cdpbundl cell cellspace + cbcoptic cbfonts cc-pl ccaption cclicenses cd cdpbundl cell cellspace changebar changelayout changepage changes chappg chapterfolder chem-journal chembst chemcompounds chemstyle cherokee chess-problem-diagrams chessboard chessfss @@ -164,7 +164,7 @@ my @WorkingTLP = qw( mff mfnfss mfpic mfpic4ode mftinc mh mhchem mhequ mhs microtype midnight minibox minipage-marginpar minitoc minutes - mkjobtexmf mkpattern + mkgrkindex mkjobtexmf mkpattern mla-paper mlist mmap mnsymbol moderncv modref modroman mongolian-babel montex morefloats moreverb movie15 mp3d mparhack diff --git a/Master/tlpkg/bin/tlpkginfo b/Master/tlpkg/bin/tlpkginfo index 7b9718a422c..49598411774 100755 --- a/Master/tlpkg/bin/tlpkginfo +++ b/Master/tlpkg/bin/tlpkginfo @@ -55,22 +55,28 @@ sub main # sub find_ctan_dir { - my ($me) = @_; - return 1 unless $me; + my ($pkgname) = @_; + return 1 unless $pkgname; # use explicit catalogue name if given in tlpsrc. - $me = &tlpsrc_find_catalogue ($me) || $me; - - # ctan (and latex-tds) bundles all ams packages together, - # but we use separate tlp names. - $me = "amslatex" if $me =~ /^($amslatex_tds_pkgs)$/; + my $me = &tlpsrc_find_catalogue ($pkgname); + if (! $me) { + if ($pkgname =~ /^($amslatex_tds_pkgs)$/) { + # ctan (and latex-tds) bundles all ams packages together, + # but we use separate tlp names. + $me = "amslatex" ; + } elsif ($pkgname =~ /^($cjk_pkgs)$/) { + $me = "cjk"; # likewise CJK + } elsif ($pkgname eq "mkgrkindex") { + $me = "greek-makeindex"; # use directory name + } else { + $me = $pkgname; # usually the same + } + } - # Likewise CJK. - $me = "cjk" if $me =~ /^($cjk_pkgs)$/; - # The CTAN path to a package is sometimes stored in the TeX Catalogue, # but old entries don't have it, etc. Still, we want to use it if present. - my $ctan_dir = &catalogue_find_ctan_path ($me) unless $me eq "cc-pl"; + my $ctan_dir = &catalogue_find_ctan_path ($me); if (! $ctan_dir) { # fall back on many special cases (my $menobin = $me) =~ s,^bin-,,; diff --git a/Master/tlpkg/libexec/ctan2tds b/Master/tlpkg/libexec/ctan2tds index 4ba39ef60e2..b58b31fd3d5 100755 --- a/Master/tlpkg/libexec/ctan2tds +++ b/Master/tlpkg/libexec/ctan2tds @@ -1065,6 +1065,7 @@ $standardtex='\.(cfg|sty|clo|ldf|cls|def|fd|cmap|4ht)$'; 'metauml', 'metapost', 'mfpic', 'generic', 'midnight', 'generic', + 'mkgrkindex', 'support', 'mkpattern', 'plain', 'mkjobtexmf', 'generic', 'mpattern', 'metapost', @@ -1467,6 +1468,7 @@ $standardxmt='\.xmt'; 'fragmaster' => 'fragmaster.pl', 'latex2man' => 'latex2man$', 'latexmk' => '\.pl$', + 'mkgrkindex' => 'mkgrkindex$', 'mkjobtexmf' => '\.pl$', 'pdfcrop' => '\.pl$', 'perltex' => '\.pl$', diff --git a/Master/tlpkg/tlpsrc/collection-langgreek.tlpsrc b/Master/tlpkg/tlpsrc/collection-langgreek.tlpsrc index 6a0deed58ae..fe0a5948a53 100644 --- a/Master/tlpkg/tlpsrc/collection-langgreek.tlpsrc +++ b/Master/tlpkg/tlpsrc/collection-langgreek.tlpsrc @@ -16,6 +16,7 @@ depend kdgreek depend kerkis depend levy depend lgreek +depend mkgrkindex depend teubner depend xgreek depend yannisgr diff --git a/Master/tlpkg/tlpsrc/mkgrkindex.tlpsrc b/Master/tlpkg/tlpsrc/mkgrkindex.tlpsrc new file mode 100644 index 00000000000..e69de29bb2d -- cgit v1.2.3