lyx_mirror/src/mathed
Enrico Forestieri 261e7ae9ce Strike out (in the output) deleted display math with track-changes
Showing deleted display math by enabling "Show Changes in Output" was
only possible with dvi (through dvipost). Although LyX strikes out
such formulas on screen, it was impossible obtaining an output
directly using pdflatex (or other engines producing pdf) because
ulem cannot cope with display math material and gives errors.
The solution is to strike out by ourselves such deleted formulas.
I took into account several options. One of them would produce
an output similar to dvipost (which strikes out each element), but
would have required much more changes in the output routines.
Eventually, I opted for using tikz, which gives a more clean
output (as it requires to simply adding a preamble and a postamble
to the latex code of any displayed math, instead of a mark up
tailored to each particular math construct). The look of the pdf
output is similar to the way LyX strikes out the equations on screen.
2016-10-17 03:25:35 +02:00
..
BUGS Improve math-mode lfun for switching to text 2015-08-23 11:10:05 +02:00
CMakeLists.txt Remove InsetMathXYArrow 2016-06-16 20:39:32 +02:00
CommandInset.cpp
CommandInset.h
InsetMath.cpp Remove option to disable texrow 2016-09-23 23:39:48 +02:00
InsetMath.h Remove useless #include 2016-10-14 11:08:04 +02:00
InsetMathAMSArray.cpp Fix borders of InsetMathGrid 2016-10-06 01:11:49 +02:00
InsetMathAMSArray.h Fix borders of InsetMathGrid 2016-10-06 01:11:49 +02:00
InsetMathArray.cpp Fix borders of InsetMathGrid 2016-10-06 01:11:49 +02:00
InsetMathArray.h Fix borders of InsetMathGrid 2016-10-06 01:11:49 +02:00
InsetMathBig.cpp Remove useless #include 2016-10-14 11:08:04 +02:00
InsetMathBig.h Remove some header leftovers based on Scott's script hints. 2013-05-02 00:30:16 -07:00
InsetMathBoldSymbol.cpp RefChanger 2016-06-13 08:46:15 +01:00
InsetMathBoldSymbol.h
InsetMathBox.cpp RefChanger 2016-06-13 08:46:15 +01:00
InsetMathBox.h Remove some header leftovers based on Scott's script hints. 2013-05-02 00:30:16 -07:00
InsetMathBrace.cpp Remove a conversion to_utf8() inside FontSetChanger 2016-06-13 08:46:15 +01:00
InsetMathBrace.h
InsetMathCancel.cpp Do not include MetricsInfo.h in MathStream.h 2016-06-13 08:46:15 +01:00
InsetMathCancel.h
InsetMathCancelto.cpp Do not include MetricsInfo.h in MathStream.h 2016-06-13 08:46:15 +01:00
InsetMathCancelto.h Convert remaining C++ files to UTF-8 2015-12-05 19:33:24 +00:00
InsetMathCases.cpp Fix borders of InsetMathGrid 2016-10-06 01:11:49 +02:00
InsetMathCases.h Fix borders of InsetMathGrid 2016-10-06 01:11:49 +02:00
InsetMathChar.cpp RefChanger 2016-06-13 08:46:15 +01:00
InsetMathChar.h Cleanup of spacing in mathed 2016-05-29 17:55:55 -04:00
InsetMathColor.cpp Amend ccc0e03f 2016-10-05 01:31:14 +02:00
InsetMathColor.h Header cleanup cont. 2013-05-23 22:12:29 -07:00
InsetMathComment.cpp Fix bug #6466 2015-08-23 11:47:37 +02:00
InsetMathComment.h Fix bug #6466 2015-08-23 11:47:37 +02:00
InsetMathDecoration.cpp Remove a conversion to_utf8() inside FontSetChanger 2016-06-13 08:46:15 +01:00
InsetMathDecoration.h
InsetMathDelim.cpp Use symbols file to lookup entities for delimiters. Fixes bug #8280. 2016-06-29 22:39:42 -04:00
InsetMathDelim.h Remove some header leftovers based on Scott's script hints. 2013-05-02 00:30:16 -07:00
InsetMathDiagram.cpp Do not include MetricsInfo.h in MathStream.h 2016-06-13 08:46:15 +01:00
InsetMathDiagram.h Header cleanup cont. 2013-05-25 16:38:20 -07:00
InsetMathDiff.cpp
InsetMathDiff.h
InsetMathDots.cpp Remove useless #include 2016-10-14 11:08:04 +02:00
InsetMathDots.h
InsetMathEnsureMath.cpp Remove a conversion to_utf8() inside FontSetChanger 2016-06-13 08:46:15 +01:00
InsetMathEnsureMath.h
InsetMathEnv.cpp mathed: bformat infoize messages 2014-11-14 18:18:30 +01:00
InsetMathEnv.h Remove some header leftovers based on Scott's script hints. 2013-05-02 00:30:16 -07:00
InsetMathExFunc.cpp Implement math-as-HTML output for InsetMathExFunc. 2013-03-27 11:41:29 -04:00
InsetMathExFunc.h Remove some header leftovers based on Scott's script hints. 2013-05-02 00:30:16 -07:00
InsetMathExInt.cpp
InsetMathExInt.h
InsetMathFont.cpp Fix display and export of some latex macros 2016-09-10 18:32:44 +02:00
InsetMathFont.h Fix display and export of some latex macros 2016-09-10 18:32:44 +02:00
InsetMathFontOld.cpp Remove a conversion to_utf8() inside FontSetChanger 2016-06-13 08:46:15 +01:00
InsetMathFontOld.h Remove a conversion to_utf8() inside FontSetChanger 2016-06-13 08:46:15 +01:00
InsetMathFrac.cpp RefChanger 2016-06-13 08:46:15 +01:00
InsetMathFrac.h Replacement for commits bc47054b and ad0d0f6d 2015-06-14 18:10:29 +02:00
InsetMathGrid.cpp Remove unused variable warning 2016-10-09 19:48:15 +02:00
InsetMathGrid.h Fix borders of InsetMathGrid 2016-10-06 01:11:49 +02:00
InsetMathHull.cpp Strike out (in the output) deleted display math with track-changes 2016-10-17 03:25:35 +02:00
InsetMathHull.h Change tracking cue: for display() math insets 2016-07-03 17:28:46 +02:00
InsetMathKern.cpp Do not include MetricsInfo.h in MathStream.h 2016-06-13 08:46:15 +01:00
InsetMathKern.h
InsetMathLefteqn.cpp
InsetMathLefteqn.h
InsetMathLim.cpp
InsetMathLim.h
InsetMathMatrix.cpp Use convertDelimToXMLEscape with matrix delimiters, too. 2016-06-29 22:52:27 -04:00
InsetMathMatrix.h
InsetMathNest.cpp Strike out (in the output) deleted display math with track-changes 2016-10-17 03:25:35 +02:00
InsetMathNest.h Remove useless #include 2016-10-14 11:08:04 +02:00
InsetMathNumber.cpp Do not include MetricsInfo.h in MathStream.h 2016-06-13 08:46:15 +01:00
InsetMathNumber.h
InsetMathOverset.cpp Do not include MetricsInfo.h in MathStream.h 2016-06-13 08:46:15 +01:00
InsetMathOverset.h
InsetMathPar.cpp Do not include MetricsInfo.h in MathStream.h 2016-06-13 08:46:15 +01:00
InsetMathPar.h
InsetMathPhantom.cpp Do not include MetricsInfo.h in MathStream.h 2016-06-13 08:46:15 +01:00
InsetMathPhantom.h Native support for \smash[t] and \smash[b] 2014-05-27 22:13:58 +02:00
InsetMathRef.cpp Allowing direct, read-write access to the references cache just seems 2013-03-18 19:32:30 -04:00
InsetMathRef.h
InsetMathRoot.cpp Do not include MetricsInfo.h in MathStream.h 2016-06-13 08:46:15 +01:00
InsetMathRoot.h
InsetMathScript.cpp Do not include MetricsInfo.h in MathStream.h 2016-06-13 08:46:15 +01:00
InsetMathScript.h
InsetMathSideset.cpp Do not include MetricsInfo.h in MathStream.h 2016-06-13 08:46:15 +01:00
InsetMathSideset.h Remove ; from end of function definitions 2013-05-12 13:04:18 +02:00
InsetMathSize.cpp RefChanger 2016-06-13 08:46:15 +01:00
InsetMathSize.h
InsetMathSpace.cpp Fix display and export of some latex macros 2016-09-10 18:32:44 +02:00
InsetMathSpace.h
InsetMathSpecialChar.cpp RefChanger 2016-06-13 08:46:15 +01:00
InsetMathSpecialChar.h
InsetMathSplit.cpp Fix data loss with [ in first cell of aligned 2016-09-08 22:38:33 +02:00
InsetMathSplit.h Fix the display of column spacing in AMS environments 2016-05-28 17:42:31 -04:00
InsetMathSqrt.cpp Do not include MetricsInfo.h in MathStream.h 2016-06-13 08:46:15 +01:00
InsetMathSqrt.h
InsetMathStackrel.cpp Do not include MetricsInfo.h in MathStream.h 2016-06-13 08:46:15 +01:00
InsetMathStackrel.h
InsetMathString.cpp Do not include MetricsInfo.h in MathStream.h 2016-06-13 08:46:15 +01:00
InsetMathString.h
InsetMathSubstack.cpp Do not include MetricsInfo.h in MathStream.h 2016-06-13 08:46:15 +01:00
InsetMathSubstack.h
InsetMathSymbol.cpp Fix display and export of some latex macros 2016-09-10 18:32:44 +02:00
InsetMathSymbol.h Cleanup of spacing in mathed 2016-05-29 17:55:55 -04:00
InsetMathTabular.cpp Fix borders of InsetMathGrid 2016-10-06 01:11:49 +02:00
InsetMathTabular.h Fix borders of InsetMathGrid 2016-10-06 01:11:49 +02:00
InsetMathUnderset.cpp Do not include MetricsInfo.h in MathStream.h 2016-06-13 08:46:15 +01:00
InsetMathUnderset.h
InsetMathUnknown.cpp Do not include MetricsInfo.h in MathStream.h 2016-06-13 08:46:15 +01:00
InsetMathUnknown.h Remove heavy includes 2014-11-30 12:52:01 +01:00
InsetMathXArrow.cpp Do not include MetricsInfo.h in MathStream.h 2016-06-13 08:46:15 +01:00
InsetMathXArrow.h
InsetMathXYMatrix.cpp Do not include MetricsInfo.h in MathStream.h 2016-06-13 08:46:15 +01:00
InsetMathXYMatrix.h
MacroTable.cpp Remove option to disable texrow 2016-09-23 23:39:48 +02:00
MacroTable.h Fix display and export of some latex macros 2016-09-10 18:32:44 +02:00
MathAtom.cpp
MathAtom.h
MathAutoCorrect.cpp Add comment to fix coverity #23438. 2016-06-11 23:57:15 -04:00
MathAutoCorrect.h
MathCompletionList.h
MathData.cpp Remove unused 'glue' parameter 2016-08-30 17:21:18 +02:00
MathData.h Remove unused 'glue' parameter 2016-08-30 17:21:18 +02:00
MathExtern.cpp Fix regression of 6dfc25508 2016-07-03 19:41:04 +02:00
MathExtern.h Remove a deep copy of MathData in lyx::write 2015-10-19 06:55:18 +01:00
MathFactory.cpp Remove option to disable texrow 2016-09-23 23:39:48 +02:00
MathFactory.h
MathMacro.cpp Do not rely on math macros being updated 2016-09-25 20:31:13 +02:00
MathMacro.h Correctly classify macros 2016-09-25 01:11:16 +02:00
MathMacroArgument.cpp
MathMacroArgument.h
MathMacroTemplate.cpp Add the customary 1-pixel gap before MathMacroTemplate to better see cursor 2016-10-06 01:35:29 +02:00
MathMacroTemplate.h A more radical approach to inset background painting 2016-08-17 12:05:00 +02:00
MathParser_flags.h
MathParser.cpp Remove InsetMathXYArrow 2016-06-16 20:39:32 +02:00
MathParser.h Remove unsupported macros from autocompletion 2015-03-10 20:53:56 +01:00
MathStream.cpp Strike out (in the output) deleted display math with track-changes 2016-10-17 03:25:35 +02:00
MathStream.h Strike out (in the output) deleted display math with track-changes 2016-10-17 03:25:35 +02:00
MathSupport.cpp Remove option to disable texrow 2016-09-23 23:39:48 +02:00
MathSupport.h Remove a conversion to_utf8() inside FontSetChanger 2016-06-13 08:46:15 +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/...)