From c5409cccadbcad6f11322d6fb1dd4fb4c9a05822 Mon Sep 17 00:00:00 2001 From: Manuel Pégourié-Gonnard Date: Tue, 15 Apr 2008 15:46:34 +0000 Subject: leading - adapting ctan2tds git-svn-id: svn://tug.org/texlive/trunk@7424 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/source/latex/leading/leading.ins | 1 + Master/tlpkg/bin/ctan2tds | 102 +++++++++++++++++++++ 2 files changed, 103 insertions(+) (limited to 'Master') diff --git a/Master/texmf-dist/source/latex/leading/leading.ins b/Master/texmf-dist/source/latex/leading/leading.ins index 272dc67de35..e9fd8e01f51 100644 --- a/Master/texmf-dist/source/latex/leading/leading.ins +++ b/Master/texmf-dist/source/latex/leading/leading.ins @@ -11,6 +11,7 @@ %% %% License information appended. %% +%% \input docstrip.tex \keepsilent \preamble diff --git a/Master/tlpkg/bin/ctan2tds b/Master/tlpkg/bin/ctan2tds index c4a026c18a3..c0aff3a98af 100755 --- a/Master/tlpkg/bin/ctan2tds +++ b/Master/tlpkg/bin/ctan2tds @@ -195,6 +195,7 @@ chdir $startdir || die "chdir($startdir) failed: $!"; # back to raw 'hyphen-german',"die 'please install hyphen-german by hand, sorry'", 'ibycus-babel',"&MAKEibycusbabel", 'ibygrk', "&MAKEflatten", + 'inversepath', "&MAKEinversepath", 'invoice', "&MAKEflatten", 'iwona', "&MAKEcopy", 'japanese', "die 'skipping, requires ptex'", @@ -210,6 +211,7 @@ chdir $startdir || die "chdir($startdir) failed: $!"; # back to raw 'latex-tds', "&MAKEcopy", # we use latex-tds/source.zip 'latex-veryshortguide', "die 'skipping, nosell license'", 'latexmp', "&MAKEflatten", + 'leading', "&MAKEleading", 'leawood', "&MAKEflatten", 'lettre', "&MAKEflatten", 'lettrine', "&MAKEflatten", @@ -2693,6 +2695,106 @@ sub MAKEFAQen &SYSTEM ("tar xzf FAQ-html.tar.gz && rm FAQ-html.tar.gz"); } +# Almost donormal() but .ins overwites itself... Wrote to Will (2008/04/15) +sub MAKEleading { + print "doing MAKE$package... \n" + &setup; + chdir("$DEST/doc/$whichdocformat/$package"); + &buildfilelist; + + ## save the original .ins + &SYSTEM ("$CP $package.ins $package.ins.ori"); + + # run the .ins files (if any) supplied + $inspatt = $specialins{$package} || $standardins; + $Foundry = $specialfoundry{$package} || $standardfoundry; + &runins($inspatt); + + ## restore the original .ins + &SYSTEM ("$MV $package.ins.ori $package.ins"); + + # rebuild the list of files in the directory + &buildfilelist; + + if ($Foundry eq "metafont") { + &dosimplemf; + } else { + &domf; + } + + &dodvi; + # rebuild again, as we have .dvi files now + &buildfilelist; + &dobst; + &domp; + &dobib; + &doxmt; + &dotex; + &runfonts; + &domakeindex; + &doomega; + &dosource; + &dotype1; + &doscripts; + + # remove empty directories that we never used. + &SYSTEM ("rmdir $DEST/*/$whichformat/$package 2>/dev/null"); + + &killfiles ($specialclean{$package} || $standardclean); + my $postaction = $specialpostaction{$package}; + eval ($postaction) if $postaction; +} + +# Almost donormal() but .ins overwites itself... Wrote to Will (2008/04/15) +sub MAKEinversepath { + print "doing MAKE$package... \n" + &setup; + chdir("$DEST/doc/$whichdocformat/$package"); + &buildfilelist; + + ## save the original .ins + &SYSTEM ("$CP $package.ins $package.ins.ori"); + + # run the .ins files (if any) supplied + $inspatt = $specialins{$package} || $standardins; + $Foundry = $specialfoundry{$package} || $standardfoundry; + &runins($inspatt); + + ## restore the original .ins + &SYSTEM ("$MV $package.ins.ori $package.ins"); + + # rebuild the list of files in the directory + &buildfilelist; + + if ($Foundry eq "metafont") { + &dosimplemf; + } else { + &domf; + } + + &dodvi; + # rebuild again, as we have .dvi files now + &buildfilelist; + &dobst; + &domp; + &dobib; + &doxmt; + &dotex; + &runfonts; + &domakeindex; + &doomega; + &dosource; + &dotype1; + &doscripts; + + # remove empty directories that we never used. + &SYSTEM ("rmdir $DEST/*/$whichformat/$package 2>/dev/null"); + + &killfiles ($specialclean{$package} || $standardclean); + my $postaction = $specialpostaction{$package}; + eval ($postaction) if $postaction; +} + # all the lshort translations are pretty similar. sub MAKElshort { print "MAKElshort $package\n"; -- cgit v1.2.3