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 this feature already provided
+ * e.g. by the document class?
+ */
+ bool isProvided(std::string const & name) const;
+ /** Is it necessary to load the package? This is true if
+ isRequired is true and the feature is not already provided
*/
bool mustProvide(std::string const & name) const;
///
void setBuffer(Buffer const &);
///
BufferParams const & bufferParams() const;
- /// Which language package do we need?
+ /** Which language package do we require? \p englishbabel determines
+ * if we require babel even if English is the only language.
+ */
LangPackage langPackage() const;
/// Convenience function to test if we use babel
bool useBabel() const { return langPackage() == LANG_PACK_BABEL; }