summaryrefslogtreecommitdiff
path: root/Master/tlpkg/bin/ctan2tds
diff options
context:
space:
mode:
Diffstat (limited to 'Master/tlpkg/bin/ctan2tds')
-rwxr-xr-xMaster/tlpkg/bin/ctan2tds19
1 files changed, 18 insertions, 1 deletions
diff --git a/Master/tlpkg/bin/ctan2tds b/Master/tlpkg/bin/ctan2tds
index d98c14c3443..3ebdf230693 100755
--- a/Master/tlpkg/bin/ctan2tds
+++ b/Master/tlpkg/bin/ctan2tds
@@ -309,7 +309,7 @@ chdir $startdir || die "chdir($startdir) failed: $!"; # back to raw
'pst-blur', "&MAKEpst",
'pst-circ', "&MAKEpst",
'pst-coil', "&MAKEpst",
- 'pst-cox', "&MAKEpst",
+ 'pst-cox', "&MAKEflatten",
'pst-dbicons', "&MAKEpst",
'pst-diffraction', "&MAKEpst",
'pst-eps', "&MAKEpst",
@@ -422,6 +422,7 @@ chdir $startdir || die "chdir($startdir) failed: $!"; # back to raw
'ibygrk' => '&POSTibygrk',
'interactiveworkbook' => '&POSTinteractiveworkbook',
'pgf' => '&POSTpgf',
+ 'pst-cox' => '&POSTpstcox',
);
@@ -623,6 +624,7 @@ $standardsourcefmt='latex';
'pictex', 'generic',
'plnfss', 'plain',
'pstricks', 'generic',
+ 'pst-cox', 'generic',
'ruhyphen', 'generic',
'shapepar', 'generic',
'texsis', 'texsis',
@@ -726,6 +728,7 @@ $standardfmt='latex';
'pictex', 'generic',
'plnfss', 'plain',
'psfrag-italian', 'italian',
+ 'pst-cox', 'generic',
'pxfonts', 'fonts',
'shapepar', 'generic',
'skak', 'latex',
@@ -890,6 +893,7 @@ $standardtex='\.cfg|\.sty|\.clo|\.ldf|\.cls|\.def|\.fd$';
'ppchtex', 'm.*tex|m.*sty',
'prosper', '\.ps|\.eps|\.sty|\.cls',
'pstricks', 'pst-*\.tex',
+ 'pst-cox', 'pst-cox(coor|eterp)\.tex',
'pst-geo', 'pst-map.*\.tex|pst-map.*\.sty',
'pst-infixplot', 'infix-RPN\.tex|pst-infixplot\.tex',
'qobitree', 'qobitree.tex',
@@ -3285,6 +3289,19 @@ sub POSTpgf
&SYSTEM ("cd $DEST && mkdir tex && mv context generic latex plain tex");
}
+sub POSTpstcox
+{
+ print "\t POST$package mv latex .sty, doc Gallery\n";
+ &SYSTEM ("mkdir -p $DEST/tex/latex/$package");
+ &SYSTEM ("mv -v $DEST/doc/generic/$package/*sty $DEST/tex/latex/$package");
+ &xchdir ("$DEST/doc/generic/$package");
+ &SYSTEM ("mkdir pst-coxeterp/");
+ # oops, depends on find order
+ &SYSTEM ("mv -v Gallery.tex pst-coxeterp?* pst-coxeterp/");
+ &SYSTEM ("mv -v doc/pst-coxcoor/ pst-coxcoor");
+ &SYSTEM ("mv -v pst-coxcoor?* pst-coxcoor");
+}
+
# Allow overrides. In particular, CTAN can change some hashes to make
# packages with licenses that TL doesn't allow.