blob: a0abf99b144c3abf26dfa4ebee491b98c4950d8f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
% $Id: newverbs.ins 1816 2010-04-05 18:03:28Z martin $
%
% Copyright (c) 2010 by Martin Scharrer <martin@scharrer-online.de>
% WWW: http://latex.scharrer-online.de/
% See file 'newverbs.dtx' for copyright and licence information.
\let\originput\input
\input docstrip
\declarepreamble\dtxpreamble
\endpreamble
\def\prewrapper{\string\declarepreamble\string\dtxpreamble^^J}
\def\postwrapper{^^J\string\endpreamble}
\askforoverwritefalse
\def\gobble#1{}
% Extract copyright message from DTX file and use it as preamble for all (real) source files
\generate{%
\let\MetaPrefix\empty
\file{newverbs.tmp}{\usepreamble\prewrapper\usepostamble\postwrapper\from{newverbs.dtx}{copyright}}%
}
\originput newverbs.tmp
\usepreamble\dtxpreamble
\generate{%
\file{newverbs.sty}{\from{newverbs.dtx}{package}}%
}
\endbatchfile
% vim: ft=tex
|