This commit is contained in:
Juergen Spitzmueller 2012-08-08 17:23:02 +02:00
parent 1db9ff9b1a
commit 4950bb5ebc
2 changed files with 8 additions and 5 deletions

View File

@ -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")

View File

@ -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