| 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 |
%% (w)(c) 1996--1999,2002--2004 Carsten Heinz |
| 8 |
%% (c) 2018 Jobst Hoffmann |
| 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.3c 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 |
% generate base package |
| 24 |
% |
| 25 |
% the following guards for the conditional inclusion of code are defined: |
| 26 |
% - 0.21: code valid before version 0.21 |
| 27 |
% - config: code used for producing the listings.cfg file |
| 28 |
% - doc: code used for producing the lstdoc.cfg file |
| 29 |
% - driver: code used for producing the documentation of listings.dtx |
| 30 |
% - info: additional informational code for the development of |
| 31 |
% listings.dtx, !must be removed before publishing a new version! |
| 32 |
% - install: code used for producing the lstdrvrs.ins file |
| 33 |
% - kernel: the main code of the listings.sty |
| 34 |
% - patch: code used for producing the at the moment unused lstpatch.sty file |
| 35 |
\generate{ |
| 36 |
\file{listings.sty}{\from{listings.dtx}{kernel}} |
| 37 |
\file{lstmisc.sty}{\from{listings.dtx}{misc,0.21}} |
| 38 |
\file{lstdoc.sty}{\from{listings.dtx}{doc}} |
| 39 |
\file{lstdrvrs.ins}{\from{lstdrvrs.dtx}{install}} |
| 40 |
\file{listings.cfg}{\from{lstdrvrs.dtx}{config}} |
| 41 |
\file{lstpatch.sty}{\from{listings.dtx}{patch}} |
| 42 |
\file{ltxdoc.cfg}{\from{listings.dtx}{ltx}} |
| 43 |
} |
| 44 |
% |
| 45 |
% generate language driver files |
| 46 |
% |
| 47 |
\batchinput{lstdrvrs.ins} |
| 48 |
|
| 49 |
|
| 50 |
\Msg{*} |
| 51 |
\Msg{* You probably need to move all created `.sty' and `.cfg'} |
| 52 |
\Msg{* files into a directory searched by TeX.} |
| 53 |
\Msg{*} |
| 54 |
\Msg{* And don't forget to refresh your filename database} |
| 55 |
\Msg{* if your TeX distribution uses such a database.} |
| 56 |
\Msg{*} |
| 57 |
|
| 58 |
\endbatchfile |