honour requirements for dots (bug 5376).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@26948 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jürgen Spitzmüller 2008-10-18 14:18:32 +00:00
parent c5f7b187d5
commit dea3ed50ce
4 changed files with 18 additions and 5 deletions

View File

@ -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

View File

@ -12,6 +12,8 @@
#include <config.h>
#include "InsetMathDots.h"
#include "LaTeXFeatures.h"
#include "MathStream.h"
#include "MathSupport.h"
#include "MathParser.h"
@ -78,4 +80,11 @@ docstring InsetMathDots::name() const
}
void InsetMathDots::validate(LaTeXFeatures & features) const
{
if (!key_->requires.empty())
features.require(to_utf8(key_->requires));
}
} // namespace lyx

View File

@ -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_;

View File

@ -96,6 +96,8 @@ What's new
- The LaTeX package amscd is now loaded automatically after math diagrams
have been created (bug 5090).
- Load amsmath automatically for ams dots such as \dotsb (bug 5376).
- Fix inputenc error with ligature glyphs in utf8 encoding (bug 5086).
- Fix LaTeX error with deleted straight quotes in change tracking mode