diff options
Diffstat (limited to 'Master/tlpkg/libexec/ctan2tds')
-rwxr-xr-x | Master/tlpkg/libexec/ctan2tds | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/Master/tlpkg/libexec/ctan2tds b/Master/tlpkg/libexec/ctan2tds index a6c70d6b755..a94ff01632c 100755 --- a/Master/tlpkg/libexec/ctan2tds +++ b/Master/tlpkg/libexec/ctan2tds @@ -552,6 +552,7 @@ chdir $startdir || die "chdir($startdir) failed: $!"; # back to raw ); %specialpostaction = ( + 'apalike' => '&POSTapalike', 'bibleref' => '&POSTlatex2html', 'context-games' => '&POSTcontext_games', 'context-lilypond' => '&POSTcontext_lilypond', @@ -917,6 +918,7 @@ $standardtex='\.(cfg|sty|clo|ldf|cls|def|fd|cmap|4ht)$'; %specialdocfmt = ( 'abbr', 'generic', 'abstyles', 'bibtex', + 'apalike', 'bibtex', 'accfonts', 'fonts', 'amsldoc-it', 'italian', 'amsldoc-vn', 'vietnamese', @@ -1447,6 +1449,7 @@ $standardclean = '\.head|\.tmp|\.dvi|\.log|\.out|\.aux|\.toc|\.lof|\.lot' 'accfonts' => $standardclean . '|dvips.enc', # dup enc 'achemso' => "$standardclean|jawltxdoc.sty", # temp file for doc 'acmconf' => "$standardclean|flushend.sty", # dup with sttools + 'apalike' => "apalike2.bst", # does not belong 'bbm-macros' => $standardclean . '|^bbm$', # symlink 'chemscheme' => "$standardclean|jawltxdoc.sty", # temp file for doc 'chemstyle' => "$standardclean|jawltxdoc.sty", # temp file for doc @@ -3467,6 +3470,16 @@ sub PREHOOK_wsuipa +sub POSTapalike +{ + print "POST$package - move apalike.tex to runtime\n"; + # can't use specialtex because we also need apalike.sty in latex. + my $src = "$DEST/doc/$whichdocformat/$package/apalike.tex"; + my $dstdir = "$DEST/tex/plain/$package"; + &xmkdir ($dstdir); + &SYSTEM ("$MV $src $dstdir/"); +} + sub POSTcoordsys { print "POST$package - rename `putfile.' to `putfile.maple'.\n"; @@ -3498,8 +3511,6 @@ sub POSTelsarticle { print "POST$package - move contrib and src/* to source\n"; &xchdir ("$DEST/doc/$whichdocformat/$package"); - warn `pwd`; - warn `vdir`; my $dest = "$DEST/source/latex/$package"; &xmkdir ($dest); # we don't need two copies of that file |