summaryrefslogtreecommitdiff
path: root/Master/tlpkg
diff options
context:
space:
mode:
Diffstat (limited to 'Master/tlpkg')
-rwxr-xr-xMaster/tlpkg/bin/tlpkg-ctan-check4
-rwxr-xr-xMaster/tlpkg/bin/tlpkginfo28
-rwxr-xr-xMaster/tlpkg/libexec/ctan2tds2
-rw-r--r--Master/tlpkg/tlpsrc/collection-langgreek.tlpsrc1
-rw-r--r--Master/tlpkg/tlpsrc/mkgrkindex.tlpsrc0
5 files changed, 22 insertions, 13 deletions
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
--- /dev/null
+++ b/Master/tlpkg/tlpsrc/mkgrkindex.tlpsrc