diff options
author | Karl Berry <karl@freefriends.org> | 2008-11-25 01:28:42 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2008-11-25 01:28:42 +0000 |
commit | 6866223d1f064649cf7f9b8cb6b83fdbfae23d4f (patch) | |
tree | be3ce5888a619837d06c9299fd9107d486cca50c /Master/tlpkg/bin/tlpkginfo | |
parent | 5f6cc6c2f8ebbeee0dd2fc7895ddb75548bb31f6 (diff) |
tablor 4.02b (24nov08)
git-svn-id: svn://tug.org/texlive/trunk@11412 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/tlpkg/bin/tlpkginfo')
-rwxr-xr-x | Master/tlpkg/bin/tlpkginfo | 13 |
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"; |