summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/rsc/rsc.ins
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/source/latex/rsc/rsc.ins')
-rw-r--r--Master/texmf-dist/source/latex/rsc/rsc.ins29
1 files changed, 20 insertions, 9 deletions
diff --git a/Master/texmf-dist/source/latex/rsc/rsc.ins b/Master/texmf-dist/source/latex/rsc/rsc.ins
index 4f2c40b815a..cc580058168 100644
--- a/Master/texmf-dist/source/latex/rsc/rsc.ins
+++ b/Master/texmf-dist/source/latex/rsc/rsc.ins
@@ -16,22 +16,33 @@
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\input docstrip.tex
+\askonceonly
\preamble
----------------------------------------------------------------
The rsc package - BibTeX and macro support for Royal Society
- of Chemistry style articles
+ of Chemistry and Wiley chemistry articles
Maintained by Joseph A. Wright
E-mail: joseph.wright@morningstar2.co.uk
Released under the GNU General Public License
See http://www.gnu.org/licenses/gpl.txt
----------------------------------------------------------------
\endpreamble
-\Msg{Generating package file rsc.bst:}
-\generateFile{rsc.bst}{f}{\from{rsc.dtx}{bib}}
-\Msg{Generating package file rsc-mc.bst:}
-\generateFile{rsc-mc.bst}{f}{\from{rsc.dtx}{bib-mc}}
-\Msg{Generating package file rsc.sty:}
-\generateFile{rsc.sty}{f}{\from{rsc.dtx}{package}}
-\Msg{Generating package file rsc.tex:}
-\generateFile{rsc.tex}{f}{\from{rsc.dtx}{template}}
+\Msg{Generating rsc files:}
+\usedir{tex/latex/contib/rsc}
+\generate{\file{rsc.sty}{\from{rsc.dtx}{package}}
+ \file{rsc-template.tex}{\from{rsc.dtx}{template}}
+}
+% In order to produce the correct ending for
+% BibTeX files, we have to kill the standard
+% DocStrip postamble. By using an empty one, but
+% not \empty, we still get the "end of file" message.
+\declarepostamble\bibtexable
+\endpostamble
+\usedir{bibtex/bst/rsc}
+\generate{\usepostamble\bibtexable
+ \file{rsc.bst}{\from{rsc.dtx}{bib,rsc}}
+ \file{rsc-mc.bst}{\from{rsc.dtx}{bib,rsc,mc}}
+ \file{angew.bst}{\from{rsc.dtx}{bib,angew}}
+ \file{angew-mc.bst}{\from{rsc.dtx}{bib,angew,mc}}
+}
\endbatchfile