josephwright / csquotes

Con­text sen­si­tive quo­ta­tion fa­cil­i­ties
LaTeX Project Public License v1.3c
29 stars 18 forks source link

`\foreignquote` does not work with `polyglossia` #61

Closed marcin-serwin closed 2 years ago

marcin-serwin commented 2 years ago

When trying to compile this

\documentclass{article}

\usepackage[autostyle]{csquotes}

\usepackage{polyglossia}
\setmainlanguage{english}
\setotherlanguage{french}
% \usepackage[french, english]{babel} % works fine

\begin{document}
\foreignquote{french}{Ceci est en français.}
\end{document}

the error below is reported

! Extra }, or forgotten \endgroup.
<argument> ...ettextdirection:n {\l_tmpa_tl }{\group_begin: }

l.11 \foreignquote{french}{Ceci est en français.}

polyglossia version: 2022/04/20 v1.56 csquotes version: 2021-02-22 v5.2l

marcin-serwin commented 2 years ago

This turned out to be a problem with polyglossia: https://github.com/reutenauer/polyglossia/pull/544