From: Juergen Spitzmueller Date: Sat, 22 Dec 2012 16:11:55 +0000 (+0100) Subject: Load babel with English-only documents (bug 8423) X-Git-Tag: 2.0.6~185 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=725764774e0f5eff36e7b2431b10f53a7afee3cd;p=features.git Load babel with English-only documents (bug 8423) --- diff --git a/src/LaTeXFeatures.cpp b/src/LaTeXFeatures.cpp index 15a4ffdc7b..66f91da9db 100644 --- a/src/LaTeXFeatures.cpp +++ b/src/LaTeXFeatures.cpp @@ -333,9 +333,7 @@ bool LaTeXFeatures::useBabel() const && lyxrc.language_package_selection == LyXRC::LP_NONE)) return false; - return (bufferParams().language->lang() != "english" - && !bufferParams().language->babel().empty()) - || this->hasLanguages(); + return !bufferParams().language->babel().empty() || this->hasLanguages(); } diff --git a/status.20x b/status.20x index 22bea2e3eb..0ce3ebe742 100644 --- a/status.20x +++ b/status.20x @@ -66,6 +66,8 @@ What's new * DOCUMENT INPUT/OUTPUT +- Load the babel package also if the document is English-only (bug 8423). + - Do not let child document's settings override master settings (bug 5941). - Correct output of text in changed font size and with decorations (bug 8424).