From 455f76be8969b17d671f95d6a640c42395fb678a Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sat, 5 Sep 2009 17:07:45 +0000 Subject: thailatex 0.4.3, replacing our thaifonts package (28jul09) git-svn-id: svn://tug.org/texlive/trunk@15132 c570f23f-e606-0410-a88d-b1316a301751 --- Master/tlpkg/libexec/ctan2tds | 23 +++++++++++++++++++++-- 1 file changed, 21 insertions(+), 2 deletions(-) (limited to 'Master/tlpkg/libexec') 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"; -- cgit v1.2.3