Debian Codegraph @

texmf-dist/source/latex/natbib/bibentry.ins

raw
1 % File: bibentry.ins
2 % Copyright 1999 Patrick W. Daly
3 %
4 % This file can be redistributed and/or modified under the terms
5 % of the LaTeX Project Public License Distributed from CTAN
6 % archives in directory macros/latex/base/lppl.txt; either
7 % version 1 of the License, or any later version.
8 %
9 % It is an installation file for extracting package and driver
10 % files from the original source file. Simply process it under
11 % TeX or LaTeX. It works with Docstrip versions before and after
12 % December 1995.
13
14 \def\batchfile{bibentry.ins}
15 \input docstrip
16
17 \preamble
18 =============================================
19 IMPORTANT NOTICE:
20
21 This program can be redistributed and/or modified under the terms
22 of the LaTeX Project Public License Distributed from CTAN
23 archives in directory macros/latex/base/lppl.txt; either
24 version 1 of the License, or any later version.
25
26 This is a generated file.
27 It may not be distributed without the original source file \inFileName.
28
29 Full documentation can be obtained by LaTeXing that original file.
30 Only a few abbreviated comments remain here to describe the usage.
31 =============================================
32 \endpreamble
33 \postamble
34
35 <<<<< End of generated file <<<<<<
36 \endpostamble
37 \keepsilent
38
39 % Docstrip before Dec 95 does not have \generate syntax, nor
40 % \declarepreamble. Must redefine them. The \generateFile called
41 % for each output file individually.
42 % Docstrip before Dec 96 cannot interprete multiline \if..\fi
43 % Thus for maximum compatibility, have only one-line conditionals
44
45 \let\oldDS F\relax
46 \expandafter\ifx\csname generate\endcsname\relax \let\oldDS T\relax\fi
47 \if\oldDS T \def\declarepreamble#1{\preamble}\fi
48 \if\oldDS T \def\declarepostamble#1{\postamble}\fi
49 \if\oldDS T \generateFile{bibentry.sty}{f}{\from{bibentry.dtx}{package}} \fi
50
51 \declarepreamble\driver
52 ============================================
53 This is the driver file to produce the LaTeX documentation
54 from the original source file \inFileName.
55
56 Make changes to it as needed. (Never change the file \inFileName!)
57 ============================================
58 \endpreamble
59
60 \declarepostamble\driverq
61
62 End of documentation driver file.
63 \endpostamble
64
65 \ifx\oldDS T \generateFile{bibentry.drv}{f}{\from{bibentry.dtx}{driver}}\fi
66
67 \ifx\oldDS T \let\askforoverwritefalse\relax\def\generate#1{}\fi
68
69 \askforoverwritefalse
70 \generate{\file{bibentry.sty}{\from{bibentry.dtx}{package}}
71 \file{bibentry.drv}{\usepreamble\driver\usepostamble\driverq
72 \from{bibentry.dtx}{driver}}
73 }
74
75 \obeyspaces
76 \Msg{*******************************************}%
77 \Msg{* For documentation, process bibentry.dtx *}%
78 \Msg{* or the driver file bibentry.drv *}%
79 \Msg{*******************************************}