summaryrefslogtreecommitdiff
path: root/Master/tlpkg
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2009-09-05 17:07:45 +0000
committerKarl Berry <karl@freefriends.org>2009-09-05 17:07:45 +0000
commit455f76be8969b17d671f95d6a640c42395fb678a (patch)
tree5ee2fa8f2e1f09cb58214ba125458f8600ab0f86 /Master/tlpkg
parent4eaa282a54305411f6cd6401919ce5b19b87e32d (diff)
thailatex 0.4.3, replacing our thaifonts package (28jul09)
git-svn-id: svn://tug.org/texlive/trunk@15132 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/tlpkg')
-rwxr-xr-xMaster/tlpkg/bin/tlpkg-ctan-check2
-rwxr-xr-xMaster/tlpkg/bin/tlpkginfo2
-rwxr-xr-xMaster/tlpkg/libexec/ctan2tds23
-rw-r--r--Master/tlpkg/tlpsrc/collection-langcjk.tlpsrc5
-rw-r--r--Master/tlpkg/tlpsrc/thailatex.tlpsrc0
5 files changed, 26 insertions, 6 deletions
diff --git a/Master/tlpkg/bin/tlpkg-ctan-check b/Master/tlpkg/bin/tlpkg-ctan-check
index b8480755f12..e99d9f0457a 100755
--- a/Master/tlpkg/bin/tlpkg-ctan-check
+++ b/Master/tlpkg/bin/tlpkg-ctan-check
@@ -245,7 +245,7 @@ my @WorkingTLP = qw(
texdirflatten texilikecover texloganalyser texmate texments
texpower texshade
textcase textfit textopo textpath textpos
- theoremref thesis-titlepage-fhac
+ thailatex theoremref thesis-titlepage-fhac
thinsp thmbox thmtools threeparttablex
thumb thumbpdf thuthesis ticket tikz-inet
tikz-timing timetable tipa
diff --git a/Master/tlpkg/bin/tlpkginfo b/Master/tlpkg/bin/tlpkginfo
index 11716a92308..2b9b928d4e8 100755
--- a/Master/tlpkg/bin/tlpkginfo
+++ b/Master/tlpkg/bin/tlpkginfo
@@ -18,7 +18,7 @@ sub main
# erroneous tds files (warn Robin about them) or problematic (purifyeps).
# list format: pkg1|pkg2|etc
- $erroneous_tds = "purifyeps|xetexref|xtab";
+ $erroneous_tds = "purifyeps|thailatex|xetexref|xtab";
# special packages from latex-tds project (used by prepare())
$corelatex_tds_pkgs = "babel|cyrillic|graphics|latex|psnfss|tools";
diff --git a/Master/tlpkg/libexec/ctan2tds b/Master/tlpkg/libexec/ctan2tds
index 3611f523fb3..28183919694 100755
--- a/Master/tlpkg/libexec/ctan2tds
+++ b/Master/tlpkg/libexec/ctan2tds
@@ -526,9 +526,7 @@ chdir $startdir || die "chdir($startdir) failed: $!"; # back to raw
'texdraw', "&MAKEtexdraw",
'texpower', "&MAKEnosymlinks",
'texsis', "&MAKEtexsis",
- 'thaifonts', "die 'skipping, see TODO'",
'thaifonts-scalable', "die 'Thai, fontforge format only, skip'",
- 'thailatex', "die 'Thai, requires preprocessor (?), skip'",
'thsmc', "die 'skipping, requires nonfree font'",
'ticket', "&MAKEflatten",
'tipa', "&MAKEtipa",
@@ -618,6 +616,7 @@ chdir $startdir || die "chdir($startdir) failed: $!"; # back to raw
'pst-cox' => '&POSTpstcox',
'pst-geo' => '&POSTpstgeo',
'splitindex' => '&POSTsplitindex',
+ 'thailatex' => '&POSTthailatex',
'xecyr' => '&POSTxecyr',
'xetex-pstricks' => '&POSTxetexpstricks',
'zhspacing' => '&POSTzhspacing',
@@ -657,6 +656,7 @@ $standardsource='\.fdd|\.dtx|\.ins|\.c$|Makefile|configure.*|install-sh|\.drv';
'patch', '\.doc',
'pgfplots', 'NULL', # keep manual.install.tex in doc/
'rcs', 'rcs.el|src|' . $standardsource,
+ 'thailatex', 'NULL', # no gain in breaking this up
'xlop', 'manual.sty|' . $standardsource,
);
@@ -3738,6 +3738,25 @@ sub POSTsplitindex
&SYSTEM ("$MV doc/latex/splitindex/$package.1 $mydest");
}
+sub POSTthailatex
+{
+ # don't install tlatex since we don't have the other preprocessors
+ # it needs to actually work.
+ print "POST$package - mv fonts\n";
+ my $fontdir = "$TOPDEST/texmf-dist/fonts/";
+ for my $ext ("afm", "pfb") {
+ my $level = $ext eq "pfb" ? "type1" : $ext;
+ my $dest = "$fontdir/$level/public/$package/";
+ &xmkdir ($dest);
+ &SYSTEM ("$MV fonts/*.$ext $dest");
+ }
+
+ # somehow it seems more appropriate to put everything in source/
+ # than doc/ in this case. Their doc/ dir seems to be just examples.
+ &xchdir ($DEST);
+ &SYSTEM ("$MV doc/latex/$package source/latex/$package");
+}
+
sub POSTxecyr
{
print "POST$package - handling bat, moving language.dat.add from runtime\n";
diff --git a/Master/tlpkg/tlpsrc/collection-langcjk.tlpsrc b/Master/tlpkg/tlpsrc/collection-langcjk.tlpsrc
index ccf99ea8f75..fda34afbd5b 100644
--- a/Master/tlpkg/tlpsrc/collection-langcjk.tlpsrc
+++ b/Master/tlpkg/tlpsrc/collection-langcjk.tlpsrc
@@ -1,6 +1,7 @@
category Collection
shortdesc Chinese, Japanese, Korean
-longdesc CJK (Chinese, Japanese, Korean) macros, fonts, documentation.
+longdesc CJK (Chinese, Japanese, Korean) macros, fonts, documentation,
+longdesc also Thai since there is some overlap in the fonts.
depend arphic
depend c90
depend cjk
@@ -12,7 +13,7 @@ depend dnp
depend garuda-c90
depend hyphen-chinese
depend norasi-c90
-depend thaifonts
+depend thailatex
depend uhc
depend wadalab
depend zhmetrics
diff --git a/Master/tlpkg/tlpsrc/thailatex.tlpsrc b/Master/tlpkg/tlpsrc/thailatex.tlpsrc
new file mode 100644
index 00000000000..e69de29bb2d
--- /dev/null
+++ b/Master/tlpkg/tlpsrc/thailatex.tlpsrc