lyx_mirror/src/mathed
Georg Baum 8e8c214bef Fix some bugs related to spaces in math:
- Interpret argument of LFUN_SPACE_INSERT correctly
- Use InsetMathSpace instead of InsetMathSpecialChar for "\ " (bug # 7728)
- Use InsetMathSpace instead of InsetMathChar for ~ (bug # 7728).
  This fixes also the display in LyX (previously a literal ~ was displayed).
Using InsetMathSpace enables also the "Insert Formatting" menu entries.
No file format change is needed, since the LaTeX export is unchanged.
Note that there are still some bugs related to spaces in math:
#7746, #7747, #7749, #7842


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39947 a592a061-630c-0410-9148-cb99ea01b6c8
2011-10-23 20:19:49 +00:00
..
BUGS
CMakeLists.txt cmake: move CMakeLists.txt into source dir (multiple steps) 2011-05-10 17:44:41 +00:00
CommandInset.cpp remove unused include of FuncRequest 2010-08-24 03:07:09 +00:00
CommandInset.h
InsetFormulaMacro.cpp Integrate texrow with otexstream in order to perform automatic line 2011-02-10 20:02:48 +00:00
InsetFormulaMacro.h Introduce a wrapper class for odocstream to help ensuring that no 2011-01-29 02:41:13 +00:00
InsetMath.cpp This is intended to be a pure renaming of the Inset::name() routine, 2011-03-28 22:33:04 +00:00
InsetMath.h This is intended to be a pure renaming of the Inset::name() routine, 2011-03-28 22:33:04 +00:00
InsetMathAMSArray.cpp Make members of FuncRequest private, per the FIXME there. Again, this is 2010-04-09 19:00:42 +00:00
InsetMathAMSArray.h Comment. 2010-07-29 14:29:54 +00:00
InsetMathArray.cpp
InsetMathArray.h
InsetMathBig.cpp The delimiters '<' and '>' can also be used as big delimiters. They are 2010-06-06 18:11:15 +00:00
InsetMathBig.h InsetMathBig via HTML. 2010-03-30 02:04:07 +00:00
InsetMathBoldSymbol.cpp Bold symbols via HTML. 2010-03-30 02:05:49 +00:00
InsetMathBoldSymbol.h Bold symbols via HTML. 2010-03-30 02:05:49 +00:00
InsetMathBox.cpp Clarify comment. 2011-06-30 02:17:49 +00:00
InsetMathBox.h HTML for math boxes. 2010-03-30 02:37:05 +00:00
InsetMathBrace.cpp HTML for InsetMathBrace. 2010-03-30 02:40:32 +00:00
InsetMathBrace.h HTML for InsetMathBrace. 2010-03-30 02:40:32 +00:00
InsetMathCases.cpp Make members of FuncRequest private, per the FIXME there. Again, this is 2010-04-09 19:00:42 +00:00
InsetMathCases.h Cases for HTML. 2010-03-30 02:57:05 +00:00
InsetMathChar.cpp Typo. Merged manual still doesn't export via xhtml. 2011-04-02 14:42:09 +00:00
InsetMathChar.h Simple characters. 2010-03-29 23:03:37 +00:00
InsetMathColor.cpp
InsetMathColor.h HTML for comments and colors. 2010-03-30 17:24:22 +00:00
InsetMathComment.cpp Fix bug #6759. Thanks to Vincent. 2010-06-09 17:02:55 +00:00
InsetMathComment.h HTML for comments and colors. 2010-03-30 17:24:22 +00:00
InsetMathDecoration.cpp Partial fox for bug #6622: Display \undertilde on screen correctly. 2011-05-08 10:23:56 +00:00
InsetMathDecoration.h Fix bug #4565: Using keyboard shortcuts to write Greek letters with an underbar produces LaTeX errors. 2010-03-31 01:09:38 +00:00
InsetMathDelim.cpp Do the obvious thing with delimiters. 2010-03-30 22:07:05 +00:00
InsetMathDelim.h Do the obvious thing with delimiters. 2010-03-30 22:07:05 +00:00
InsetMathDiagram.cpp Add support for feyn package and Diagram inset. 2010-09-19 22:12:06 +00:00
InsetMathDiagram.h Remove unimplemented function declaration. 2011-02-13 10:02:00 +00:00
InsetMathDiff.cpp
InsetMathDiff.h
InsetMathDots.cpp HTML for dots. 2010-03-30 22:14:00 +00:00
InsetMathDots.h HTML for dots. 2010-03-30 22:14:00 +00:00
InsetMathEnsureMath.cpp The mode setting stuff wasn't working properly for XHTML, so this patch 2011-04-01 22:34:40 +00:00
InsetMathEnsureMath.h The mode setting stuff wasn't working properly for XHTML, so this patch 2011-04-01 22:34:40 +00:00
InsetMathEnv.cpp
InsetMathEnv.h
InsetMathExFunc.cpp Revert r33989. We do need this. 2010-03-31 21:02:10 +00:00
InsetMathExFunc.h Revert r33989. We do need this. 2010-03-31 21:02:10 +00:00
InsetMathExInt.cpp Integrals via HTML. 2010-03-30 22:51:02 +00:00
InsetMathExInt.h Integrals via HTML. 2010-03-30 22:51:02 +00:00
InsetMathFont.cpp The mode setting stuff wasn't working properly for XHTML, so this patch 2011-04-01 22:34:40 +00:00
InsetMathFont.h HTML for math fonts. 2010-03-31 18:57:47 +00:00
InsetMathFontOld.cpp Better fix for bug #6851. 2010-08-14 17:57:06 +00:00
InsetMathFontOld.h Better fix for bug #6851. 2010-08-14 17:57:06 +00:00
InsetMathFrac.cpp Make sure we do not crash here in release mode. 2011-05-12 13:28:23 +00:00
InsetMathFrac.h HTML for binomials. 2010-03-31 21:33:33 +00:00
InsetMathGrid.cpp Fix on-screen alignment of multline equations 2011-10-18 18:46:57 +00:00
InsetMathGrid.h Fix on-screen alignment of multline equations 2011-10-18 18:46:57 +00:00
InsetMathHull.cpp Fix on-screen alignment of multline equations 2011-10-18 18:46:57 +00:00
InsetMathHull.h Fix on-screen alignment of multline equations 2011-10-18 18:46:57 +00:00
InsetMathKern.cpp
InsetMathKern.h Ignore kerning in HTML. 2010-03-31 18:59:04 +00:00
InsetMathLefteqn.cpp
InsetMathLefteqn.h
InsetMathLim.cpp
InsetMathLim.h
InsetMathMatrix.cpp Matrix output via HTML. I have to say, this one took some work. 2010-03-31 19:59:09 +00:00
InsetMathMatrix.h Change semantics of two-arg htmlize to make more consistent with other 2010-03-31 19:17:06 +00:00
InsetMathMBox.cpp The mode setting stuff wasn't working properly for XHTML, so this patch 2011-04-01 22:34:40 +00:00
InsetMathMBox.h compile. 2011-02-10 22:57:41 +00:00
InsetMathNest.cpp Fix some bugs related to spaces in math: 2011-10-23 20:19:49 +00:00
InsetMathNest.h Constify InsetMathNest::setMouseHover and remove the const_cast from BufferView. 2011-02-13 10:07:00 +00:00
InsetMathNumber.cpp The mode setting stuff wasn't working properly for XHTML, so this patch 2011-04-01 22:34:40 +00:00
InsetMathNumber.h HTML for numbers. 2010-03-30 01:23:10 +00:00
InsetMathOverset.cpp Fix bug #7252 2011-01-21 19:18:27 +00:00
InsetMathOverset.h HTML for overset. 2010-03-31 20:04:39 +00:00
InsetMathPar.cpp
InsetMathPar.h
InsetMathPhantom.cpp
InsetMathPhantom.h Ignore phantoms for now. 2010-03-31 20:31:15 +00:00
InsetMathRef.cpp Try to finally fix #6930. All the paths that did not come from context 2010-12-08 09:24:04 +00:00
InsetMathRef.h Remove the now unused parameter of createDialogStr(); 2010-10-29 00:42:40 +00:00
InsetMathRoot.cpp Don't hardcode Color_math, such that decorations and other math 2010-04-28 13:19:09 +00:00
InsetMathRoot.h HTML for roots. 2010-03-31 20:31:04 +00:00
InsetMathScript.cpp DispatchResult::update() ==> DispatchResult::screenUpdate() 2010-10-13 17:28:55 +00:00
InsetMathScript.h HTML for scripts. 2010-03-30 01:31:25 +00:00
InsetMathSize.cpp Make sure to call the parent's validate method. 2010-03-31 21:24:16 +00:00
InsetMathSize.h HTML for math sizes. 2010-03-31 20:37:23 +00:00
InsetMathSpace.cpp Fix some bugs related to spaces in math: 2011-10-23 20:19:49 +00:00
InsetMathSpace.h InsetSpace support for 2011-08-29 14:07:30 +00:00
InsetMathSpecialChar.cpp Fix some bugs related to spaces in math: 2011-10-23 20:19:49 +00:00
InsetMathSpecialChar.h Fix compilation for platforms besides Windows 2010-10-31 14:39:50 +00:00
InsetMathSplit.cpp Make members of FuncRequest private, per the FIXME there. Again, this is 2010-04-09 19:00:42 +00:00
InsetMathSplit.h HTML for InsetMathSplit. 2010-03-31 20:50:29 +00:00
InsetMathSqrt.cpp Don't hardcode Color_math, such that decorations and other math 2010-04-28 13:19:09 +00:00
InsetMathSqrt.h HTML for roots. 2010-03-31 20:31:04 +00:00
InsetMathStackrel.cpp HTML for stackrel. 2010-03-31 20:54:27 +00:00
InsetMathStackrel.h HTML for stackrel. 2010-03-31 20:54:27 +00:00
InsetMathString.cpp fix typo: double semicolon at line end of code 2010-12-21 15:28:55 +00:00
InsetMathString.h
InsetMathSubstack.cpp Substack support for XHTML. 2011-04-01 23:41:17 +00:00
InsetMathSubstack.h Substack support for XHTML. 2011-04-01 23:41:17 +00:00
InsetMathSymbol.cpp Correctly show in italic shape the uppercase greek letters inserted in 2011-01-01 19:24:16 +00:00
InsetMathSymbol.h Integrals via HTML. 2010-03-30 22:51:02 +00:00
InsetMathTabular.cpp
InsetMathTabular.h
InsetMathUnderset.cpp Fix bug #7252 2011-01-21 19:18:27 +00:00
InsetMathUnderset.h HTML for underset. 2010-03-31 20:12:52 +00:00
InsetMathUnknown.cpp MathML and HTML definitely can't handle MathUnknown!! 2010-07-29 15:48:01 +00:00
InsetMathUnknown.h MathML and HTML definitely can't handle MathUnknown!! 2010-07-29 15:48:01 +00:00
InsetMathXArrow.cpp HTML for xarrows. 2010-07-29 15:44:17 +00:00
InsetMathXArrow.h HTML for xarrows. 2010-07-29 15:44:17 +00:00
InsetMathXYArrow.cpp MathML and HTML can't handle XYArrow. 2010-07-29 15:46:26 +00:00
InsetMathXYArrow.h Remove unimplemented function declaration. 2011-02-13 10:02:00 +00:00
InsetMathXYMatrix.cpp MathML and HTML definitely can't handle XYMatrix. 2010-07-29 15:38:01 +00:00
InsetMathXYMatrix.h Remove unimplemented function declaration. 2011-02-13 10:02:00 +00:00
MacroTable.cpp Patch by John McCabe-Dansted to fix bug #6502: 2010-02-08 17:39:55 +00:00
MacroTable.h Patch by John McCabe-Dansted to fix bug #6502: 2010-02-08 17:39:55 +00:00
MathAtom.cpp Remove some unnecessary static_casts and add two FIXMEs about casts that don't look safe. 2010-10-26 16:45:21 +00:00
MathAtom.h Remove some unnecessary static_casts and add two FIXMEs about casts that don't look safe. 2010-10-26 16:45:21 +00:00
MathAutoCorrect.cpp
MathAutoCorrect.h
MathCompletionList.h
MathData.cpp Initial work to fix bug involving embedded macros and 2011-05-07 11:57:08 +00:00
MathData.h Initial work to fix bug involving embedded macros and 2011-05-07 11:57:08 +00:00
MathExtern.cpp The mode setting stuff wasn't working properly for XHTML, so this patch 2011-04-01 22:34:40 +00:00
MathExtern.h The beginnings of pure HTML output of math, for our internal XHTML 2010-03-29 22:52:13 +00:00
MathFactory.cpp Fix some bugs related to spaces in math: 2011-10-23 20:19:49 +00:00
MathFactory.h
MathGridInfo.h
MathMacro.cpp Initial work to fix bug involving embedded macros and 2011-05-07 11:57:08 +00:00
MathMacro.h Initial work to fix bug involving embedded macros and 2011-05-07 11:57:08 +00:00
MathMacroArgument.cpp
MathMacroArgument.h
MathMacroTemplate.cpp Trying to be too smart by reducing the number of regenerated previews, may 2010-12-13 22:20:29 +00:00
MathMacroTemplate.h Fix bug #6919 by splitting Inset::noFontChange() into inheritFont() and 2011-02-22 19:41:04 +00:00
MathParser_flags.h
MathParser.cpp Fix some bugs related to spaces in math: 2011-10-23 20:19:49 +00:00
MathParser.h
MathStream.cpp The mode setting stuff wasn't working properly for XHTML, so this patch 2011-04-01 22:34:40 +00:00
MathStream.h The mode setting stuff wasn't working properly for XHTML, so this patch 2011-04-01 22:34:40 +00:00
MathSupport.cpp Partial fox for bug #6622: Display \undertilde on screen correctly. 2011-05-08 10:23:56 +00:00
MathSupport.h Index: src/mathed/InsetMathHull.cpp 2010-04-28 01:40:11 +00:00
README
ReplaceData.h
texify
TextPainter.cpp
TextPainter.h

Inset 'Xyz' is implemented by 'MathXyzInset' in 'math_xyzinset.[hC]'


Inset hierarchy:

                                   MathInset
                                (abstract base)

                         /            |               \

              Dim                  Char               Symbol, Space, ...
         (thing that need       (for things formerly
          the width_/ascent_     known as characters)
          /descent_ cache)

          /             \

       Nest              Dots,  Func, ...
  (for thing with
   nested content)

        |         \

      Grid        Decoration   Delim   Frac  Macro  Root  Script  Sqrt

      /   \

 Array    Hull
         (base for eqnarray/align/...)