diff options
author | Norbert Preining <norbert@preining.info> | 2019-12-03 03:01:24 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2019-12-03 03:01:24 +0000 |
commit | b8d4bb76703bcb15578e2b23c5d256532180b894 (patch) | |
tree | bedd1df7a00521a2bd986b3c0289d6556a59e39b /macros/latex/contrib/csquotes/csquotes.sty | |
parent | 02e4625a78a5029e8b5dc2a4ec70193b232f497e (diff) |
CTAN sync 201912030301
Diffstat (limited to 'macros/latex/contrib/csquotes/csquotes.sty')
-rw-r--r-- | macros/latex/contrib/csquotes/csquotes.sty | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/macros/latex/contrib/csquotes/csquotes.sty b/macros/latex/contrib/csquotes/csquotes.sty index 0d61ab8b23..9fa4802124 100644 --- a/macros/latex/contrib/csquotes/csquotes.sty +++ b/macros/latex/contrib/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 |