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,7 +101,7 @@ 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
/** Is it necessary to load the package? This is true if
isRequired is true and the feature is not provided by the
textclass.
*/
@ -132,7 +132,7 @@ public:
void setBuffer(Buffer const &);
///
BufferParams const & bufferParams() const;
/* Which language package do we require? \p englishbabel determines
/** 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;