summaryrefslogtreecommitdiff
path: root/Master/tlpkg/libexec/ctan2tds
diff options
context:
space:
mode:
Diffstat (limited to 'Master/tlpkg/libexec/ctan2tds')
-rwxr-xr-xMaster/tlpkg/libexec/ctan2tds25
1 files changed, 18 insertions, 7 deletions
diff --git a/Master/tlpkg/libexec/ctan2tds b/Master/tlpkg/libexec/ctan2tds
index ca0a71a2551..b13610c5712 100755
--- a/Master/tlpkg/libexec/ctan2tds
+++ b/Master/tlpkg/libexec/ctan2tds
@@ -604,6 +604,7 @@ chdir $startdir || die "chdir($startdir) failed: $!"; # back to raw
'splitindex' => '&POSTsplitindex',
'xecyr' => '&POSTxecyr',
'xetex-pstricks' => '&POSTxetex_pstricks',
+ 'zhspacing' => '&POSTzhspacing',
);
@@ -777,13 +778,14 @@ $standardsourcefmt='latex';
'vaucanson-g', 'generic',
'vertex', 'plain',
'wasy2', 'plain',
- 'xepersian', 'xelatex',
- 'xetex-def', 'xelatex',
- 'xetexfontinfo','xetex',
- 'xltxtra', 'xelatex',
- 'xmlplay', 'xmltex',
- 'xstring', 'generic',
- 'xunicode', 'xelatex',
+ 'xepersian', 'xelatex',
+ 'xetex-def', 'xelatex',
+ 'xetexfontinfo', 'xetex',
+ 'xltxtra', 'xelatex',
+ 'xmlplay', 'xmltex',
+ 'xstring', 'generic',
+ 'xunicode', 'xelatex',
+ 'zhspacing', 'xetex',
);
$standardfmt='latex';
@@ -3749,6 +3751,15 @@ sub POSTxetex_pstricks
&SYSTEM ("$MV generic xelatex xetex tex");
}
+sub POSTzhspacing
+{
+ print "POST$package - move subdirectories.\n";
+ my $dstdir = "$DEST/tex/xetex/$package";
+ &xmkdir ($dstdir);
+ &SYSTEM ("$MV context latex plain $dstdir/");
+ &SYSTEM ("$MV doc/* .; rmdir doc");
+}
+
# Allow overrides. In particular, CTAN can change some hashes to make
# packages with licenses that TL doesn't allow.