diff options
Diffstat (limited to 'Master/texmf-dist/source/latex/newverbs/newverbs.ins')
-rw-r--r-- | Master/texmf-dist/source/latex/newverbs/newverbs.ins | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/Master/texmf-dist/source/latex/newverbs/newverbs.ins b/Master/texmf-dist/source/latex/newverbs/newverbs.ins new file mode 100644 index 00000000000..a0abf99b144 --- /dev/null +++ b/Master/texmf-dist/source/latex/newverbs/newverbs.ins @@ -0,0 +1,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 |