diff options
author | Karl Berry <karl@freefriends.org> | 2014-01-29 22:39:23 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2014-01-29 22:39:23 +0000 |
commit | 4e4505c50983a9ff5f1b1f4269326cf97f121a90 (patch) | |
tree | 95e43f9a68ed4577112dc4850b4fefd7d3268ab6 /Master/texmf-dist/tex | |
parent | 6d56f935e68d3edbe7afc8613d516999443019fb (diff) |
quoting (29jan14)
git-svn-id: svn://tug.org/texlive/trunk@32818 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r-- | Master/texmf-dist/tex/latex/quoting/quoting.sty | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/Master/texmf-dist/tex/latex/quoting/quoting.sty b/Master/texmf-dist/tex/latex/quoting/quoting.sty index 120ed1fed5b..a3d38f94837 100644 --- a/Master/texmf-dist/tex/latex/quoting/quoting.sty +++ b/Master/texmf-dist/tex/latex/quoting/quoting.sty @@ -19,7 +19,7 @@ %% \NeedsTeXFormat{LaTeX2e} \ProvidesPackage{quoting} - [2012/02/21 v0.1b Consolidated environment for displayed text] + [2014/01/28 v0.1c Consolidated environment for displayed text] \RequirePackage{etoolbox,kvoptions} \SetupKeyvalOptions{family=quo,prefix=quo@} \def\quo@in@false{\def\quo@indentfirsttype{0}} @@ -36,11 +36,11 @@ \newcommand*{\quotingfont}{} \define@key{quo}{font}{% \def\quotingfont{}% - \renewcommand*{\do}[1]{\appto{\quotingfont}{\csname ##1\endcsname}}% + \def\do##1{\appto{\quotingfont}{\csname ##1\endcsname}}% \docsvlist{#1}% } \define@key{quo}{font+}{% - \renewcommand*{\do}[1]{\appto{\quotingfont}{\csname ##1\endcsname}}% + \def\do##1{\appto{\quotingfont}{\csname ##1\endcsname}}% \docsvlist{#1}% } \DeclareStringOption{begintext} @@ -132,7 +132,11 @@ \quotingfont \quo@begintext\ignorespaces }{% - \unskip\quo@endtext + \ifbool{hmode}{% + \unskip + }{% + }% + \quo@endtext \endlist \boolfalse{@endpe}% \ifbool{quo@noorphanafter}{% |