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

Fix \languagename issue #31

Closed moewew closed 4 years ago

moewew commented 4 years ago

\languagename and \babelname should only be used if the multi-lingual feature is turned on and even then we had better test if the commands exists. In any case they shouldn't be expanded.

Not sure if https://github.com/josephwright/csquotes/commit/266ebd129e15daff42d3841190be77cccaf20573 is the best way to get rid of the spurious space. A possible alternative would have been

\def\csq@resetstyle@i#1{%
  \ifx\csq@currentstyle#1%
  \else
    ...
  \fi}