summaryrefslogtreecommitdiff
path: root/Master/tlpkg/libexec
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2019-10-10 21:58:46 +0000
committerKarl Berry <karl@freefriends.org>2019-10-10 21:58:46 +0000
commitdd0d081462a3fa63368e0f0ec875e097c883c361 (patch)
treefdf37dda7428d68a58db673422734a708eae3643 /Master/tlpkg/libexec
parent2d0e78c3e9d6118b73f0a80f3b8d84b99cc3dd60 (diff)
shipunov with -shipunov postfix for new .sty (8oct19)
git-svn-id: svn://tug.org/texlive/trunk@52334 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/tlpkg/libexec')
-rwxr-xr-xMaster/tlpkg/libexec/ctan2tds28
1 files changed, 27 insertions, 1 deletions
diff --git a/Master/tlpkg/libexec/ctan2tds b/Master/tlpkg/libexec/ctan2tds
index e21c42a6d6a..1ecb5150691 100755
--- a/Master/tlpkg/libexec/ctan2tds
+++ b/Master/tlpkg/libexec/ctan2tds
@@ -1516,7 +1516,8 @@ chomp (my $ctan_root = `tlpkginfo --ctan-root`);
'pxbase' => '&POSTpxbase',
'pxchfon' => '&POSTpxchfon',
'recipebook' => '&POST_rmsymlink',
- 'schule', => '&POSTschule',
+ 'schule' => '&POSTschule',
+ 'shipunov' => '&POSTshipunov',
'simple-resume-cv' => '&POST_simple_rmFonts',
'simple-thesis-dissertation' => '&POST_simple_rmFonts',
'splitindex' => '&POST_do_man',
@@ -2536,6 +2537,7 @@ $standardsource = '(\.(bat|c|drv|dtx|fea|fdd|ins|sfd)'
'rcs', 'rcs.el|src|' . $standardsource,
'ruhyphen', '^[^.]*$|README.ru|hyphen.rules',
'selnolig', 'NULL', # not .fea
+ 'shipunov', 'NULL', # .bat in scripts
'texdraw', 'NULL',
'texosquery', 'java|\.batch$|' . $standardsource,
'thailatex', 'NULL', # no gain in splitting up
@@ -3023,6 +3025,7 @@ $standardttf = '\.ttf|\.TTC';
'placeat' => '\.lua$',
'pst-pdf' => '\.bat(.w95)?$',
'pythontex' => '([23]|_.*)\.py$',
+ 'shipunov' => '\.(bat|sh|pl)$',
'songs' => '\.lua$',
'spelling' => '\.lua$',
'texdoc', => '[^c]\.tlu$', # luckily that's enough
@@ -6613,6 +6616,29 @@ sub POSTschule {
&SYSTEM ("$MV doc/* . && rmdir doc");
}
+sub POSTshipunov {
+ print "POST$package - rename new style files per agreement with author\n";
+ #
+ # Discussion with package author, Alexey Shipunov, as of 10oct19: I
+ # (Karl) noticed the new style file names (the four below) were
+ # completely generic, and asked him to rename. Alexey said that
+ # although they had only been uploaded to CTAN recently, they were in
+ # use for many years by him and other users, via downloads from his
+ # web site. We agreed to compromise by renaming them with -shipunov
+ # postfix for TeX Live only, the convention he will follow from now
+ # on. The previous .sty names (ca. 2010) are also completely generic,
+ # and I shouldn't have accepted them, but have to grandfather them in
+ # at this point.
+ #
+ my $pkgdir = "$DEST/tex/latex/$package";
+ for my $sty (qw(add2 dline qqru textfrac)) {
+ &SYSTEM ("$MV $pkgdir/$sty.sty $pkgdir/$sty-shipunov.sty");
+ }
+ #
+ # the scripts dir is ok in doc/, avoid possible clash.
+ &SYSTEM ("$MV $DEST/scripts/$package scripts");
+}
+
sub POST_simple_rmFonts {
print "POST$package - rm Fonts dir\n";
&SYSTEM ("$RM -r Fonts");