diff options
Diffstat (limited to 'macros/latex/contrib/csquotes/csquotes.sty')
-rw-r--r-- | macros/latex/contrib/csquotes/csquotes.sty | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/macros/latex/contrib/csquotes/csquotes.sty b/macros/latex/contrib/csquotes/csquotes.sty index 4973fbbbe4..0a5cbb4e84 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} - [2022-09-09 v5.2m context-sensitive quotations (JAW)] + [2022-09-14 v5.2n context-sensitive quotations (JAW)] %% Compatibility and requirements @@ -1008,9 +1008,15 @@ % {<init>}{<endinit>}{<text>} \long\def\csq@quote@i#1#2#3{% - \csq@bqgroup#1\csq@oqopen@i{#3}\csq@qclose@i{#2}} + \csq@bqgroup\expandafter\let\expandafter\csq@font\the\font + #1\csq@oqopen@i#3% + \expandafter\ifx\the\font\csq@font\else\expandafter\csq@font\fi + \csq@qclose@i{#2}} \long\def\csq@quote@ii#1#2#3{% - \csq@bqgroup#1\csq@iqopen@i{#3}\csq@qclose@i{#2}} + \csq@bqgroup\expandafter\let\expandafter\csq@font\the\font + #1\csq@iqopen@i#3% + \expandafter\ifx\the\font\csq@font\else\expandafter\csq@font\fi + \csq@qclose@i{#2}} % Plain quotes + language switching |