lyx_mirror/src
Enrico Forestieri 8a1f936ff1 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.

Fixes #9678
2016-11-05 21:31:09 +01:00
..
client Make monolithic build code portable to Mac OS 2016-06-15 22:32:52 +01:00
frontends Fix height of cursor inside insets 2016-11-04 17:58:32 +01:00
graphics Revert part of c053a9394d 2016-04-25 20:59:25 +02:00
insets Clear background behind sub-labels when necessary. 2016-11-04 18:01:49 +01:00
mathed Strike out (in the output) deleted display math with track-changes 2016-11-05 21:31:09 +01:00
support Fix exit code from runCommand on Windows 2016-08-18 17:00:55 -04:00
tests Removed doubled code in CMakeLists.txt 2015-11-22 19:20:32 +01:00
tex2lyx Introduce the latexpar separator. 2016-04-06 05:25:27 +02:00
.gitignore
AppleSpellChecker.cpp
AppleSpellChecker.h
AspellChecker.cpp Fix "dead store" warnings of Xcode analyze tool 2015-10-09 08:16:23 +02:00
AspellChecker.h
Author.cpp GuiChanges: provide feedback when there are no more changes 2016-06-15 22:32:53 +01:00
Author.h GuiChanges: provide feedback when there are no more changes 2016-06-15 22:32:53 +01:00
BiblioInfo.cpp Amend 2c4673af58 2016-10-23 08:12:34 +02:00
BiblioInfo.h Improve info display for biblatex databases, part II 2016-10-23 08:11:14 +02:00
boost.cpp
Box.cpp
Box.h
BranchList.cpp
BranchList.h
buffer_funcs.cpp
buffer_funcs.h
Buffer.cpp Strike out (in the output) deleted display math with track-changes 2016-11-05 21:31:09 +01:00
Buffer.h Automatically show the review toolbar if the document has tracked changes 2016-06-15 22:32:53 +01:00
BufferEncodings.cpp
BufferEncodings.h
BufferList.cpp Rewrite the BufferList::releaseChild method so that it only checks 2016-01-05 09:59:31 -05:00
BufferList.h Rewrite the BufferList::releaseChild method so that it only checks 2016-01-05 09:59:31 -05:00
BufferParams.cpp Fix usage of multiple varieties of the same polyglossia language. 2016-11-02 18:04:26 +01:00
BufferParams.h Add \save_transient_properties parameter (#9841) 2016-01-12 21:25:34 +00:00
BufferView.cpp Fix height of cursor inside insets 2016-11-04 17:58:32 +01:00
BufferView.h Fix wrong reset of horizontal scolling of current row 2015-11-02 11:11:39 +01:00
Bullet.cpp
Bullet.h
Changes.cpp Strike out (in the output) deleted display math with track-changes 2016-11-05 21:31:09 +01:00
Changes.h Automatically show the review toolbar if the document has tracked changes 2016-06-15 22:32:53 +01:00
Chktex.cpp
Chktex.h
Citation.h
CMakeLists.txt integrate 3rdparty libs 2015-12-15 13:20:10 +01:00
CmdDef.cpp
CmdDef.h
Color.cpp In Color Preferences "frame of button" should be "button frame" 2016-11-03 16:44:48 +01:00
Color.h
ColorCode.h support for all default colors of the package xcolor 2015-05-14 22:23:44 +02:00
ColorSet.h
Compare.cpp Call lyx::next and lyx::prev explicitely. In case libc++ provides 2016-01-10 18:06:15 +01:00
Compare.h
CompletionList.h
Converter.cpp Add assertions, just to be sure. 2015-09-20 20:03:24 -04:00
Converter.h Make Converter class thread-safe 2014-12-21 22:05:15 +01:00
ConverterCache.cpp Fix unitialized members in CacheItem 2015-03-04 22:50:37 +01:00
ConverterCache.h
CoordCache.cpp Improve debug message 2015-11-20 22:43:45 +01:00
CoordCache.h Get rid of ParagraphMetrics::insetDimension 2015-10-19 13:17:16 +02:00
Counters.cpp When a counter is stepped, reset recursively all slaves 2016-05-28 17:41:20 -04:00
Counters.h When a counter is stepped, reset recursively all slaves 2016-05-28 17:41:20 -04:00
Cursor.cpp Fix height of cursor inside insets 2016-11-04 17:58:32 +01:00
Cursor.h Detect properly when cursor position cannot be computed 2015-12-07 13:25:10 +01:00
CursorSlice.cpp Replace outdated LASSERT 2015-03-20 18:50:58 +01:00
CursorSlice.h Improve source code documentation 2015-03-18 21:33:10 +01:00
CutAndPaste.cpp Fix bug #8782: We need to query the cell, not just the inset. 2016-06-29 21:28:05 -04:00
CutAndPaste.h Fix pasting insets into math (bug #9302) 2015-01-19 21:37:01 +01:00
DepTable.cpp
DepTable.h
Dimension.cpp Fix LASSERT correction 2015-10-10 21:38:17 +02:00
Dimension.h
DispatchResult.h Automatically show the review toolbar if the document has tracked changes 2016-06-15 22:32:53 +01:00
DocIterator.cpp There does not appear to be any need to update the entire Buffer 2015-12-12 17:19:33 -05:00
DocIterator.h There does not appear to be any need to update the entire Buffer 2015-12-12 17:19:33 -05:00
DocumentClassPtr.h
EnchantChecker.cpp use enchant exception message accessor 2014-11-18 22:06:27 +01:00
EnchantChecker.h
Encoding.cpp Improve \AA and \aa tex2lyx import 2016-01-08 21:06:24 +01:00
Encoding.h Improve \AA and \aa tex2lyx import 2016-01-08 21:06:24 +01:00
ErrorList.cpp
ErrorList.h
Exporter.cpp
Exporter.h
factory.cpp Introduce the latexpar separator. 2016-04-06 05:25:27 +02:00
factory.h
Floating.cpp Simplify CSS classes for floats. 2016-07-31 03:45:05 -04:00
Floating.h Add more Float tags to allow to disable wide and sideways feature 2015-05-22 18:59:17 +02:00
FloatList.cpp Add more Float tags to allow to disable wide and sideways feature 2015-05-22 18:59:17 +02:00
FloatList.h Add more Float tags to allow to disable wide and sideways feature 2015-05-22 18:59:17 +02:00
Font.cpp Sort the language nesting mess with polyglossia 2016-10-30 00:16:50 +02:00
Font.h
FontEnums.h
FontInfo.cpp
FontInfo.h Fix logic error in on-screen font shape 2015-07-17 12:07:52 +02:00
FontList.cpp Fix compilation with boost 1.58 2015-05-16 00:05:23 +02:00
FontList.h Replace automatic logofication with insets 2015-03-01 11:16:57 +01:00
Format.cpp Better title for ViewSource 2016-10-22 20:07:42 +02:00
Format.h Make Format class almost thread-safe 2014-12-21 21:40:25 +01:00
FuncCode.h New LFUN tabular-feature (#9794) 2016-01-27 18:20:37 +01:00
FuncRequest.cpp
FuncRequest.h
FuncStatus.cpp
FuncStatus.h
Graph.cpp
Graph.h
HSpace.cpp
HSpace.h
HunspellChecker.cpp Correct path names were to look for RPM based dictionaries for hunspell on Linux. 2016-06-12 14:02:35 +02:00
HunspellChecker.h
IndicesList.cpp
IndicesList.h
InsetIterator.cpp
InsetIterator.h
InsetList.cpp
InsetList.h
Intl.cpp
Intl.h
KeyMap.cpp
KeyMap.h
KeySequence.cpp
KeySequence.h
Language.cpp Issue an error message if conflicting languages are used 2016-10-31 10:26:35 +01:00
Language.h Issue an error message if conflicting languages are used 2016-10-31 10:26:35 +01:00
LaTeX.cpp Fix #10394 Do not error on missing characters in "nullfont". 2016-10-23 17:16:26 +02:00
LaTeX.h Clear the error list before second LaTeX run 2015-11-20 13:47:11 -05:00
LaTeXFeatures.cpp Strike out (in the output) deleted display math with track-changes 2016-11-05 21:31:09 +01:00
LaTeXFeatures.h Strike out (in the output) deleted display math with track-changes 2016-11-05 21:31:09 +01:00
LaTeXFonts.cpp
LaTeXFonts.h Fix uninitialized member in LaTexFont constructor 2015-03-04 23:21:34 +01:00
LaTeXPackages.cpp
LaTeXPackages.h
Layout.cpp Fix bug #10320. 2016-08-04 17:10:39 -04:00
Layout.h Layout format update: AddToToc, IsTocCaption, OutlinerName 2015-12-13 19:56:49 +00:00
LayoutEnums.h
LayoutFile.cpp Fix parsing of class and category declaration line in layout files 2015-09-02 14:29:06 +02:00
LayoutFile.h Fix bug #4812 (Layout in local directory lost on Save As, Copying) 2015-05-13 22:02:13 +02:00
LayoutModuleList.cpp
LayoutModuleList.h
Length.cpp Introduce proper integer rounding function 2016-02-17 21:42:37 +01:00
Length.h Fix Length::inBP() 2015-07-12 18:36:19 +02:00
lengthcommon.cpp Remove C-isms in isValidLength 2015-02-20 16:16:31 +01:00
Lexer.cpp Fix cppcheck variable scope warnings 2015-09-20 10:42:35 +02:00
Lexer.h Provide optional trimmed version of Lexer::getString and getDocString 2015-05-19 10:15:34 +02:00
lyx_commit_hash.h.in Autotools: read git commit hash at compile time 2014-11-24 22:00:21 +01:00
LyX.cpp Fix bug #9096: Load all the files specified on the command line, and then dispatch whatever commands we are given to those Buffers. 2015-11-29 11:25:21 -05:00
LyX.h Fix bug #9096: Load all the files specified on the command line, and then dispatch whatever commands we are given to those Buffers. 2015-11-29 11:25:21 -05:00
LyXAction.cpp Introduce the latexpar separator. 2016-04-06 05:25:27 +02:00
LyXAction.h New LFUN tabular-feature: update prefs2prefs.py 2016-01-27 18:20:53 +01:00
lyxfind.cpp Implement wrapping in next-change (#10388). 2016-10-22 19:25:07 +02:00
lyxfind.h Rewrite of change-related helpers 2014-10-14 17:40:44 +02:00
LyXRC.cpp Add feedback in status bar when zooming 2016-07-20 00:58:30 +02:00
LyXRC.h Raise the maxlastfiles cap 2016-06-15 22:32:11 +01:00
LyXVC.cpp Do some caching of window title and related UI 2016-10-19 17:34:54 +02:00
LyXVC.h Do some caching of window title and related UI 2016-10-19 17:34:54 +02:00
lyxwinres.rc
main.cpp
Makefile.am Make monolithic build code portable to Mac OS 2016-06-15 22:32:52 +01:00
MetricsInfo.cpp Show on screen font changes for text-in-math 2016-10-25 20:24:26 +02:00
MetricsInfo.h Fix wrong forward declaration 2015-11-16 21:51:30 +01:00
ModuleList.cpp Fix indentation. 2016-07-25 15:07:03 -04:00
ModuleList.h
Mover.cpp
Mover.h
output_docbook.cpp Call lyx::next and lyx::prev explicitely. In case libc++ provides 2016-01-10 18:06:15 +01:00
output_docbook.h
output_latex.cpp Sort the language nesting mess with polyglossia 2016-10-30 00:16:50 +02:00
output_latex.h Sort the language nesting mess with polyglossia 2016-10-30 00:16:50 +02:00
output_plaintext.cpp
output_plaintext.h
output_xhtml.cpp Fix XHTML export of German Additional Features manual. 2016-08-04 22:47:32 -04:00
output_xhtml.h Fix std::string docstream output error 2015-10-15 20:52:28 +02:00
output.cpp
output.h
OutputEnums.h
OutputParams.cpp Strike out (in the output) deleted display math with track-changes 2016-11-05 21:31:09 +01:00
OutputParams.h Strike out (in the output) deleted display math with track-changes 2016-11-05 21:31:09 +01:00
paper.h Convert remaining C++ files to UTF-8 2015-12-05 19:33:24 +00:00
Paragraph.cpp Strike out (in the output) deleted display math with track-changes 2016-11-05 21:31:09 +01:00
Paragraph.h Fix problem with branch handling. The problem was that we were not 2016-07-29 23:50:13 -04:00
ParagraphList.h
ParagraphMetrics.cpp Take inset dimension into account in row signature 2016-06-15 22:32:53 +01:00
ParagraphMetrics.h Take inset dimension into account in row signature 2016-06-15 22:32:53 +01:00
ParagraphParameters.cpp
ParagraphParameters.h
ParIterator.cpp
ParIterator.h
PDFOptions.cpp Allow quotes in PDF text properties 2015-11-04 12:18:01 +01:00
PDFOptions.h Add some missing member variable initializations 2015-09-13 19:47:21 +02:00
PersonalWordList.cpp
PersonalWordList.h
PrinterParams.cpp Remove printing support from LyX. 2015-05-27 18:13:08 -04:00
PrinterParams.h
Row.cpp Let getPosNearX take horizontal scrolling into account 2016-06-15 22:32:52 +01:00
Row.h Let getPosNearX take horizontal scrolling into account 2016-06-15 22:32:52 +01:00
RowPainter.cpp Round values properly when drawing right margin selection 2016-11-04 16:00:55 +01:00
RowPainter.h Make spellchecker dotted underlines thicker. 2015-12-02 21:49:54 +01:00
Server.cpp Fix wrong test: boolean variable is never negative 2014-11-01 16:06:08 +01:00
Server.h
ServerSocket.cpp Fix cppcheck variable scope warnings 2015-09-20 10:42:35 +02:00
ServerSocket.h
Session.cpp Prevent crash when attempting to restore a file multiple times. 2015-04-06 09:55:07 +02:00
Session.h
sgml.cpp Fix cppcheck variable scope warnings 2015-09-20 10:42:35 +02:00
sgml.h
Spacing.cpp
Spacing.h
SpellChecker.h
TexRow.cpp Fix bug #10195 2016-06-21 01:51:42 +01:00
TexRow.h Add cursor<->row correspondance tracking for tables and subcaptions. 2015-10-19 06:55:18 +01:00
texstream.cpp Add cursor<->row correspondance tracking for tables and subcaptions. 2015-10-19 06:55:18 +01:00
texstream.h Add cursor<->row correspondance tracking for tables and subcaptions. 2015-10-19 06:55:18 +01:00
Text2.cpp Call lyx::next and lyx::prev explicitely. In case libc++ provides 2016-01-10 18:06:15 +01:00
Text3.cpp When breaking an empty paragraph reduces depth, set layout too 2016-10-20 14:50:34 +02:00
Text.cpp When breaking an empty paragraph reduces depth, set layout too 2016-10-20 14:50:34 +02:00
Text.h Consistency of ellipses across the UI 2015-10-05 21:16:16 +01:00
TextClass.cpp Rename Caption:LongTableNoNumber to Caption:Unnumbered 2016-03-30 16:07:00 +02:00
TextClass.h Fix problem reported by Kornel in this thread: 2016-03-27 16:56:17 -04:00
TextMetrics.cpp Recompute Paragraph::beginOfBody() earlier 2016-07-21 10:37:41 +02:00
TextMetrics.h Let getPosNearX take horizontal scrolling into account 2016-06-15 22:32:52 +01:00
Thesaurus.cpp Make Thesaurus check for more general dictionaries (en-v2.idx) 2015-06-02 17:28:44 +02:00
Thesaurus.h Forbid wrong compiler generated copy constructors 2015-09-20 19:43:06 +02:00
TocBackend.cpp Layout format update: AddToToc, IsTocCaption, OutlinerName 2015-12-13 19:56:49 +00:00
TocBackend.h Fix compilation error with clang's libc++ 2016-01-11 11:18:20 +01:00
Trans.cpp Add missing intializations 2015-10-10 21:04:28 +02:00
Trans.h Add missing intializations 2015-10-10 21:04:28 +02:00
Undo.cpp Update all paragraphs layouts when undoing bufferparams 2016-01-20 15:20:51 +01:00
Undo.h Repeat after me: into account, into account, into account 2015-09-27 21:38:20 +02:00
update_flags.h
VCBackend.cpp #9940 VCS now toggles buffer read-only state if locking is not active and it is enabled by VC backend 2016-02-20 07:32:56 +01:00
VCBackend.h Set window title according to platform UI 2016-10-17 10:51:46 +02:00
version.cpp Make builds reproducible 2015-03-26 18:14:45 +01:00
version.h Introduce the latexpar separator. 2016-04-06 05:25:27 +02:00
VSpace.cpp
VSpace.h
WordLangTuple.h #9496 factor out getting language from LFUN args or cursor position in speller LFUNs 2015-07-16 21:59:15 +02:00
WordList.cpp
WordList.h