summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/csquotes
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2011-01-23 01:09:02 +0000
committerKarl Berry <karl@freefriends.org>2011-01-23 01:09:02 +0000
commitff146fb7722720da2c8f7de56ccc44e5682c7bc9 (patch)
tree9472e936e21d9e3328dfd79c7e059d7e0f01b445 /Master/texmf-dist/tex/latex/csquotes
parent01ca26795206e8a1ab51b30e620cd9310bd8a274 (diff)
csquotes 5.1b (20jan11)
git-svn-id: svn://tug.org/texlive/trunk@21148 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/csquotes')
-rw-r--r--Master/texmf-dist/tex/latex/csquotes/csq-compat.def4
-rw-r--r--Master/texmf-dist/tex/latex/csquotes/csquotes.cfg2
-rw-r--r--Master/texmf-dist/tex/latex/csquotes/csquotes.def14
-rw-r--r--Master/texmf-dist/tex/latex/csquotes/csquotes.sty16
4 files changed, 25 insertions, 11 deletions
diff --git a/Master/texmf-dist/tex/latex/csquotes/csq-compat.def b/Master/texmf-dist/tex/latex/csquotes/csq-compat.def
index 9e69adde272..f7d71814080 100644
--- a/Master/texmf-dist/tex/latex/csquotes/csq-compat.def
+++ b/Master/texmf-dist/tex/latex/csquotes/csq-compat.def
@@ -1,7 +1,7 @@
-% $Id: csq-compat.def,v 5.1a 2011/01/11 17:42:53 lehman stable $
+% $Id: csq-compat.def,v 5.1b 2011/01/20 20:31:49 lehman stable $
\ProvidesFile{csquotes.def}
-[\csq@rcsid $Id: csq-compat.def,v 5.1a 2011/01/11 17:42:53 lehman stable $
+[\csq@rcsid $Id: csq-compat.def,v 5.1b 2011/01/20 20:31:49 lehman stable $
csquotes backwards compatibility]
\def\csq@getversion#1{%
diff --git a/Master/texmf-dist/tex/latex/csquotes/csquotes.cfg b/Master/texmf-dist/tex/latex/csquotes/csquotes.cfg
index ef108e10908..187a4cd95b0 100644
--- a/Master/texmf-dist/tex/latex/csquotes/csquotes.cfg
+++ b/Master/texmf-dist/tex/latex/csquotes/csquotes.cfg
@@ -1,4 +1,4 @@
-% $Id: csquotes.cfg,v 5.1a 2011/01/11 17:42:53 lehman stable $
+% $Id: csquotes.cfg,v 5.1b 2011/01/20 20:31:49 lehman stable $
\ProvidesFile{csquotes.cfg}
diff --git a/Master/texmf-dist/tex/latex/csquotes/csquotes.def b/Master/texmf-dist/tex/latex/csquotes/csquotes.def
index facb9972ac1..5483a2377b9 100644
--- a/Master/texmf-dist/tex/latex/csquotes/csquotes.def
+++ b/Master/texmf-dist/tex/latex/csquotes/csquotes.def
@@ -1,7 +1,7 @@
-% $Id: csquotes.def,v 5.1a 2011/01/11 17:42:53 lehman stable $
+% $Id: csquotes.def,v 5.1b 2011/01/20 20:31:49 lehman stable $
\ProvidesFile{csquotes.def}
-[\csq@rcsid $Id: csquotes.def,v 5.1a 2011/01/11 17:42:53 lehman stable $
+[\csq@rcsid $Id: csquotes.def,v 5.1b 2011/01/20 20:31:49 lehman stable $
csquotes generic definitions]
% Set defaults
@@ -426,8 +426,9 @@
% \mkfrenchclosequote{\guillemotright}
%
% and will use a command called \@frenchquotespace to space out the
-% quotation marks. The spacing is:
+% quotation marks. The default spacing is:
%
+% \penalty\@M
% \hskip 0.8\fontdimen2\font
% plus 0.3\fontdimen3\font
% minus 0.3\fontdimen4\font
@@ -443,11 +444,16 @@
% as follows:
%
% \renewcommand*{\@frenchquotespace}{%
+% \penalty\@M
% \hskip\fontdimen2\font\relax}
%
% or:
%
-% \renewcommand*{\@frenchquotespace}{\space}
+% \renewcommand*{\@frenchquotespace}{%
+% \penalty\@M\space}
%
% In either case, the difference to the default values is so subtle,
% you will hardly notice it in most cases.
+%
+% Don't forget to add the penalty if you redefine \@frenchquotespace!
+% You certainly don't want to allow a linebreak at that point.
diff --git a/Master/texmf-dist/tex/latex/csquotes/csquotes.sty b/Master/texmf-dist/tex/latex/csquotes/csquotes.sty
index 4d2d602b602..2e58fd40b26 100644
--- a/Master/texmf-dist/tex/latex/csquotes/csquotes.sty
+++ b/Master/texmf-dist/tex/latex/csquotes/csquotes.sty
@@ -1,4 +1,4 @@
-% $Id: csquotes.sty,v 5.1a 2011/01/11 17:42:53 lehman stable $
+% $Id: csquotes.sty,v 5.1b 2011/01/20 20:31:49 lehman stable $
% Copyright (c) 2003-2011 Philipp Lehman.
%
@@ -18,7 +18,7 @@
\NeedsTeXFormat{LaTeX2e}[2005/12/01]
\ProvidesPackage{csquotes}
-[\csq@rcsid $Id: csquotes.sty,v 5.1a 2011/01/11 17:42:53 lehman stable $
+[\csq@rcsid $Id: csquotes.sty,v 5.1b 2011/01/20 20:31:49 lehman stable $
context-sensitive quotations]
\def\csq@version$#1: #2.#3 ${#2#3}
@@ -2219,16 +2219,24 @@
\let\csq@themarker\csq@omitmarker}
\newrobustcmd*{\mkfrenchopenquote}[1]{%
- \leavevmode#1\penalty\@M\@frenchquotespace}
+ \leavevmode#1\@frenchquotespace}
\newrobustcmd*{\mkfrenchclosequote}[1]{%
- \leavevmode\penalty\@M\@frenchquotespace#1}
+ \leavevmode\@frenchquotespace#1}
\newcommand*{\@frenchquotespace}{%
+ \penalty\@M
\hskip 0.8\fontdimen2\font
plus 0.3\fontdimen3\font
minus 0.3\fontdimen4\font}
+\AtEndPreamble{%
+ \@ifpackageloaded{polyglossia}
+ {\@ifpackagelater{polyglossia}{2009/11/20}
+ {\let\@frenchquotespace\@empty}
+ {}}
+ {}}
+
% German
\newrobustcmd*{\fixligatures}{%