]> git.lyx.org Git - features.git/commit
Fix bugs #6047, #4043, and #5394.
authorEnrico Forestieri <forenr@lyx.org>
Fri, 3 Jul 2009 00:05:58 +0000 (00:05 +0000)
committerEnrico Forestieri <forenr@lyx.org>
Fri, 3 Jul 2009 00:05:58 +0000 (00:05 +0000)
commit0a90c42b866d17ba0c5818be363f320b894b1d7b
treee4f28b8b8b29e3cd3a64acebd8c415b312370382
parent7e2391c64cbd30fd566b7b5d7bd5e5cbf0a28b3c
Fix bugs #6047, #4043, and #5394.
6047: Lyx 1.6.3 unable to typeset the third chemical equation of the
      file mhchem.lyx (package mhchem)
4043: mhchem support
5394: support for the mhchems's \ce command
The \ce and \cf insets are text mode environments that allow entering
spaces and mathmode commands. LyX leaves them alone and doesn't try to
be smart, i.e., the behaviour is exactly the same we had in the old days
with text-in-math mode environments, before the introduction of the
\ensuremath and \lyxmathsym macros. This means that in those environments
one has to know what he is doing, as LyX will not offer any protection.
The hack of enclosing \ce and \cf in a \text{} environment in order to
be able to enter spaces is no longer necessary.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30338 a592a061-630c-0410-9148-cb99ea01b6c8
13 files changed:
lib/symbols
src/Cursor.cpp
src/LaTeXFeatures.cpp
src/insets/Inset.h
src/mathed/InsetMathFont.cpp
src/mathed/InsetMathFont.h
src/mathed/InsetMathGrid.cpp
src/mathed/InsetMathNest.cpp
src/mathed/InsetMathString.cpp
src/mathed/MathFactory.cpp
src/mathed/MathStream.cpp
src/mathed/MathStream.h
src/mathed/MathSupport.cpp