summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/gmverb
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2008-11-24 00:45:16 +0000
committerKarl Berry <karl@freefriends.org>2008-11-24 00:45:16 +0000
commit1b86395d25c6ad99bc92165710429eadbe19d473 (patch)
tree887a008a3c808ffa874fb9c97e7adb20fcc44bb9 /Master/texmf-dist/tex/latex/gmverb
parentf6476fae9f64a456dfef7c0defb0168eb1f78e21 (diff)
gmverb update (23nov08)
git-svn-id: svn://tug.org/texlive/trunk@11398 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/gmverb')
-rw-r--r--Master/texmf-dist/tex/latex/gmverb/gmverb.sty31
1 files changed, 21 insertions, 10 deletions
diff --git a/Master/texmf-dist/tex/latex/gmverb/gmverb.sty b/Master/texmf-dist/tex/latex/gmverb/gmverb.sty
index abbe716f0d9..1149781355b 100644
--- a/Master/texmf-dist/tex/latex/gmverb/gmverb.sty
+++ b/Master/texmf-dist/tex/latex/gmverb/gmverb.sty
@@ -47,6 +47,8 @@
% \chschange{v0.87}{2008/8/6}{661}
% \chschange{v0.88}{2008/8/13}{682}
% \chschange{v0.89}{2008/8/30}{686}
+% \chschange{v0.90}{2008/10/8}{684}
+% \chschange{v0.91}{2008/11/21}{686}
%
% \skiplines we skip the driver
@@ -70,7 +72,7 @@
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{gmverb}
- [2008/08/30 v0.89 After shortvrb (FM) but my way (GM)]
+ [2008/11/12 v0.91 After shortvrb (FM) but my way (GM)]
%
% \tableofcontents
@@ -246,7 +248,7 @@
% \DoIndex{\verb \verb*}
% \subdivision{Preliminaries}
%
-\RequirePackage{gmutils}[2008/08/06]
+\RequirePackage{gmutils}[2008/10/08]
% For |\firstofone|, |\afterfi|, |\gmobeyspaces|, |\@ifnextcat|, |\foone| and
% |\noexpand|'s and |\expandafter|'s shorthands |\@nx| and |\@xa| resp.
@@ -339,8 +341,8 @@
}
% \Define\xiiclub
-\bgroup\@makeother\|
-\firstofone{\egroup\def\xiiclub{|}}
+\foone{\@makeother\|}{%
+ \def\xiiclub{|}}
% \subdivision{Almost-Knuthian \cs{ttverbatim}}
%
@@ -545,8 +547,8 @@
% (End of |\trivlistlist| and |\@trivlist| highlights.)
\@@par\addvspace\@topsep
\if@minipage\else\vskip\parskip\fi
- \leftmargin\parindent% please notify me if it's a~bad idea.
- \advance\@totalleftmargin\leftmargin
+%^^A \leftmargin\parindent% please notify me if it's a~bad idea. It is.
+ \advance\@totalleftmargin\verbatimleftskip
\raggedright
\leftskip\@totalleftmargin% so many assignments to preserve the
% \env{list} thinking for possible future changes. However, we may
@@ -573,11 +575,17 @@
\@ifundefined{stanzaskip}{\newlength\stanzaskip}{}
\stanzaskip=\medskipamount
-% \Define\verbatimhangindent
+
+\newskip\verbatimleftskip
+%\changes{v0.91}{2008/11/12}{added}
+\verbatimleftskip\leftmargini
+
+\newskip\verbatimhangindent
% \changes{v0.71}{06/09/04}{added to verbatim parameters.}
-\newlength\verbatimhangindent
\verbatimhangindent=3em
+
+
\providecommand*\check@percent{}
% In the \pk{gmdoc} package shall it be defined to check if the next
% line begins with a~comment char.
@@ -732,7 +740,7 @@
% the grey spaces so much that I~want provide them for any verbatim
% environments, so I~bring the definition here. The declaration, if
% put in the preamble, postpones redefinition of \cs{visiblespace}
-% till |\begin{doument}| to recognize possible redefinition of
+% till |\begin{document}| to recognize possible redefinition of
% it when \pk{xltxtra} is loaded.
\let\gmd@preambleABD\AtBeginDocument
@@ -778,7 +786,10 @@
% \cs{olddekclubs} made more consistent, shorthands for
% \cs{MakeShortVerb}\cmd\|, \cs{MakeShortVerb*}\cmd\| and
% \cs{OldMakeShortVerb}\cmd{\|} respectively.}
-
+%
+% \changes{v0.90}{2008/10/08}{some \cs{b/egroup} changed to
+% \cs{begin/endgroup}}
+%
% \PrintChanges \PrintIndex
% \Finale