summaryrefslogtreecommitdiff
path: root/Master
diff options
context:
space:
mode:
authorNorbert Preining <preining@logic.at>2008-09-27 11:26:42 +0000
committerNorbert Preining <preining@logic.at>2008-09-27 11:26:42 +0000
commit0b8df8ae5c8d27167501c6b2d98e6bb964764d41 (patch)
tree9154b672b185e5d685801c3ab377674f7137986d /Master
parent5d3a1476294a9dba906948950a7f0db1f32a24c0 (diff)
update ctan2tds for elsarticle
git-svn-id: svn://tug.org/texlive/trunk@10741 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rwxr-xr-xMaster/tlpkg/bin/ctan2tds16
1 files changed, 15 insertions, 1 deletions
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";