summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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";