diff options
author | Karl Berry <karl@freefriends.org> | 2011-01-28 23:13:57 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2011-01-28 23:13:57 +0000 |
commit | dbd662faa59efb8881c0183fe2778284297b2360 (patch) | |
tree | 974b6b74a8768b1fd1492a60da3a017f3d336edc /Master/texmf-dist/tex/latex/newverbs | |
parent | d708bf6768840e9e6d64ebdee9e6352df197816a (diff) |
newverbs 1.1 (28jan11)
git-svn-id: svn://tug.org/texlive/trunk@21210 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/newverbs')
-rw-r--r-- | Master/texmf-dist/tex/latex/newverbs/newverbs.sty | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/Master/texmf-dist/tex/latex/newverbs/newverbs.sty b/Master/texmf-dist/tex/latex/newverbs/newverbs.sty index 904aa1e99be..9e0f3520413 100644 --- a/Master/texmf-dist/tex/latex/newverbs/newverbs.sty +++ b/Master/texmf-dist/tex/latex/newverbs/newverbs.sty @@ -6,7 +6,7 @@ %% %% newverbs.dtx (with options: `package') %% -%% Copyright (c) 2010 by Martin Scharrer <martin@scharrer-online.de> +%% Copyright (c) 2010-2011 by Martin Scharrer <martin@scharrer-online.de> %% WWW: http://latex.scharrer-online.de/ %% %% This work may be distributed and/or modified under the @@ -24,9 +24,9 @@ %% This work consists of the files newverbs.dtx and newverbs.ins %% and the derived file newverbs.sty. %% -%% $Id: newverbs.dtx 1816 2010-04-05 18:03:28Z martin $ +%% $Id: newverbs.dtx 2086 2011-01-27 21:49:52Z martin $ \ProvidesPackage{newverbs} - [2010/04/05 v1.0 Define new 'verb' commands and short verb. characters] + [2010/04/13 v1.1 Define new 'verb' commands and short verb. characters] \newcommand*\newverbcommand{\new@verbcommand\newcommand} \newcommand*\renewverbcommand{\new@verbcommand\renewcommand} \newcommand*\provideverbcommand{\new@verbcommand\providecommand} @@ -43,8 +43,13 @@ \let\verbbox\@tempboxa } \provideverbcommand{\qverb}{\qverbbeginquote}{\qverbendquote} -\def\qverbbeginquote{`} -\def\qverbendquote{'} +\@ifundefined{openinnerquote}{% + \def\qverbbeginquote{`}% + \def\qverbendquote{'}% +}{% + \def\qverbbeginquote{\openinnerquote}% + \def\qverbendquote{\closeinnerquote}% +} \newverbcommand{\fverb} {\setbox\verbbox\hbox\bgroup\color@setgroup} {\color@endgroup\egroup\fbox{\box\verbbox}} |