| 1 |
%% |
| 2 |
%% $Revision: 55 $ |
| 3 |
%% |
| 4 |
%% This file will generate fast loadable files and documentation |
| 5 |
%% driver files from the .dtx files in this package when run through |
| 6 |
%% LaTeX or TeX. |
| 7 |
%% |
| 8 |
%% IMPORTANT COPYRIGHT NOTICE: |
| 9 |
%% |
| 10 |
%% No other permissions to copy or distribute this file in any form |
| 11 |
%% are granted and in particular NO PERMISSION to modify its contents. |
| 12 |
%% |
| 13 |
%% You are NOT ALLOWED to change this file. |
| 14 |
%% |
| 15 |
%% --------------- start of docstrip commands ------------------ |
| 16 |
%% |
| 17 |
\def\batchfile{listings-ext.ins} |
| 18 |
\input docstrip.tex |
| 19 |
|
| 20 |
\preamble |
| 21 |
|
| 22 |
Copyright (C) 2008-2010 Jobst Hoffmann, <j.hoffmann (at) fh-aachen.de>, all rights reserved |
| 23 |
-------------------------------------------------------------------------------------- |
| 24 |
|
| 25 |
This file may be distributed and/or modified under the |
| 26 |
conditions of the LaTeX Project Public License, either version 1.2 |
| 27 |
of this license or (at your option) any later version. |
| 28 |
The latest version of this license is in: |
| 29 |
|
| 30 |
http://www.latex-project.org/lppl.txt |
| 31 |
|
| 32 |
and version 1.2 or later is part of all distributions of LaTeX |
| 33 |
version 1999/12/01 or later. |
| 34 |
|
| 35 |
Please address error reports and any problems in case of UNCHANGED versions |
| 36 |
to |
| 37 |
j.hoffmann (at) fh-aachen.de |
| 38 |
\endpreamble |
| 39 |
|
| 40 |
\declarepostamble\examplepost |
| 41 |
\endpostamble |
| 42 |
|
| 43 |
%\BaseDirectory{~/TeX/texmf} |
| 44 |
%\UseTDS |
| 45 |
%\usedir{tex/latex/jhf} |
| 46 |
|
| 47 |
\keepsilent |
| 48 |
\askonceonly |
| 49 |
|
| 50 |
%\def\targetdirectory{} % or may be for example |
| 51 |
%\def\targetdirectory{./../../texmf/tex/latex/jhf} |
| 52 |
|
| 53 |
|
| 54 |
% programs and packages |
| 55 |
|
| 56 |
\Msg{*** Generating the package files ***} |
| 57 |
|
| 58 |
\generate% |
| 59 |
{% |
| 60 |
\askforoverwritefalse |
| 61 |
\file{listings-ext.sty}{% |
| 62 |
\from{listings-ext.dtx}{extension}} |
| 63 |
} |
| 64 |
|
| 65 |
\Msg{*** Generating the test and example files ***} |
| 66 |
|
| 67 |
\preamble |
| 68 |
\endpreamble |
| 69 |
\generate% |
| 70 |
{% |
| 71 |
\askforoverwritefalse |
| 72 |
\nopreamble\nopostamble\def\MetaPrefix{}% |
| 73 |
\file{listings-ext_exmpl_a.java}{\from{listings-ext.dtx}{example1}} |
| 74 |
\file{listings-ext_exmpl_b.java}{\from{listings-ext.dtx}{example2}} |
| 75 |
\file{listings-ext_exmpl_c.java}{\from{listings-ext.dtx}{example3}} |
| 76 |
\file{listings-ext_exmpl_d.java}{\from{listings-ext.dtx}{example4}} |
| 77 |
\file{listings-ext_exmpl_e.java}{\from{listings-ext.dtx}{example5}} |
| 78 |
\file{listings-ext_test_a.tex}{\from{listings-ext.dtx}{test1}} |
| 79 |
\file{listings-ext_test_d.tex}{\from{listings-ext.dtx}{test2}} |
| 80 |
} |
| 81 |
|
| 82 |
\Msg{*** Generating make file and make setup file ***} |
| 83 |
\generate |
| 84 |
{% |
| 85 |
\nopreamble\nopostamble\def\MetaPrefix{}% |
| 86 |
\file{getversion.tex}{\from{listings-ext.dtx}{getversion}}% |
| 87 |
\file{hyperref.cfg}{\from{listings-ext.dtx}{hyperref}}% |
| 88 |
\file{listings-ext.bib}{\from{listings-ext.dtx}{bibtex}}% |
| 89 |
\file{listings-ext.el}{\from{listings-ext.dtx}{auctex}}% |
| 90 |
\file{listings-ext.mk}{\from{listings-ext.dtx}{makefile}}% |
| 91 |
\file{listings-ext.makemake}{\from{listings-ext.dtx}{setup}}% |
| 92 |
\file{listings.cfg}{\from{listings-ext.dtx}{listings}}% |
| 93 |
} |
| 94 |
|
| 95 |
\Msg{*** Generating the script file ***} |
| 96 |
\generate |
| 97 |
{% |
| 98 |
\nopreamble\nopostamble\def\MetaPrefix{}% |
| 99 |
\file{listings-ext.sh}{\from{listings-ext.dtx}{scriptfile}}% |
| 100 |
} |
| 101 |
|
| 102 |
\ifToplevel{% |
| 103 |
\Msg{***********************************************************} |
| 104 |
\Msg{*} |
| 105 |
\Msg{* To finish the installation you have to move the following} |
| 106 |
\Msg{* style file(s) into a directory searched by TeX:} |
| 107 |
\Msg{*} |
| 108 |
\Msg{* \space\space listings-ext.sty} |
| 109 |
\Msg{*} |
| 110 |
\Msg{* To produce the documentation run the file(s) ending with} |
| 111 |
\Msg{* `.dtx' through LaTeX.} |
| 112 |
\Msg{*} |
| 113 |
\Msg{* Happy TeXing} |
| 114 |
\Msg{***********************************************************} |
| 115 |
} |
| 116 |
|
| 117 |
\endinput |
| 118 |
%%% Local Variables: |
| 119 |
%%% mode: latex |
| 120 |
%%% TeX-master: t |
| 121 |
%%% mode: flyspell |
| 122 |
%%% ispell-local-dictionary: "english" |
| 123 |
%%% End: |