Fix #6872: correctly support the math command \dddot

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@35237 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Uwe Stöhr 2010-08-30 21:34:19 +00:00
parent 241e924e2f
commit f2b55b5cea
7 changed files with 9 additions and 4 deletions

View File

@ -1591,6 +1591,7 @@ lib_images_math_files = Split('''
dashv.png
ddagger.png
ddot.png
dddot.png
ddots.png
delim.png
delta.png

View File

@ -543,6 +543,7 @@ dist_imagesmath_DATA = \
images/math/dashv.png \
images/math/ddagger.png \
images/math/ddot.png \
images/math/dddot.png \
images/math/ddots.png \
images/math/delta.png \
images/math/delta2.png \

BIN
lib/images/math/dddot.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 174 B

View File

@ -7,7 +7,7 @@ acute decoration none
bar decoration none
breve decoration none
check decoration none
dddot decoration none
dddot decoration none amsmath
ddot decoration none
dot decoration none
grave decoration none

View File

@ -366,6 +366,7 @@ ToolbarSet
Item "vec" "math-insert \vec"
Item "acute" "math-insert \acute"
Item "ddot" "math-insert \ddot"
Item "dddot" "math-insert \dddot"
Item "breve" "math-insert \breve"
Item "overline" "math-insert \overline"
Item "overbrace" "math-insert \overbrace"

View File

@ -176,9 +176,8 @@ void InsetMathDecoration::infoize(odocstream & os) const
void InsetMathDecoration::validate(LaTeXFeatures & features) const
{
if (ams())
features.require("amsmath");
InsetMathNest::validate(features);
if (!key_->requires.empty())
features.require(to_utf8(key_->requires));
}

View File

@ -77,6 +77,9 @@ What's new
- Fix the output of glyph 0x02e0 (MODIFIER LETTER SMALL GAMMA) (bug 6817).
- Load the amsmath LaTeX-package when the math command \dddot is used to
avoid LaTeX errors (bug 6872).
- Small tweaks for the memoir text class.