summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/moreverb
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2011-04-20 01:01:11 +0000
committerKarl Berry <karl@freefriends.org>2011-04-20 01:01:11 +0000
commit5af451181bedf2c59e80219d7db88e1f91b43086 (patch)
tree1a3dd6415a82bf38876ca87736328b2faa789069 /Master/texmf-dist/source/latex/moreverb
parentba0b4cfa3584b5939759b110d270d5180b01232c (diff)
moreverb (18apr11)
git-svn-id: svn://tug.org/texlive/trunk@22126 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/moreverb')
-rw-r--r--Master/texmf-dist/source/latex/moreverb/moreverb.dtx18
1 files changed, 12 insertions, 6 deletions
diff --git a/Master/texmf-dist/source/latex/moreverb/moreverb.dtx b/Master/texmf-dist/source/latex/moreverb/moreverb.dtx
index 01ec3c91bfd..3e6f06e2d7a 100644
--- a/Master/texmf-dist/source/latex/moreverb/moreverb.dtx
+++ b/Master/texmf-dist/source/latex/moreverb/moreverb.dtx
@@ -1,7 +1,7 @@
%
% \iffalse
%
-% Copyright (C) 1997 2002 2008 by
+% Copyright (C) 1997 2002 2008 2011 by
% Robin Fairbairns <rf10@cam.ac.uk>
%
% This work may be distributed and/or modified under the
@@ -18,11 +18,12 @@
%
% This work consists of the source files moreverb.dtx,
% moreverb.ins
-% and the derived file moreverb.sty,
+% and the derived files moreverb.sty,
+% moreverb.pdf
%
% RCS information:
%
-% $Id: moreverb.dtx,v 1.11 2008/06/03 11:54:01 rf10 Exp rf10 $
+% $Id: moreverb.dtx,v 1.12 2011/04/18 19:03:28 rf10 Exp rf10 $
%
% \section{Initially: identify the package}
%
@@ -35,7 +36,7 @@
\ProvidesFile{moreverb.dtx}
%</dtx>
%<moreverb>\ProvidesPackage{moreverb}
- [2008/06/03 v2.3
+ [2008/06/03 v2.3a
%<moreverb> `more' verbatim facilities%
%<*dtx>
moreverb source file%
@@ -76,7 +77,7 @@
%
% \fi
%
-% \CheckSum{401}
+% \CheckSum{402}
%
% \section{This package}
%
@@ -205,9 +206,14 @@
% file, the name of which it is given as an argument. (This code was
% written by Rainer Sch\"opf.)
%
+% Note that the code creates its own output stream at first use.
+% (This is a conservation measure; if the user never uses
+% \env{verbatimwrite}, no \cs{write} stream is created. An actual
+% problematic use case appeared on tex.sx\dots)
+%
% \begin{macrocode}
-\newwrite \verbatim@out
\def\verbatimwrite#1{%
+ \@ifundefined{verbatim@out}{\newwrite\verbatim@out}{}%
\@bsphack
\immediate\openout \verbatim@out #1
\let\do\@makeother\dospecials