mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
honour requirements for dots (bug 5376).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26947 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
8a916f28a9
commit
30a777e8a8
10
lib/symbols
10
lib/symbols
@ -33,11 +33,11 @@ widetilde decoration none
|
||||
dots dots none
|
||||
cdots dots none
|
||||
ddots dots none
|
||||
dotsb dots none
|
||||
dotsc dots none
|
||||
dotsi dots none
|
||||
dotsm dots none
|
||||
dotso dots none
|
||||
dotsb dots none amsmath
|
||||
dotsc dots none amsmath
|
||||
dotsi dots none amsmath
|
||||
dotsm dots none amsmath
|
||||
dotso dots none amsmath
|
||||
ldots dots none
|
||||
vdots dots none
|
||||
|
||||
|
@ -13,6 +13,7 @@
|
||||
|
||||
#include "InsetMathDots.h"
|
||||
|
||||
#include "LaTeXFeatures.h"
|
||||
#include "MathStream.h"
|
||||
#include "MathSupport.h"
|
||||
#include "MathParser.h"
|
||||
@ -73,4 +74,11 @@ docstring InsetMathDots::name() const
|
||||
}
|
||||
|
||||
|
||||
void InsetMathDots::validate(LaTeXFeatures & features) const
|
||||
{
|
||||
if (!key_->requires.empty())
|
||||
features.require(to_utf8(key_->requires));
|
||||
}
|
||||
|
||||
|
||||
} // namespace lyx
|
||||
|
@ -30,6 +30,8 @@ public:
|
||||
void draw(PainterInfo & pi, int x, int y) const;
|
||||
///
|
||||
docstring name() const;
|
||||
/// request "external features"
|
||||
void validate(LaTeXFeatures & features) const;
|
||||
protected:
|
||||
/// cache for the thing's height
|
||||
mutable int dh_;
|
||||
|
Loading…
Reference in New Issue
Block a user