diff options
author | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
commit | e0c6872cf40896c7be36b11dcc744620f10adf1d (patch) | |
tree | 60335e10d2f4354b0674ec22d7b53f0f8abee672 /macros/latex/contrib/listings/listings.ins |
Initial commit
Diffstat (limited to 'macros/latex/contrib/listings/listings.ins')
-rw-r--r-- | macros/latex/contrib/listings/listings.ins | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/macros/latex/contrib/listings/listings.ins b/macros/latex/contrib/listings/listings.ins new file mode 100644 index 0000000000..29e790f2eb --- /dev/null +++ b/macros/latex/contrib/listings/listings.ins @@ -0,0 +1,46 @@ +%% +%% This file generates files required to use the listings package. +%% At your command prompt write +%% +%% tex listings.ins +%% +%% (w)(c) 1996--1999,2002--2004 Carsten Heinz +%% (c) 2018 Jobst Hoffmann +%% +%% This file is distributed under the terms of the LaTeX Project Public +%% License from CTAN archives in directory macros/latex/base/lppl.txt. +%% Either version 1.3c or, at your option, any later version. +%% +\input docstrip +\preamble +\endpreamble + +\usedir{tex/latex/listings} +\keepsilent +\askforoverwritefalse + +% +% generate base package +% +\generate{ + \file{listings.sty}{\from{listings.dtx}{kernel}} + \file{lstmisc.sty}{\from{listings.dtx}{misc,0.21}} + \file{lstdoc.sty}{\from{listings.dtx}{doc}} + \file{lstdrvrs.ins}{\from{lstdrvrs.dtx}{install}} + \file{listings.cfg}{\from{lstdrvrs.dtx}{config}} +} +% +% generate language driver files +% +\batchinput{lstdrvrs.ins} + + +\Msg{*} +\Msg{* You probably need to move all created `.sty' and `.cfg'} +\Msg{* files into a directory searched by TeX.} +\Msg{*} +\Msg{* And don't forget to refresh your filename database} +\Msg{* if your TeX distribution uses such a database.} +\Msg{*} + +\endbatchfile |