mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-23 00:38:01 +00:00
infrastructure for requiring "amssymb".
Could anybody please fill in the apropriate tests? git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3402 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
c686dbe87f
commit
c446acbd86
@ -116,3 +116,10 @@ void MathStringInset::write(WriteStream & os) const
|
||||
else
|
||||
os << str_;
|
||||
}
|
||||
|
||||
|
||||
void MathStringInset::validate(LaTeXFeatures & features) const
|
||||
{
|
||||
// if (...)
|
||||
// features.require("amssymb");
|
||||
}
|
||||
|
@ -34,6 +34,8 @@ public:
|
||||
string str() const { return str_; }
|
||||
///
|
||||
MathStringInset * asStringInset() { return this; }
|
||||
/// request "external features"
|
||||
void validate(LaTeXFeatures & features) const;
|
||||
|
||||
///
|
||||
void normalize(NormalStream &) const;
|
||||
|
@ -183,3 +183,8 @@ void MathSymbolInset::infoize(std::ostream & os) const
|
||||
}
|
||||
|
||||
|
||||
void MathSymbolInset::validate(LaTeXFeatures & features) const
|
||||
{
|
||||
// if (...)
|
||||
// features.require("amssymb");
|
||||
}
|
||||
|
@ -35,6 +35,8 @@ public:
|
||||
string name() const;
|
||||
///
|
||||
bool match(MathInset *) const;
|
||||
/// request "external features"
|
||||
void validate(LaTeXFeatures & features) const;
|
||||
|
||||
///
|
||||
void normalize(NormalStream &) const;
|
||||
|
Loading…
x
Reference in New Issue
Block a user