summaryrefslogtreecommitdiff
path: root/Master/tlpkg/bin
diff options
context:
space:
mode:
Diffstat (limited to 'Master/tlpkg/bin')
-rwxr-xr-xMaster/tlpkg/bin/ctan2tds21
-rwxr-xr-xMaster/tlpkg/bin/tlpkginfo13
2 files changed, 30 insertions, 4 deletions
diff --git a/Master/tlpkg/bin/ctan2tds b/Master/tlpkg/bin/ctan2tds
index 67c279dc892..028cb9ca936 100755
--- a/Master/tlpkg/bin/ctan2tds
+++ b/Master/tlpkg/bin/ctan2tds
@@ -95,6 +95,7 @@ chdir $startdir || die "chdir($startdir) failed: $!"; # back to raw
'bookhands', "&MAKEwilson",
'borceux', "&MAKEborceux",
'burmese', "&MAKEflatten",
+ 'c90enc', "&MAKEc90enc",
'calendar', "die 'skipping, nosell license'",
'camel', "die 'skipping, nosell license'",
'cbfonts', "&MAKEflatten",
@@ -199,6 +200,7 @@ chdir $startdir || die "chdir($startdir) failed: $!"; # back to raw
'futhark', "die 'skipping, nonfree license'",
'futurans', "die 'skipping, requires nonfree font'",
'galley', "die 'skipping, will be included in xpackages later'",
+ 'garuda', "&MAKEgaruda",
'gene', "die 'skipping, complicated, some have sources, sorry'",
'genmisc', "die 'too complicated, sorry'",
'germbib', "&MAKEgermbib",
@@ -306,6 +308,7 @@ chdir $startdir || die "chdir($startdir) failed: $!"; # back to raw
'newthm', "die 'skipping, obsolete, no longer on ctan'",
'niceframe', "die 'skipping, nosell license'",
'nohyph', "die 'skipping, nohyph must be done by hand'",
+ 'norasi', "&MAKEnorasi",
'notes', "&MAKEnotes",
'numline', "die 'skipping, obsolete'",
'oca', "die 'skipping, nosell license'",
@@ -3202,6 +3205,24 @@ sub MAKEbin_cjkutils
require "/home/karl/c/bin-cjkutils.pl";
}
+sub MAKEc90enc
+{
+ &MAKEcjk_common ();
+ require "/home/karl/c/c90enc.pl";
+}
+
+sub MAKEgaruda
+{
+ &MAKEcjk_common ();
+ require "/home/karl/c/garuda.pl";
+}
+
+sub MAKEnorasi
+{
+ &MAKEcjk_common ();
+ require "/home/karl/c/norasi.pl";
+}
+
sub MAKEkarlcjk
{
print "\t SPECIAL $package wholesale rearranging\n";
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";