summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/csquotes
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2019-12-03 22:05:08 +0000
committerKarl Berry <karl@freefriends.org>2019-12-03 22:05:08 +0000
commitc7b7b71e49652c9ff0f4f3b2fa6a344041ddbeb1 (patch)
treeb4ad8caec985cc7235dabad518b89548b87690dd /Master/texmf-dist/tex/latex/csquotes
parent89c2992c32ba9525521a695a1536a634b4b90992 (diff)
csquotes (3dec19)
git-svn-id: svn://tug.org/texlive/trunk@53014 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.def2
-rw-r--r--Master/texmf-dist/tex/latex/csquotes/csquotes.def2
-rw-r--r--Master/texmf-dist/tex/latex/csquotes/csquotes.sty15
3 files changed, 11 insertions, 8 deletions
diff --git a/Master/texmf-dist/tex/latex/csquotes/csq-compat.def b/Master/texmf-dist/tex/latex/csquotes/csq-compat.def
index 81a37db6b95..d7a6e504d96 100644
--- a/Master/texmf-dist/tex/latex/csquotes/csq-compat.def
+++ b/Master/texmf-dist/tex/latex/csquotes/csq-compat.def
@@ -1,5 +1,5 @@
\ProvidesFile{csq-compat.def}
- [2019-11-15 v5.2h csquotes backwards compatibility (JAW)]
+ [2019-12-02 v5.2i csquotes backwards compatibility (JAW)]
\def\csq@getversion#1{%
\expandafter\csq@getversion@i
diff --git a/Master/texmf-dist/tex/latex/csquotes/csquotes.def b/Master/texmf-dist/tex/latex/csquotes/csquotes.def
index a870f8a2c68..18479e170a3 100644
--- a/Master/texmf-dist/tex/latex/csquotes/csquotes.def
+++ b/Master/texmf-dist/tex/latex/csquotes/csquotes.def
@@ -1,5 +1,5 @@
\ProvidesFile{csquotes.def}
- [2019-11-15 v5.2h csquotes generic definitions (JAW)]
+ [2019-12-02 v5.2i csquotes generic definitions (JAW)]
% Set defaults
diff --git a/Master/texmf-dist/tex/latex/csquotes/csquotes.sty b/Master/texmf-dist/tex/latex/csquotes/csquotes.sty
index 0d61ab8b237..9fa48021243 100644
--- a/Master/texmf-dist/tex/latex/csquotes/csquotes.sty
+++ b/Master/texmf-dist/tex/latex/csquotes/csquotes.sty
@@ -12,7 +12,7 @@
\NeedsTeXFormat{LaTeX2e}[2005/12/01]
\ProvidesPackage{csquotes}
- [2019-11-15 v5.2h context-sensitive quotations (JAW)]
+ [2019-12-02 v5.2i context-sensitive quotations (JAW)]
%% Compatibility and requirements
@@ -807,18 +807,21 @@
{\edef\csq@mainlang{\languagename}}
{\csq@warn@multilang{Cannot detect main document language}}}}}
+\newcommand*{\csq@otherlang@star}{\csuse{otherlanguage*}}
+\newcommand*{\csq@otherlang@star@end}{\csuse{endotherlanguage*}}
+
\def\csq@resetlang{%
\ifdef\csq@mainlang
- {\csuse{otherlanguage*}{\csq@mainlang}%
+ {\expandafter\csq@otherlang@star\expandafter{\csq@mainlang}%
\let\csq@resetlang\relax}
{}}
\protected\long\def\csq@switchlang#1{%
\ifdef\csq@mainlang
{\begingroup
- \csuse{otherlanguage*}{\csq@mainlang}%
+ \expandafter\csq@otherlang@star\expandafter{\csq@mainlang}%
#1%
- \csuse{endotherlanguage*}%
+ \csq@otherlang@star@end
\endgroup}
{#1}}
@@ -826,9 +829,9 @@
\def\csq@lang#1{%
\csq@savelang
- \lowercase{\csuse{otherlanguage*}{#1}}}
+ \lowercase{\csq@otherlang@star{#1}}}
\def\csq@endlang{%
- \csuse{endotherlanguage*}}
+ \csq@otherlang@star@end}
\def\csq@nolang#1{%
\begingroup