From dbd662faa59efb8881c0183fe2778284297b2360 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Fri, 28 Jan 2011 23:13:57 +0000 Subject: newverbs 1.1 (28jan11) git-svn-id: svn://tug.org/texlive/trunk@21210 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/latex/newverbs/newverbs.sty | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) (limited to 'Master/texmf-dist/tex/latex/newverbs') 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 +%% Copyright (c) 2010-2011 by Martin Scharrer %% 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}} -- cgit v1.2.3