diff options
author | Karl Berry <karl@freefriends.org> | 2022-09-14 20:03:56 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2022-09-14 20:03:56 +0000 |
commit | 456df783332b7ebb38f737f0a3dbcf7b70ead26c (patch) | |
tree | 002bec3f850f364ffb702196ea357c2961f27114 /Master/texmf-dist/tex/latex/csquotes/csquotes.sty | |
parent | bf86581f55b9de3f252031d0c3d9e417f2829e64 (diff) |
csquotes (14sep22)
git-svn-id: svn://tug.org/texlive/trunk@64389 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/csquotes/csquotes.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/csquotes/csquotes.sty | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/Master/texmf-dist/tex/latex/csquotes/csquotes.sty b/Master/texmf-dist/tex/latex/csquotes/csquotes.sty index 4973fbbbe4d..0a5cbb4e844 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} - [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 |