mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-05 13:26:21 +00:00
Comments
This commit is contained in:
parent
1db9ff9b1a
commit
4950bb5ebc
@ -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")
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user