summaryrefslogtreecommitdiff
path: root/Master/tlpkg/libexec/ctan2tds
diff options
context:
space:
mode:
Diffstat (limited to 'Master/tlpkg/libexec/ctan2tds')
-rwxr-xr-xMaster/tlpkg/libexec/ctan2tds38
1 files changed, 22 insertions, 16 deletions
diff --git a/Master/tlpkg/libexec/ctan2tds b/Master/tlpkg/libexec/ctan2tds
index e83f933262f..a6efe0acb73 100755
--- a/Master/tlpkg/libexec/ctan2tds
+++ b/Master/tlpkg/libexec/ctan2tds
@@ -1553,6 +1553,7 @@ chomp (my $ctan_root = `tlpkginfo --ctan-root`);
'pmx' => '&POSTpmx',
'pmxchords' => '&POST_do_man',
'prerex' => '&POSTprerex',
+ 'psnfss' => '&POSTpsnfss',
'pst-cox' => '&POSTpstcox',
'pst-geo' => '&POSTpstgeo',
'ptex-fontmaps' => '&POSTptex_fontmaps',
@@ -3346,6 +3347,7 @@ $standardclean = '\.head|\.tmp|\.dvi|\.log|\.out|\.aux|\.toc|\.lof|\.lot'
'musixtnt' => 'msxlint(.exe)?$', # extra binaries
'pkfix-helper' => 'pkfix-helper.pdf',
'placeat' => $standardclean . '|README\.$',
+ 'psnfss' => $standardclean . '|8r\.enc$', # already in dvips
'purifyeps' => 'purifyeps.pdf',
'revtex' => '00readme.tex|DOWNLOAD|README', # already in doc
'sanskrit' => 'ps-type1|sktdoc.ps', # symlink, pdf in sanskrit-t1
@@ -5441,22 +5443,6 @@ sub MAKEfontinst {
print "\t YOU-MUST-DO $package copy fontinst.bat to bin/win32\n";
}
-sub MAKEpsnfss {
- # we use the psnfss.zip from the latex-tds project.
- # But we don't want the actual tfm/vf; TL has many more tfm's (in
- # different packages), and we don't want to mess with that. So just
- # remove the fonts subdir -- except for the map files, which we do want.
- #
- print "\t SPECIAL $package omit fonts from latex-tds version\n";
-
- # Start with the usual straight copy.
- &MAKEcopy ();
-
- # Then remove the entire fonts tree.
- &xchdir ("$DEST/fonts");
- &SYSTEM ("rm -rf enc tfm vf");
-}
-
# CJK (from Werner Lemberg)
@@ -6371,6 +6357,26 @@ sub POSTinteractiveworkbook {
&SYSTEM ("rmdir interactiveworkbook.sty");
}
+sub POSTpsnfss {
+ print "POST$package - extract tex subdirs from zip files, etc.\n";
+ #
+ # keep test/ subdir in doc just because that's what heiko did in latex-tds.
+ &xmkdir ("test");
+ &xsystem ("mv *test*.tex test/");
+ #
+ # We don't want the actual tfm/vf from the sub-package zip files; TL
+ # has many more tfm's (in different packages), and we don't want to
+ # mess with that. So just remove the fonts subdir -- except for the
+ # map files, which we do want.
+ # Each zip has a top-level dir named the same as the .zip file.
+ for my $zip ("freenfss", "lw35nfss") {
+ &xsystem ("unzip -q $zip.zip");
+ &xsystem ("rm -rf $zip/fonts/tfm $zip/fonts/vf");
+ &xsystem ("$MV $zip/tex/latex/$package/* $DEST/tex/latex/$package/");
+ &xsystem ("rm -rf $zip.zip $zip/");
+ }
+}
+
sub POSTptex_fontmaps {
print "POST$package - move directories around\n";
# dir "src" content -> run files