summaryrefslogtreecommitdiff
path: root/Master/tlpkg/libexec/ctan2tds
diff options
context:
space:
mode:
Diffstat (limited to 'Master/tlpkg/libexec/ctan2tds')
-rwxr-xr-xMaster/tlpkg/libexec/ctan2tds17
1 files changed, 17 insertions, 0 deletions
diff --git a/Master/tlpkg/libexec/ctan2tds b/Master/tlpkg/libexec/ctan2tds
index 469efaa639a..6b64ee418a2 100755
--- a/Master/tlpkg/libexec/ctan2tds
+++ b/Master/tlpkg/libexec/ctan2tds
@@ -656,6 +656,7 @@ $Master = "$mydir/../..";
'pstrees', "die 'skipping, obsolete (for latex 2.09)'",
'pstricks', "&MAKEpstricks",
'pstricks-add',"&MAKEpst",
+ 'ptsans', "&MAKEcopy",
'pxfonts', "&MAKEflatten",
'r2bib', "die 'skipping, requires compilation'",
'ragged2e', "die 'skipping, part of ms'",
@@ -844,6 +845,7 @@ $Master = "$mydir/../..";
'prerex' => '&POSTprerex',
'pst-cox' => '&POSTpstcox',
'pst-geo' => '&POSTpstgeo',
+ 'ptsans' => '&POSTptsans',
'splitindex' => '&POSTsplitindex',
'thailatex' => '&POSTthailatex',
'xecyr' => '&POSTxecyr',
@@ -4255,6 +4257,21 @@ sub POSTpstgeo {
&SYSTEM ("$MV doc/* .");
}
+sub POSTptsans {
+ print "POST$package - enc/map dirs, space names\n";
+ for my $type ("enc", "map") {
+ &SYSTEM ("$MV $DEST/fonts/$type/dvips/paratype/$package "
+ . "$DEST/fonts/$type/dvips/");
+ };
+ &xchdir ("$DEST/doc/fonts/$package");
+ for my $spacefile (<PT*>) { # PT Free Font License...
+ (my $file = $spacefile) =~ s/ //g;
+ print "\t $spacefile->$file\n";
+ rename ($spacefile, $file)
+ || warn "rename($spacefile->$file) failed: $!";
+ }
+}
+
# has to be post instead of specialman because we use the tds.zip.
sub POSTsplitindex {
print "POST$package - mv man page\n";