mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-12 16:50:39 +00:00
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:
parent
c5f7b187d5
commit
dea3ed50ce
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
|
||||
|
||||
|
@ -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
|
||||
|
@ -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_;
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user