lyx_mirror/src/mathed
Jean-Marc Lasgouttes 2baa292314 Do not export the content of InsetMathBoxed as text in MathML
\boxed{} is the only box in LaTeX that contains math. It is amusing
that the example file that we had for ticket #13609 should not have
been a problem since there is no reason to force <mtext> there.

(cherry picked from commit 1186d90edf)
2024-07-24 18:26:53 +02:00
..
CMakeLists.txt prevent Qt6 from defining UNICODE (Qt6.1.1 and upwards) 2021-06-19 10:48:49 +02:00
InsetMath.cpp Fix crash when generating MathML with InsetMathBox 2024-07-22 22:08:58 +02:00
InsetMath.h Force a Buffer * argument to math insets constructor 2024-07-05 12:23:59 +02:00
InsetMathAMSArray.cpp Rename WriteStream to TeXMathStream. 2021-01-02 19:52:23 +01:00
InsetMathAMSArray.h Rename WriteStream to TeXMathStream. 2021-01-02 19:52:23 +01:00
InsetMathArray.cpp Rename WriteStream to TeXMathStream. 2021-01-02 19:52:23 +01:00
InsetMathArray.h Rename WriteStream to TeXMathStream. 2021-01-02 19:52:23 +01:00
InsetMathBig.cpp Force a Buffer * argument to math insets constructor 2024-07-05 12:23:59 +02:00
InsetMathBig.h Force a Buffer * argument to math insets constructor 2024-07-05 12:23:59 +02:00
InsetMathBoldSymbol.cpp Similar fixes as 946ba7781c 2021-12-05 18:54:05 +01:00
InsetMathBoldSymbol.h Rename WriteStream to TeXMathStream. 2021-01-02 19:52:23 +01:00
InsetMathBox.cpp Do not export the content of InsetMathBoxed as text in MathML 2024-07-24 18:26:53 +02:00
InsetMathBox.h Rename WriteStream to TeXMathStream. 2021-01-02 19:52:23 +01:00
InsetMathBrace.cpp Force a Buffer * argument to math insets constructor 2024-07-05 12:23:59 +02:00
InsetMathBrace.h Force a Buffer * argument to math insets constructor 2024-07-05 12:23:59 +02:00
InsetMathCancel.cpp Rename WriteStream to TeXMathStream. 2021-01-02 19:52:23 +01:00
InsetMathCancel.h Rename WriteStream to TeXMathStream. 2021-01-02 19:52:23 +01:00
InsetMathCancelto.cpp Rename WriteStream to TeXMathStream. 2021-01-02 19:52:23 +01:00
InsetMathCancelto.h Rename WriteStream to TeXMathStream. 2021-01-02 19:52:23 +01:00
InsetMathCases.cpp MathML: update code for InsetMathCases to newest classes. 2022-12-09 01:49:19 +01:00
InsetMathCases.h Rename WriteStream to TeXMathStream. 2021-01-02 19:52:23 +01:00
InsetMathChar.cpp Cleanup MathMLStream 2024-07-22 22:06:02 +02:00
InsetMathChar.h Force a Buffer * argument to math insets constructor 2024-07-05 12:23:59 +02:00
InsetMathClass.cpp Before this patch, each character within InsetMathClass was output separately, without understanding their meaning, using the default text output (with [] around each character). This commit changes the behaviour to skip the InsetMathClass during the MathML output. This effectively renders the inset useless for MathML (instead of controlling spacing), as expected, because the MathML processor is supposed to handle the spacing itself. 2023-07-27 01:22:30 -04:00
InsetMathClass.h Before this patch, each character within InsetMathClass was output separately, without understanding their meaning, using the default text output (with [] around each character). This commit changes the behaviour to skip the InsetMathClass during the MathML output. This effectively renders the inset useless for MathML (instead of controlling spacing), as expected, because the MathML processor is supposed to handle the spacing itself. 2023-07-27 01:22:30 -04:00
InsetMathColor.cpp Amend 7441172d 2023-12-29 20:10:50 +01:00
InsetMathColor.h Fix bug #11007 2021-02-28 22:32:11 +01:00
InsetMathCommand.cpp Rename WriteStream to TeXMathStream. 2021-01-02 19:52:23 +01:00
InsetMathCommand.h Rename WriteStream to TeXMathStream. 2021-01-02 19:52:23 +01:00
InsetMathComment.cpp Rename WriteStream to TeXMathStream. 2021-01-02 19:52:23 +01:00
InsetMathComment.h Rename WriteStream to TeXMathStream. 2021-01-02 19:52:23 +01:00
InsetMathDecoration.cpp Amend 58103cf2 2023-11-09 00:21:21 +01:00
InsetMathDecoration.h Allow using the text properties dialog in mathed 2023-11-06 18:04:44 +01:00
InsetMathDelim.cpp MathML: stop stretching all delimiters. 2024-03-11 01:40:16 +01:00
InsetMathDelim.h Memorise whether delims are extracted from MathExtern. 2024-03-11 01:10:15 +01:00
InsetMathDiagram.cpp Rename WriteStream to TeXMathStream. 2021-01-02 19:52:23 +01:00
InsetMathDiagram.h Rename WriteStream to TeXMathStream. 2021-01-02 19:52:23 +01:00
InsetMathDiff.cpp Rename WriteStream to TeXMathStream. 2021-01-02 19:52:23 +01:00
InsetMathDiff.h Rename WriteStream to TeXMathStream. 2021-01-02 19:52:23 +01:00
InsetMathDots.cpp Force a Buffer * argument to math insets constructor 2024-07-05 12:23:59 +02:00
InsetMathDots.h Force a Buffer * argument to math insets constructor 2024-07-05 12:23:59 +02:00
InsetMathEnsureMath.cpp Make paste in ensuremath work as in simple math hulls 2021-01-06 02:07:25 +01:00
InsetMathEnsureMath.h Rename eolString() to eol() and pass a MathTeXStream parameter 2022-07-26 22:21:44 +02:00
InsetMathEnv.cpp Rename WriteStream to TeXMathStream. 2021-01-02 19:52:23 +01:00
InsetMathEnv.h Rename WriteStream to TeXMathStream. 2021-01-02 19:52:23 +01:00
InsetMathExFunc.cpp InsetMathExFunc: use XML entities instead of HTML in MathML. 2022-12-26 20:38:06 +01:00
InsetMathExFunc.h Rename MathStream to MathMLStream. 2021-01-02 19:52:23 +01:00
InsetMathExInt.cpp Force a Buffer * argument to math insets constructor 2024-07-05 12:23:59 +02:00
InsetMathExInt.h Rename WriteStream to TeXMathStream. 2021-01-02 19:52:23 +01:00
InsetMathFont.cpp Fix crash when generating MathML with InsetMathBox 2024-07-22 22:08:58 +02:00
InsetMathFont.h Rename WriteStream to TeXMathStream. 2021-01-02 19:52:23 +01:00
InsetMathFontOld.cpp Rename WriteStream to TeXMathStream. 2021-01-02 19:52:23 +01:00
InsetMathFontOld.h Rename WriteStream to TeXMathStream. 2021-01-02 19:52:23 +01:00
InsetMathFrac.cpp MathML: don't output delimiters in InsetMathBinom and 2024-03-11 01:30:48 +01:00
InsetMathFrac.h Implement \case for AASTeX. 2021-01-06 14:08:00 +01:00
InsetMathGrid.cpp Force a Buffer * argument to math insets constructor 2024-07-05 12:23:59 +02:00
InsetMathGrid.h Rename eolString() to eol() and pass a MathTeXStream parameter 2022-07-26 22:21:44 +02:00
InsetMathHull.cpp Fix crash when generating MathML with InsetMathBox 2024-07-22 22:08:58 +02:00
InsetMathHull.h Amend 16660d12. 2024-03-21 21:32:45 +01:00
InsetMathKern.cpp Force a Buffer * argument to math insets constructor 2024-07-05 12:23:59 +02:00
InsetMathKern.h Force a Buffer * argument to math insets constructor 2024-07-05 12:23:59 +02:00
InsetMathLefteqn.cpp
InsetMathLefteqn.h
InsetMathLim.cpp Rename WriteStream to TeXMathStream. 2021-01-02 19:52:23 +01:00
InsetMathLim.h Rename WriteStream to TeXMathStream. 2021-01-02 19:52:23 +01:00
InsetMathMacro.cpp Force a Buffer * argument to math insets constructor 2024-07-05 12:23:59 +02:00
InsetMathMacro.h Rename WriteStream to TeXMathStream. 2021-01-02 19:52:23 +01:00
InsetMathMacroArgument.cpp Force a Buffer * argument to math insets constructor 2024-07-05 12:23:59 +02:00
InsetMathMacroArgument.h Force a Buffer * argument to math insets constructor 2024-07-05 12:23:59 +02:00
InsetMathMacroTemplate.cpp Force a Buffer * argument to math insets constructor 2024-07-05 12:23:59 +02:00
InsetMathMacroTemplate.h Force a Buffer * argument to MathData constructor 2024-07-05 12:21:47 +02:00
InsetMathMatrix.cpp MathML: use standard {M/E}Tag{,Inline} instead of bespoke constructs 2023-01-20 02:56:55 +01:00
InsetMathMatrix.h Rename WriteStream to TeXMathStream. 2021-01-02 19:52:23 +01:00
InsetMathNest.cpp Force a Buffer * argument to math insets constructor 2024-07-05 12:23:59 +02:00
InsetMathNest.h Rename WriteStream to TeXMathStream. 2021-01-02 19:52:23 +01:00
InsetMathNumber.cpp Force a Buffer * argument to math insets constructor 2024-07-05 12:23:59 +02:00
InsetMathNumber.h Force a Buffer * argument to math insets constructor 2024-07-05 12:23:59 +02:00
InsetMathOverset.cpp MathML: use standard {M/E}Tag{,Inline} instead of bespoke constructs 2023-01-20 02:56:55 +01:00
InsetMathOverset.h Rename WriteStream to TeXMathStream. 2021-01-02 19:52:23 +01:00
InsetMathPar.cpp Rename WriteStream to TeXMathStream. 2021-01-02 19:52:23 +01:00
InsetMathPar.h Rename WriteStream to TeXMathStream. 2021-01-02 19:52:23 +01:00
InsetMathPhantom.cpp Rename WriteStream to TeXMathStream. 2021-01-02 19:52:23 +01:00
InsetMathPhantom.h Rename WriteStream to TeXMathStream. 2021-01-02 19:52:23 +01:00
InsetMathRef.cpp Force a Buffer * argument to MathData constructor 2024-07-05 12:21:47 +02:00
InsetMathRef.h Fix bug #12181 2021-03-06 23:36:58 +01:00
InsetMathRoot.cpp LyXHTML: switch the doctype to (X)HTML5 and only output XML entities. 2022-12-25 20:48:14 +01:00
InsetMathRoot.h Rename WriteStream to TeXMathStream. 2021-01-02 19:52:23 +01:00
InsetMathScript.cpp Force a Buffer * argument to MathData constructor 2024-07-05 12:21:47 +02:00
InsetMathScript.h Fixup 7e7f9eba: we only need one hasLimits() method 2021-06-01 16:12:46 +02:00
InsetMathSideset.cpp MathML: use standard {M/E}Tag{,Inline} instead of bespoke constructs 2023-01-20 02:56:55 +01:00
InsetMathSideset.h Rename WriteStream to TeXMathStream. 2021-01-02 19:52:23 +01:00
InsetMathSize.cpp Rename WriteStream to TeXMathStream. 2021-01-02 19:52:23 +01:00
InsetMathSize.h Rename WriteStream to TeXMathStream. 2021-01-02 19:52:23 +01:00
InsetMathSpace.cpp Force a Buffer * argument to math insets constructor 2024-07-05 12:23:59 +02:00
InsetMathSpace.h Force a Buffer * argument to math insets constructor 2024-07-05 12:23:59 +02:00
InsetMathSpecialChar.cpp Cleanup MathMLStream 2024-07-22 22:06:02 +02:00
InsetMathSpecialChar.h Force a Buffer * argument to math insets constructor 2024-07-05 12:23:59 +02:00
InsetMathSplit.cpp Rename WriteStream to TeXMathStream. 2021-01-02 19:52:23 +01:00
InsetMathSplit.h Rename WriteStream to TeXMathStream. 2021-01-02 19:52:23 +01:00
InsetMathSqrt.cpp LyXHTML: switch the doctype to (X)HTML5 and only output XML entities. 2022-12-25 20:48:14 +01:00
InsetMathSqrt.h Rename WriteStream to TeXMathStream. 2021-01-02 19:52:23 +01:00
InsetMathStackrel.cpp MathML: use standard {M/E}Tag{,Inline} instead of bespoke constructs 2023-01-20 02:56:55 +01:00
InsetMathStackrel.h Rename WriteStream to TeXMathStream. 2021-01-02 19:52:23 +01:00
InsetMathString.cpp Force a Buffer * argument to math insets constructor 2024-07-05 12:23:59 +02:00
InsetMathString.h Force a Buffer * argument to math insets constructor 2024-07-05 12:23:59 +02:00
InsetMathSubstack.cpp MathML: output substacks as grids. 2022-12-09 01:48:14 +01:00
InsetMathSubstack.h Substack should not be allowed to change columns 2022-11-21 12:08:17 +01:00
InsetMathSymbol.cpp Force a Buffer * argument to math insets constructor 2024-07-05 12:23:59 +02:00
InsetMathSymbol.h Force a Buffer * argument to math insets constructor 2024-07-05 12:23:59 +02:00
InsetMathTabular.cpp Rename WriteStream to TeXMathStream. 2021-01-02 19:52:23 +01:00
InsetMathTabular.h Rename WriteStream to TeXMathStream. 2021-01-02 19:52:23 +01:00
InsetMathTextsize.cpp Amend 58103cf2 2023-11-08 08:56:40 +01:00
InsetMathTextsize.h Allow using the text properties dialog in mathed 2023-11-06 18:04:44 +01:00
InsetMathUnderset.cpp MathML: use standard {M/E}Tag{,Inline} instead of bespoke constructs 2023-01-20 02:56:55 +01:00
InsetMathUnderset.h Rename WriteStream to TeXMathStream. 2021-01-02 19:52:23 +01:00
InsetMathUnknown.cpp Force a Buffer * argument to math insets constructor 2024-07-05 12:23:59 +02:00
InsetMathUnknown.h Force a Buffer * argument to math insets constructor 2024-07-05 12:23:59 +02:00
InsetMathXArrow.cpp MathML: use standard {M/E}Tag{,Inline} instead of bespoke constructs 2023-01-20 02:56:55 +01:00
InsetMathXArrow.h Rename WriteStream to TeXMathStream. 2021-01-02 19:52:23 +01:00
InsetMathXYMatrix.cpp \protect xymatrix in fragile context 2021-12-27 11:42:30 +01:00
InsetMathXYMatrix.h Rename WriteStream to TeXMathStream. 2021-01-02 19:52:23 +01:00
MacroTable.cpp LyXHTML: switch the doctype to (X)HTML5 and only output XML entities. 2022-12-25 20:48:14 +01:00
MacroTable.h LyXHTML: switch the doctype to (X)HTML5 and only output XML entities. 2022-12-25 20:48:14 +01:00
MathAtom.cpp
MathAtom.h
MathAutoCorrect.cpp Force a Buffer * argument to MathData constructor 2024-07-05 12:21:47 +02:00
MathAutoCorrect.h
MathClass.cpp
MathClass.h Before this patch, each character within InsetMathClass was output separately, without understanding their meaning, using the default text output (with [] around each character). This commit changes the behaviour to skip the InsetMathClass during the MathML output. This effectively renders the inset useless for MathML (instead of controlling spacing), as expected, because the MathML processor is supposed to handle the spacing itself. 2023-07-27 01:22:30 -04:00
MathCompletionList.h
MathData.cpp Force a Buffer * argument to math insets constructor 2024-07-05 12:23:59 +02:00
MathData.h Force a Buffer * argument to MathData constructor 2024-07-05 12:21:47 +02:00
MathExtern.cpp Fixup b29b3eb1: fix broken xml syntax 2024-07-24 18:17:13 +02:00
MathExtern.h Rename WriteStream to TeXMathStream. 2021-01-02 19:52:23 +01:00
MathFactory.cpp Force a Buffer * argument to math insets constructor 2024-07-05 12:23:59 +02:00
MathFactory.h
MathParser_flags.h
MathParser.cpp Force a Buffer * argument to math insets constructor 2024-07-05 12:23:59 +02:00
MathParser.h LyXHTML: switch the doctype to (X)HTML5 and only output XML entities. 2022-12-25 20:48:14 +01:00
MathRow.cpp Fixup 65cb9fa4: avoid extra spacing when selecting math 2023-10-18 12:30:55 +02:00
MathRow.h Use Color_selectiontext as needed for partial selection in math 2023-10-03 12:51:11 +02:00
MathStream.cpp Fixup b29b3eb1: close <mtext> when quitting text mode 2024-07-24 18:17:20 +02:00
MathStream.h Fixup b29b3eb1: fix broken xml syntax 2024-07-24 18:17:13 +02:00
MathSupport.cpp Try to make sure that math insets have a properly set buffer_ member 2024-06-01 18:45:43 +02:00
MathSupport.h Improve alignment of math decorations 2021-02-02 19:39:52 +01: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/...)