From 0b8df8ae5c8d27167501c6b2d98e6bb964764d41 Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Sat, 27 Sep 2008 11:26:42 +0000 Subject: update ctan2tds for elsarticle git-svn-id: svn://tug.org/texlive/trunk@10741 c570f23f-e606-0410-a88d-b1316a301751 --- Master/tlpkg/bin/ctan2tds | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) (limited to 'Master/tlpkg/bin/ctan2tds') diff --git a/Master/tlpkg/bin/ctan2tds b/Master/tlpkg/bin/ctan2tds index 637fd58b319..7fdf005bc60 100755 --- a/Master/tlpkg/bin/ctan2tds +++ b/Master/tlpkg/bin/ctan2tds @@ -460,6 +460,7 @@ chdir $startdir || die "chdir($startdir) failed: $!"; # back to raw 'context-lilypond' => '&POSTcontext_lilypond', 'datetime' => '&POSTlatex2html', 'doipubmed' => '&POSTlatex2html', + 'elsarticle' => '&POSTelsarticle', 'fpl' => '&POSTfpl', 'glossaries' => '&POSTglossaries', 'ibygrk' => '&POSTibygrk', @@ -1303,7 +1304,7 @@ $standardclean = '\.head|\.tmp|\.dvi|\.log|\.out|\.aux|\.toc|\.lof|\.lot' 'din1505' => 'leitbild3.pdf|normpatsoft.pdf', # no source 'ecclesiastic' => 'ecclesiastic-sample.pdf', # no source 'ednotes' => 'perpage.sty', # copy from bigfoot - 'elsarticle' => 'elsdoc.pdf', # no source +# 'elsarticle' => 'elsdoc.pdf', # no source 'epslatex-fr' => 'R?Danger.eps', 'flacards' => 'flacards.pdf', 'gfsartemisia' => 'A*Specimen.pdf', # nonfree @@ -3315,6 +3316,19 @@ sub POSTlatex2html &SYSTEM ("$MV $DEST/scripts/latex2html/styles/$package.perl $dest"); } +sub POSTelsarticle +{ + print "POST$package - move stuff contrib and src/* to source\n"; + my $dest = "$DEST/source/latex/$package"; + &SYSTEM ("mkdir -p $dest"); + # we don't need two copies of that file + &SYSTEM ("rm contrib/elsdoc.pdf"); + &SYSTEM ("mv contrib $dest"); + &SYSTEM ("mv src/* $dest"); + &SYSTEM ("mv elsdoc.tex $dest"); + &SYSTEM ("rmdir src"); +} + sub POSTlibertine { print "POST$package - remove duplicates, nosource docs"; -- cgit v1.2.3