summaryrefslogtreecommitdiff
path: root/Master/tlpkg/bin/tlpkginfo
diff options
context:
space:
mode:
Diffstat (limited to 'Master/tlpkg/bin/tlpkginfo')
-rwxr-xr-xMaster/tlpkg/bin/tlpkginfo13
1 files changed, 9 insertions, 4 deletions
diff --git a/Master/tlpkg/bin/tlpkginfo b/Master/tlpkg/bin/tlpkginfo
index a21a2e57d0b..7a8e2ba1c10 100755
--- a/Master/tlpkg/bin/tlpkginfo
+++ b/Master/tlpkg/bin/tlpkginfo
@@ -23,8 +23,11 @@ sub main
# special packages from latex-tds project (used by prepare())
$corelatex_tds_pkgs = "babel|cyrillic|graphics|latex|psnfss|tools";
$amslatex_tds_pkgs = "ams|amsrefs|amsmath"; # for tlpsrc_find_catalogue() too
- $latex_tds_pkgs = "latex-tds|knuth||$amslatex_tds_pkgs|$corelatex_tds_pkgs";
+ $latex_tds_pkgs = "latex-tds|knuth|$amslatex_tds_pkgs|$corelatex_tds_pkgs";
$latex_tds_dir = "$CTAN/macros/latex/contrib/latex-tds";
+
+ # and the CJK material is split into several packages.
+ $cjk_pkgs = "bin-(cjk|ttf)utils|c90enc|garuda|norasi";
if ($ARGV[0] eq "--ctan-dir") {
my $output = &find_ctan_dir ($ARGV[1]);
@@ -59,9 +62,12 @@ sub find_ctan_dir
$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)$/;
+ # but we use separate tlp names.
+ $me = "amslatex" if $me =~ /^($amslatex_tds_pkgs)$/;
+ # 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);
@@ -123,7 +129,6 @@ sub find_ctan_dir
}
# names totally dissimilar
- $ctan_dir = "language/chinese/CJK" if $me eq "bin-cjkutils";
$ctan_dir = "fonts/fourier-GUT" if $me eq "fourier";
$ctan_dir = "graphics/pdftex" if $me eq "pdftex-def";
$ctan_dir = "info/biblio" if $me eq "beebe";