summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/quoting/quoting.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/quoting/quoting.sty')
-rw-r--r--Master/texmf-dist/tex/latex/quoting/quoting.sty12
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}{%