diff options
Diffstat (limited to 'Master/tlpkg/libexec')
-rwxr-xr-x | Master/tlpkg/libexec/ctan2tds | 28 |
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"); |