The branch, master, has been updated. - Log -----------------------------------------------------------------
commit 4950bb5ebc029b91f32369adcaa7703d5debf319 Author: Juergen Spitzmueller <[email protected]> Date: Wed Aug 8 17:23:02 2012 +0200 Comments diff --git a/src/LaTeXFeatures.cpp b/src/LaTeXFeatures.cpp index 718896e..b25332f 100644 --- a/src/LaTeXFeatures.cpp +++ b/src/LaTeXFeatures.cpp @@ -310,6 +310,9 @@ LaTeXFeatures::LangPackage LaTeXFeatures::langPackage(bool englishbabel) const * If babel is selected (either directly or via the "auto" * mechanism), we really do only require it if we have * a language that needs it. + * English alone normally does not require babel (since it is + * the default language of LaTeX). However, in some cases we + * need to surpass this exception (see Font::validate). */ bool const polyglossia_required = isRequired("polyglossia") diff --git a/src/LaTeXFeatures.h b/src/LaTeXFeatures.h index 32b03b3..9bbc247 100644 --- a/src/LaTeXFeatures.h +++ b/src/LaTeXFeatures.h @@ -101,9 +101,9 @@ public: static bool isAvailable(std::string const & name); /// Has the package been required? bool isRequired(std::string const & name) const; - /* Is it necessary to load the package? This is true if - isRequired is true and the feature is not provided by the - textclass. + /** Is it necessary to load the package? This is true if + isRequired is true and the feature is not provided by the + textclass. */ bool mustProvide(std::string const & name) const; /// @@ -132,8 +132,8 @@ public: void setBuffer(Buffer const &); /// BufferParams const & bufferParams() const; - /* Which language package do we require? \p englishbabel determines - * if we require babel even if English is the only language. + /** Which language package do we require? \p englishbabel determines + * if we require babel even if English is the only language. */ LangPackage langPackage(bool englishbabel = false) const; /// Convenience function to test if we use babel ----------------------------------------------------------------------- Summary of changes: src/LaTeXFeatures.cpp | 3 +++ src/LaTeXFeatures.h | 10 +++++----- 2 files changed, 8 insertions(+), 5 deletions(-) hooks/post-receive -- The LyX Source Repository
