From 0c1d6aeb7161b63c8c5d178288c2df12ea713dd9 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Wed, 4 Jun 2008 16:38:12 +0000 Subject: moreverb update (3jun08) git-svn-id: svn://tug.org/texlive/trunk@8554 c570f23f-e606-0410-a88d-b1316a301751 --- .../texmf-dist/source/latex/moreverb/moreverb.dtx | 61 +++++++++++++--------- 1 file changed, 36 insertions(+), 25 deletions(-) (limited to 'Master/texmf-dist/source/latex/moreverb') diff --git a/Master/texmf-dist/source/latex/moreverb/moreverb.dtx b/Master/texmf-dist/source/latex/moreverb/moreverb.dtx index d4ee6d5f0d5..01ec3c91bfd 100644 --- a/Master/texmf-dist/source/latex/moreverb/moreverb.dtx +++ b/Master/texmf-dist/source/latex/moreverb/moreverb.dtx @@ -1,9 +1,28 @@ % % \iffalse % +% Copyright (C) 1997 2002 2008 by +% Robin Fairbairns +% +% This work may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either +% version 1.3c of this license or (at your option) any later +% version. The latest version of this license is in +% http://www.latex-project.org/lppl.txt +% and version 1.3c or later is part of all distributions of +% LaTeX version 2005/12/01 or later. +% +% This work has the LPPL maintenance status `maintained'. +% +% The current maintainer of this work is Robin Fairbairns. +% +% This work consists of the source files moreverb.dtx, +% moreverb.ins +% and the derived file moreverb.sty, +% % RCS information: % -% $Id: moreverb.dtx,v 1.10 2002/03/20 10:39:07 rf Exp $ +% $Id: moreverb.dtx,v 1.11 2008/06/03 11:54:01 rf10 Exp rf10 $ % % \section{Initially: identify the package} % @@ -16,7 +35,7 @@ \ProvidesFile{moreverb.dtx} % %\ProvidesPackage{moreverb} - [1997/12/07 v2.2d.2 + [2008/06/03 v2.3 % `more' verbatim facilities% %<*dtx> moreverb source file% @@ -44,11 +63,11 @@ \title{The \textsf{moreverb} package\thanks{This file has version number \fileversion, last revised \filedate}} - \author{Robin Fairbairns (\small\texttt{rf@cl.cam.ac.uk})\\ + \author{Robin Fairbairns (\small\texttt{rf10@cam.ac.uk})\\ after\\ Angus Duggan, Rainer Sch\"opf and Victor Eijkhout} - \date{\the\year/\ifnum\month<10 0\fi\the\month - /\ifnum\day <10 0\fi\the\day} + \date{\the\year-\ifnum\month<10 0\fi\the\month + -\ifnum\day <10 0\fi\the\day} \maketitle \tableofcontents \DocInput{moreverb.dtx} @@ -57,7 +76,7 @@ % % \fi % -% \CheckSum{399} +% \CheckSum{401} % % \section{This package} % @@ -75,16 +94,6 @@ % later re-input), and `boxed' verbatim. % \end{itemize} % -% \subsection*{Copyright statement} -% -% \noindent Program: \texttt{moreverb.dtx}\par -% \noindent Copyright 1997 2002 Robin Fairbairns -% -% This program may redistributed and/or modified under the terms -% of the LaTeX Project Public License Distributed from CTAN -% archives in file \texttt{macros/latex/base/lppl.txt}; either -% version 1.2 of the License, or (at your option) any later version. -% % \subsection{Tab expansion} % % The package enables you to specify the expected width of the @@ -458,7 +467,7 @@ % \begin{macrocode} \def\verbatimcmd{% \PackageError{moreverb}{The verbatimcmd environment is obsolete}% - {Use alltt (from the LaTeX base package + {Use alltt (from the LaTeX required package alltt) in place of verbatimcmd}% } \let\endverbatimcmd\relax @@ -471,8 +480,11 @@ % % (Written by Victor Eijkhout.) % -% Bug fix (supplied by David Carlisle) 1995/12/28, marked -% \verb+%%%DPC%%%+ +% \noindent Bug fixes: +% \begin{itemize} +% \item David Carlisle 1995-12-28, dealing with spacing issues (iirc) +% \item Moretn H\o gholm 2008-06-01, positioning of frame in lists +% \end{itemize} % % First, redefine `processline' to produce only a line as wide % as the natural width of the line @@ -487,8 +499,9 @@ % Now save the verbatim code in a box % % \begin{macrocode} - \@minipagetrue%%%DPC%%% - \@tempswatrue%%%DPC%%% + \@minipagetrue % DPC + \@tempswatrue % DPC + \@totalleftmargin\z@ % MH \setbox0=\vbox\bgroup \verbatim } % \end{macrocode} @@ -499,20 +512,18 @@ % \begin{macrocode} \def\endboxedverbatim{% \endverbatim - \unskip\setbox0=\lastbox %%%DPC%%% + \unskip\setbox0=\lastbox % DPC % \end{macrocode} % % Now everything's in the box, so we can close it\dots -% % \begin{macrocode} \egroup % \end{macrocode} % % To change the code for centring, the next line needs a spot of % hacking. -% % \begin{macrocode} - \fbox{\box0}% <<<=== change here for centering,... + \fbox{\box0}% } % \end{macrocode} % \end{environment} -- cgit v1.2.3