summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/csquotes/csquotes.sty
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/csquotes/csquotes.sty')
-rw-r--r--macros/latex/contrib/csquotes/csquotes.sty6
1 files changed, 4 insertions, 2 deletions
diff --git a/macros/latex/contrib/csquotes/csquotes.sty b/macros/latex/contrib/csquotes/csquotes.sty
index 9cc48633a2..0d61ab8b23 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-14 v5.2g context-sensitive quotations (JAW)]
+ [2019-11-15 v5.2h context-sensitive quotations (JAW)]
%% Compatibility and requirements
@@ -803,7 +803,9 @@
{}
{\ifdef\babelname
{\edef\csq@mainlang{\babelname}}
- {\edef\csq@mainlang{\langname}}}}
+ {\ifdef\languagename
+ {\edef\csq@mainlang{\languagename}}
+ {\csq@warn@multilang{Cannot detect main document language}}}}}
\def\csq@resetlang{%
\ifdef\csq@mainlang