From 1ad399ff60042a6039c07646029052195bdcb976 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Fri, 11 Apr 2008 23:44:17 +0000 Subject: csquotes 4.1 (11apr08) git-svn-id: svn://tug.org/texlive/trunk@7380 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/latex/csquotes/csquotes.cfg | 4 ++-- Master/texmf-dist/tex/latex/csquotes/csquotes.def | 4 ++-- Master/texmf-dist/tex/latex/csquotes/csquotes.sty | 20 +++++++++----------- 3 files changed, 13 insertions(+), 15 deletions(-) (limited to 'Master/texmf-dist/tex/latex/csquotes') diff --git a/Master/texmf-dist/tex/latex/csquotes/csquotes.cfg b/Master/texmf-dist/tex/latex/csquotes/csquotes.cfg index de4e57f7cf1..99682c71726 100644 --- a/Master/texmf-dist/tex/latex/csquotes/csquotes.cfg +++ b/Master/texmf-dist/tex/latex/csquotes/csquotes.cfg @@ -1,6 +1,6 @@ -% $Id: csquotes.cfg,v 4.0 2008/03/02 15:07:53 lehman stable $ +% $Id: csquotes.cfg,v 4.1 2008/04/11 18:43:44 lehman stable $ -\ProvidesFile{csquotes.cfg}[2008/03/02 v4.0 csquotes configuration] +\ProvidesFile{csquotes.cfg}[2008/04/11 v4.1 csquotes configuration] % Put your definitions here. diff --git a/Master/texmf-dist/tex/latex/csquotes/csquotes.def b/Master/texmf-dist/tex/latex/csquotes/csquotes.def index 1e98f4cecf9..5ff079cfce4 100644 --- a/Master/texmf-dist/tex/latex/csquotes/csquotes.def +++ b/Master/texmf-dist/tex/latex/csquotes/csquotes.def @@ -1,6 +1,6 @@ -% $Id: csquotes.def,v 4.0 2008/03/02 15:07:53 lehman stable $ +% $Id: csquotes.def,v 4.1 2008/04/11 18:43:44 lehman stable $ -\ProvidesFile{csquotes.def}[2008/03/02 v4.0 csquotes generic definitions] +\ProvidesFile{csquotes.def}[2008/04/11 v4.1 csquotes generic definitions] % Set defaults diff --git a/Master/texmf-dist/tex/latex/csquotes/csquotes.sty b/Master/texmf-dist/tex/latex/csquotes/csquotes.sty index 11e7f7e24bf..0e975f0e87e 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 4.0 2008/03/02 15:07:53 lehman stable $ +% $Id: csquotes.sty,v 4.1 2008/04/11 18:43:44 lehman stable $ % Copyright (c) 2003-2008 Philipp Lehman. % @@ -15,7 +15,7 @@ % particular purpose. \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{csquotes}[2008/03/02 v4.0 context-sensitive quotations] +\ProvidesPackage{csquotes}[2008/04/11 v4.1 context-sensitive quotations] %% Compatibility and requirements @@ -24,7 +24,7 @@ \@ifpackageloaded{inputenc} {} - {\AtBeginDocument{% + {\AtEndPreamble{% \@ifpackageloaded{inputenc} {\csq@warning {Load 'inputenc' before 'csquotes'} @@ -35,7 +35,7 @@ \@ifpackageloaded{ucs} {\let\csq@ifucs\@firstoftwo} {\let\csq@ifucs\@secondoftwo - \AtBeginDocument{% + \AtEndPreamble{% \@ifpackageloaded{ucs} {\let\csq@ifucs\@firstoftwo} {}}} @@ -2175,13 +2175,6 @@ \@ifpackageloaded{fancyvrb} {\appto\FV@CatCodes{\@verbatimquotes}} {}% - \@ifpackageloaded{amsmath} - {\let\csq@collect@body\collect@body - \def\collect@body{\@disablequotes\csq@collect@body}} - {\@ifpackageloaded{amstext} - {\let\csq@collect@body\collect@body - \def\collect@body{\@disablequotes\csq@collect@body}} - {}}% \@ifpackageloaded{endnotes} {\BlockquoteDisable{% \renewcommand{\endnote}[2][]{% @@ -2191,6 +2184,11 @@ \renewcommand{\endnotetext}[2][]{}% \let\addtoendnotes\@gobble}} {}% + \ifdef\collect@body % amsmath + {\pretocmd\collect@body{\@disablequotes}} + {}} + +\AtBeginDocument{% \csq@setstyle{default}% \csq@mkenable} -- cgit v1.2.3