Debian Codegraph @

texmf-dist/source/latex/bibtopic/bibtopic.ins

raw
1 \NeedsTeXFormat{LaTeX2e}
2 \ProvidesFile{bibtopic.ins}[2003/02/28 v1.2 Installation script for bibtopic package]
3 %%
4 %% ------------------------------------------------------------
5 %% This is the installation file for the `bibtopic' package.
6 %%
7 %% Run LaTeX on this file to produce the style file bibtopic.sty.
8 %%
9 %% If you want to apply changes to the formatting of the documentation,
10 %% put the commands into a file called ltxdoc.cfg and make sure this
11 %% file can be found by LaTeX; e. g. to include the sourcecode,
12 %% ltxdoc.cfg should contain this line:
13 %% \AtBeginDocument{\AlsoImplementation}
14 %% See the documentation of the doc package (doc.dtx) for details.
15 %%
16 %% See the messages at the end of this file for instructions on
17 %% how to produce the index/history of changes.
18 %% ------------------------------------------------------------
19 %%
20 %% Copyright (C) 1998-2000 P. Basso, S. Ulrich
21 %% 2001-2004 S. Ulrich
22 %%
23 %% Please send bug reports to: <[email protected]>
24 %%
25 %% This program is free software; you can redistribute it and/or
26 %% modify it under the terms of the GNU General Public License
27 %% as published by the Free Software Foundation; either version 2
28 %% of the License, or (at your option) any later version.
29 %%
30 %% This program is distributed in the hope that it will be useful,
31 %% but WITHOUT ANY WARRANTY; without even the implied warranty of
32 %% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
33 %% GNU General Public License for more details.
34 %%
35 %% You should have received a copy of the GNU General Public License
36 %% along with this program; if not, write to the Free Software
37 %% Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
38 %%
39 %%
40 \def\batchfile{bibtopic.ins}
41 \input docstrip.tex
42 \def\makeCommand#1{\catcode`#1=0\relax}
43
44 \@ifundefined{endbatchfile}{%
45 \PackageError{bibtopic.ins}{%
46 This installation script requires `docstrip'\MessageBreak
47 version 2.4d (1996/10/17) or later%
48 }{%
49 An older version of docstrip has been input.\MessageBreak
50 Since this version won't install the current package\MessageBreak
51 properly, please get a current version (files docstrip.ins\MessageBreak
52 and docstrip.dtx) from CTAN.\MessageBreak
53 }%
54 \let\endbatchfile\endinput
55 }{%
56 \relax
57 }
58 \preamble
59
60 LaTeX package for multiple bibliographies
61
62 Copyright (C) 1998-2000 P. Basso, S. Ulrich
63 2001-2004 S. Ulrich
64
65 Please send bug reports to: <[email protected]>
66
67 This program is free software; you can redistribute it and/or
68 modify it under the terms of the GNU General Public License
69 as published by the Free Software Foundation; either version 2
70 of the License, or (at your option) any later version.
71
72 This program is distributed in the hope that it will be useful,
73 but WITHOUT ANY WARRANTY; without even the implied warranty of
74 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
75 GNU General Public License for more details.
76
77 You should have received a copy of the GNU General Public License
78 along with this program; if not, write to the Free Software
79 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
80
81 \endpreamble
82 \declarepreamble\packagepreamble
83 \noexpand\changetildecode
84 test
85 \endpreamble
86
87 \declarepreamble\texfilepreamble
88 ----------------------------------------
89 Example TeX file for the documentation
90 of the bibtopic package
91 Copyright (C) 1998-2000 P. Basso, S. Ulrich
92 2001-2004 S. Ulrich
93
94 Please send bug reports to: <[email protected]>
95
96 See \batchfile\space for the copyright details.
97
98 \endpreamble
99 \declarepreamble\bibfilepreamble
100
101 ----------------------------------------
102 Example BibTeX file for the documentation
103 of the bibtopic package
104 Copyright (C) 1998-2000 P. Basso, S. Ulrich
105 2001-2004 S. Ulrich
106
107 (AT sign confuses bibtex, so ...)
108 Please send bug reports to: <stefanulrich AT users.sourceforge.net>
109
110 See \batchfile\space for the copyright details.
111
112 \endpreamble
113
114 %%% `+' is used for linelabels in the .dtx file; suppress printing them
115 %%% in the .sty file. Remember not to use `+' anywhere else.
116
117 \catcode`\+\active
118 \def+#1;{}%
119
120 \keepsilent
121 %% !!! remove the following line and the `debug' option before releasing.
122 %%% \askforoverwritefalse
123 \generate{%
124 \file{bibtopic.sty}{\from{bibtopic.dtx}{package,debug}}
125 \usepreamble\texfilepreamble
126 \file{sample.tex}{\from{bibtopic.dtx}{sample.tex}}
127 \usepreamble\bibfilepreamble
128 \file{articles.bib}{\from{bibtopic.dtx}{articles.bib}}
129 \file{books.bib}{\from{bibtopic.dtx}{books.bib}}
130 \nopreamble
131 \file{bibtopic1.bbl}{\from{bibtopic.dtx}{bibtopic1.bbl}}
132 \file{bibtopic2.bbl}{\from{bibtopic.dtx}{bibtopic2.bbl}}
133 }
134
135 \Msg{*************************************************************}
136 \Msg{*}
137 \Msg{* bibtopic v1.0k, Copyright (C) 1998-2000 P. Basso, S. Ulrich }
138 \Msg{* 2001-2004 S. Ulrich }
139 \Msg{* Please send bug reports to: <[email protected]>}
140 \Msg{* This is free software, and you are welcome to redistribute it }
141 \Msg{* under certain conditions; see `\batchfile' for details. }
142 \Msg{*}
143 \Msg{* To finish the installation, move the style file}
144 \Msg{* \space\space bibtopic.sty}
145 \Msg{* into a directory searched by LaTeX.}
146 \Msg{*}
147 \Msg{* To produce the documentation, run bibtopic.dtx through LaTeX.}
148 \Msg{*}
149 \Msg{* To include the full source code in the documentation, }
150 \Msg{* create a file `ltxdoc.cfg' containing this line: }
151 \Msg{* \space\space\string\AtBeginDocument\string{\string\AlsoImplementation\string} }
152 \Msg{*}
153 \Msg{* To produce the index for the documentation, run makeindex}
154 \Msg{* like this:}
155 \Msg{* \space\space makeindex -s gind.ist bibtopic}
156 \Msg{*}
157 \Msg{* To produce a history of changes, run makeindex}
158 \Msg{* like this:}
159 \Msg{* \space\space makeindex -s gglo.ist -o bibtopic.gls bibtopic.glo}
160 \Msg{*}
161 \Msg{* Happy TeXing!}
162 \Msg{*}
163 \Msg{*************************************************************}
164 \endbatchfile
165 %%
166 %% End of file `bibtopic.ins'.