0
|
1 %%
|
|
2 %% This file generates files required to use the listings package.
|
|
3 %% At your command prompt write
|
|
4 %%
|
|
5 %% tex listings.ins
|
|
6 %%
|
|
7 %%
|
|
8 %% (w)(c) 1996--1999,2002--2004 Carsten Heinz
|
|
9 %%
|
|
10 %% This file is distributed under the terms of the LaTeX Project Public
|
|
11 %% License from CTAN archives in directory macros/latex/base/lppl.txt.
|
|
12 %% Either version 1.3 or, at your option, any later version.
|
|
13 %%
|
|
14 \input docstrip
|
|
15 \preamble
|
|
16 \endpreamble
|
|
17
|
|
18 \usedir{tex/latex/listings}
|
|
19 \keepsilent
|
|
20 \askforoverwritefalse
|
|
21
|
|
22
|
|
23 %
|
|
24 % generate base package
|
|
25 %
|
|
26 \generate{
|
|
27 \file{listings.sty}{\from{listings.dtx}{kernel}}
|
|
28 \file{lstmisc.sty}{\from{listings.dtx}{misc,0.21}}
|
|
29 \file{lstdoc.sty}{\from{listings.dtx}{doc}}
|
|
30 \file{lstdrvrs.ins}{\from{lstdrvrs.dtx}{install}}
|
|
31 \file{listings.cfg}{\from{lstdrvrs.dtx}{config}}
|
|
32 }
|
|
33
|
|
34 %
|
|
35 % generate language driver files
|
|
36 %
|
|
37 \batchinput{lstdrvrs.ins}
|
|
38
|
|
39
|
|
40 \Msg{*}
|
|
41 \Msg{* You probably need to move all created `.sty' and `.cfg'}
|
|
42 \Msg{* files into a directory searched by TeX.}
|
|
43 \Msg{*}
|
|
44 \Msg{* And don't forget to refresh your filename database}
|
|
45 \Msg{* if your TeX distribution uses such a database.}
|
|
46 \Msg{*}
|
|
47
|
|
48 \endbatchfile
|