summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/verbatimbox
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2014-02-06 23:27:43 +0000
committerKarl Berry <karl@freefriends.org>2014-02-06 23:27:43 +0000
commit55bbd0a3dd6e4f70a9cae6283e0e84b2aba02989 (patch)
treecf14cdec8e2784a61f527b4b44d596873a37cd2d /Master/texmf-dist/tex/latex/verbatimbox
parent56864a978f93ea1c29086183c24fb535c4022270 (diff)
verbatimbox (4feb14)
git-svn-id: svn://tug.org/texlive/trunk@32894 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/verbatimbox')
-rw-r--r--Master/texmf-dist/tex/latex/verbatimbox/verbatimbox.sty8
1 files changed, 5 insertions, 3 deletions
diff --git a/Master/texmf-dist/tex/latex/verbatimbox/verbatimbox.sty b/Master/texmf-dist/tex/latex/verbatimbox/verbatimbox.sty
index 66aed9d85fc..4c314a2f218 100644
--- a/Master/texmf-dist/tex/latex/verbatimbox/verbatimbox.sty
+++ b/Master/texmf-dist/tex/latex/verbatimbox/verbatimbox.sty
@@ -1,5 +1,5 @@
\ProvidesPackage{verbatimbox}
- [2013/06/06 v3.1
+ [2014/01/30 v3.11
Routines for placing verbatim text into boxes, useful in places where
the verbatim environment is inaccessible. Secondarily, for adding
vertical buffer around an object.]
@@ -36,9 +36,11 @@ vertical buffer around an object.]
% of optional argument to \addvbuffer
% -Added verbnobox environment and \verbfilenobox macro
% -Improved documentation showing line-specific optional arguments
+% 3.11 -Eliminated the use of the stringstrings package, which resets
+% the definition of \|
\NeedsTeXFormat{LaTeX2e}
\@ifundefined{verbatim@processline}{\RequirePackage{verbatim}}{}
-\usepackage{stringstrings}
+\usepackage{readarray}
% Following 3 lines thanks to Prof. Enrico Gregorio, from:
% http://tex.stackexchange.com/questions/42318/
@@ -190,7 +192,7 @@ vertical buffer around an object.]
\global\newlength\boxtop@sep
\global\newlength\boxbottom@sep
\newcommand\addvbuffer[2][\the\boxtopsep\ \the\boxbottomsep]{%
- \getargs{#1}%
+ \getargsC{#1}%
\setlength\boxtop@sep{\argi}%
\if1\narg\setlength\boxbottom@sep{\argi}\else%
\setlength\boxbottom@sep{\argii}\fi%