lyx_mirror/src
Jean-Marc Lasgouttes 65a6cc1fc3 Cleanup of spacing in mathed
This is a first cleanup step. More complex rules have to be
implemented on top of this.

Use proper spacing \thinmuskip, \medmuskip and \thickmuskip instead of
ad-hoc values.

Rename isRelOp to isMathRel and introduce isMathBin and isMathPunct
(for InsetMathChar and InsetMathSymbol). Update the categories of
characters in InsetMathChar according to LaTeX source (fontmath.ltx).

Set correctly the spacing around mathrel, mathbin and mathpunct
elements. Use \thinmuskip around MathDelim instead of a hardcoded 4.

This is related to bug #8883.
2016-05-29 17:55:55 -04:00
..
client Configure included iconv with autotools 2016-05-29 17:55:43 -04:00
frontends Fix drawing of buttonText (enforce same left/right spacing) 2016-05-29 17:55:46 -04:00
graphics Revert part of c053a9394d 2016-04-25 20:59:25 +02:00
insets Remove extra spacing around InsetCommand buttons 2016-05-29 17:55:46 -04:00
mathed Cleanup of spacing in mathed 2016-05-29 17:55:55 -04:00
support We do not use <boost/scoped_array.hpp> anymore 2016-05-29 17:55:45 -04:00
tests Removed doubled code in CMakeLists.txt 2015-11-22 19:20:32 +01:00
tex2lyx Configure included iconv with autotools 2016-05-29 17:55:43 -04:00
.gitignore
AppleSpellChecker.cpp Remove unused include file. 2016-05-29 17:55:45 -04:00
AppleSpellChecker.h Remove ; from end of function definitions 2013-05-12 13:04:18 +02:00
AspellChecker.cpp Fix "dead store" warnings of Xcode analyze tool 2015-10-09 08:16:23 +02:00
AspellChecker.h Remove ; from end of function definitions 2013-05-12 13:04:18 +02:00
Author.cpp GuiChanges: provide feedback when there are no more changes 2016-05-29 17:55:42 -04:00
Author.h GuiChanges: provide feedback when there are no more changes 2016-05-29 17:55:42 -04:00
BiblioInfo.cpp Consistency of ellipses across the UI 2015-10-05 21:16:16 +01:00
BiblioInfo.h Make BiblioInfo::collectCitedEntries private (since it can be), 2014-08-22 11:18:10 -04:00
boost.cpp
Box.cpp
Box.h
BranchList.cpp
BranchList.h
buffer_funcs.cpp Make newUnnamedFile() threadsafe 2014-07-05 12:58:22 +02:00
buffer_funcs.h
Buffer.cpp typo 2016-05-29 17:55:42 -04:00
Buffer.h Automatically show the review toolbar if the document has tracked changes 2016-05-29 17:55:42 -04:00
BufferEncodings.cpp Encodings: Make members of CharInfo private 2013-09-29 15:26:20 +02:00
BufferEncodings.h Encodings: Split off the functions that need Buffer 2013-09-29 15:26:18 +02:00
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 Do not save \origin when \save_transient_properties is false (#9958) 2016-02-09 17:48:16 +00:00
BufferParams.h Remove declaration of classes that do not exist 2016-05-29 17:55:45 -04:00
BufferView.cpp Rename Cursor::setSelection(bool) to selection(bool) 2016-05-29 17:55:46 -04:00
BufferView.h Fix wrong reset of horizontal scolling of current row 2015-11-02 11:11:39 +01:00
Bullet.cpp Audit all the LASSERT calls, and try to do something sensible at 2013-04-25 17:27:10 -04:00
Bullet.h
Changes.cpp Disable certain change tracking commands when there are no changes 2016-05-29 17:55:42 -04:00
Changes.h Automatically show the review toolbar if the document has tracked changes 2016-05-29 17:55:42 -04:00
Chktex.cpp Remove boost/format support 2016-05-29 17:55:45 -04:00
Chktex.h Remove boost/format support 2016-05-29 17:55:45 -04:00
Citation.h New \cite_engine_type default. 2013-05-16 20:39:23 +02:00
CMakeLists.txt integrate 3rdparty libs 2015-12-15 13:20:10 +01:00
CmdDef.cpp
CmdDef.h
Color.cpp support for all default colors of the package xcolor 2015-05-14 22:23:44 +02: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 Slowly going through the suggestion made by our headers script. 2013-05-15 22:02:10 -07:00
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:43:01 -04:00
Counters.h When a counter is stepped, reset recursively all slaves 2016-05-28 17:43:01 -04:00
Cursor.cpp Rename Cursor::setSelection(bool) to selection(bool) 2016-05-29 17:55:46 -04:00
Cursor.h Rename Cursor::setSelection(bool) to selection(bool) 2016-05-29 17:55:46 -04:00
CursorSlice.cpp Move one Text::setCursor instance to CursorSlice 2016-05-29 17:55:46 -04:00
CursorSlice.h Move one Text::setCursor instance to CursorSlice 2016-05-29 17:55:46 -04:00
CutAndPaste.cpp Variables of type pit_type should be named pit, not par 2016-05-29 17:55:46 -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-05-29 17:55:42 -04:00
DocIterator.cpp Simplify class structure in TocBackend 2016-05-29 17:55:42 -04: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 Remove ; from end of function definitions 2013-05-12 13:04:18 +02:00
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 Remove ; from end of function definitions 2013-05-12 13:04:18 +02:00
Exporter.cpp
Exporter.h
factory.cpp Introduce the latexpar separator. 2016-04-06 05:25:27 +02:00
factory.h
Floating.cpp Add more Float tags to allow to disable wide and sideways feature 2015-05-22 18:59:17 +02: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 Remove wrong FIXME. 2015-11-21 23:08:54 +01:00
Font.h Slowly going through the suggestion made by our headers script. 2013-05-15 22:02:10 -07:00
FontEnums.h
FontInfo.cpp Implement writing of layouts 2013-03-31 15:33:26 +02:00
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 Fix bug #4812 (Layout in local directory lost on Save As, Copying) 2015-05-13 22:02:13 +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 Audit all the LASSERT calls, and try to do something sensible at 2013-04-25 17:27:10 -04:00
HSpace.h
HunspellChecker.cpp Correct path names were to look for RPM based dictionaries for hunspell on Linux. 2016-05-29 17:55:44 -04:00
HunspellChecker.h
IndicesList.cpp
IndicesList.h
InsetIterator.cpp
InsetIterator.h
InsetList.cpp
InsetList.h
Intl.cpp
Intl.h
KeyMap.cpp Remove unsafe method FileName::tempName() 2014-06-09 13:05:50 +02:00
KeyMap.h
KeySequence.cpp
KeySequence.h
Language.cpp Improve list of available languages for UI l10n. 2015-05-21 10:48:38 +02:00
Language.h typo 2016-01-20 17:40:47 +01:00
LaTeX.cpp Remove variables set but not used 2016-05-29 17:55:46 -04:00
LaTeX.h Clear the error list before second LaTeX run 2015-11-20 13:47:11 -05:00
LaTeXFeatures.cpp Fix regression of 0bf8b8a1 (bug 9884) 2016-01-26 21:33:46 +01:00
LaTeXFeatures.h Move font encoding information to languages. 2015-01-24 14:02:16 +01:00
LaTeXFonts.cpp Revert 6a5aa1ca 2014-07-12 19:52:12 +02:00
LaTeXFonts.h Fix uninitialized member in LaTexFont constructor 2015-03-04 23:21:34 +01:00
LaTeXPackages.cpp
LaTeXPackages.h
Layout.cpp Layout format update: AddToToc, IsTocCaption, OutlinerName 2015-12-13 19:56:49 +00:00
Layout.h Layout format update: AddToToc, IsTocCaption, OutlinerName 2015-12-13 19:56:49 +00:00
LayoutEnums.h Add layout tag that determines if/when a paragraph can be indented. 2014-05-29 14:10:32 +02:00
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 Revert "Now math previews are correctly updated when replacing math contents inside" 2015-11-13 00:54:15 -05:00
lyxfind.h Rewrite of change-related helpers 2014-10-14 17:40:44 +02:00
LyXRC.cpp Raise the maxlastfiles cap 2016-05-28 17:42:31 -04:00
LyXRC.h Raise the maxlastfiles cap 2016-05-28 17:42:31 -04:00
LyXVC.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
LyXVC.h Fix monolithic build 2013-03-18 20:42:28 +01:00
lyxwinres.rc
main.cpp
Makefile.am Properly check for windres 2016-05-29 17:55:43 -04:00
MetricsInfo.cpp #9514 contents inside of LyX insets with spell check disabled should be ignored by spell checker. 2015-05-06 18:39:24 +02:00
MetricsInfo.h Fix wrong forward declaration 2015-11-16 21:51:30 +01:00
ModuleList.cpp Remove dependency on TEX2LYX #define in ModuleList.cpp 2013-09-29 15:26:12 +02:00
ModuleList.h Remove some header leftovers based on Scott's script hints. 2013-05-02 00:30:16 -07:00
Mover.cpp Centralize replacement of "$$s" 2014-05-14 15:45:20 -04:00
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 Call lyx::next and lyx::prev explicitely. In case libc++ provides 2016-01-10 18:06:15 +01:00
output_latex.h Improvements to cursor highlighting in the source panel 2015-10-01 21:51:08 +01:00
output_plaintext.cpp Fix a bunch of small performance issues spotted by cppcheck 2014-07-05 19:13:10 +02:00
output_plaintext.h Introduce max_length parameter for plaintext() output routines, 2013-03-08 15:12:58 -05:00
output_xhtml.cpp Fix std::string docstream output error 2015-10-15 20:52:28 +02: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 Fix preview of included files in child documents (bug #9583) 2015-06-02 17:23:52 +02:00
OutputParams.h Fix preview of included files in child documents (bug #9583) 2015-06-02 17:23:52 +02:00
paper.h Convert remaining C++ files to UTF-8 2015-12-05 19:33:24 +00:00
Paragraph.cpp Automatically show the review toolbar if the document has tracked changes 2016-05-29 17:55:42 -04:00
Paragraph.h Remove declaration of classes that do not exist 2016-05-29 17:55:45 -04:00
ParagraphList.h
ParagraphMetrics.cpp Better handling of different int sizes when computing row crc 2016-03-05 23:18:12 +01:00
ParagraphMetrics.h Get rid of ParagraphMetrics::insetDimension 2015-10-19 13:17:16 +02:00
ParagraphParameters.cpp
ParagraphParameters.h
ParIterator.cpp
ParIterator.h Remove some header leftovers based on Scott's script hints. 2013-05-02 00:30:16 -07:00
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 Fix a bunch of minor issues discovered by the cppcheck script. 2014-04-21 11:52:00 -04:00
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-05-29 17:55:42 -04:00
Row.h Let getPosNearX take horizontal scrolling into account 2016-05-29 17:55:42 -04:00
RowPainter.cpp Directly pass a Row::Element to RowPainter::paintInset 2016-05-29 17:55:45 -04:00
RowPainter.h Directly pass a Row::Element to RowPainter::paintInset 2016-05-29 17:55:45 -04:00
Server.cpp Fix compiler warnings 2016-05-29 17:55:44 -04:00
Server.h
ServerSocket.cpp Fix cppcheck variable scope warnings 2015-09-20 10:42:35 +02:00
ServerSocket.h Header cleanup cont. 2013-05-19 18:07:53 -07:00
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 Fix a bunch of small performance issues spotted by cppcheck 2014-07-05 19:13:10 +02:00
Spacing.cpp
Spacing.h
SpellChecker.h
TexRow.cpp improved data types for prefix length and pointer diff 2015-11-20 20:48:56 +01:00
TexRow.h Add cursor<->row correspondance tracking for tables and subcaptions. 2015-10-19 06:55:18 +01:00
texstream.cpp Mingw-w64 build fixes for long long 2016-05-29 17:55:43 -04:00
texstream.h Add cursor<->row correspondance tracking for tables and subcaptions. 2015-10-19 06:55:18 +01:00
Text2.cpp Move one Text::setCursor instance to CursorSlice 2016-05-29 17:55:46 -04:00
Text3.cpp Cleanup handling of LFUN_LAYOUT_PARAGRAPH in getStatus 2016-05-29 17:55:46 -04:00
Text.cpp Rename badly named variable 2016-05-29 17:55:46 -04:00
Text.h Move one Text::setCursor instance to CursorSlice 2016-05-29 17:55:46 -04: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 Rename Cursor::setSelection(bool) to selection(bool) 2016-05-29 17:55:46 -04:00
TextMetrics.h Remove unused TextMetrics::maxWidth() 2016-05-29 17:55:45 -04: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
Toc.h Amend d7d4f65b 2016-05-29 17:55:42 -04:00
TocBackend.cpp Simplify class structure in TocBackend 2016-05-29 17:55:42 -04:00
TocBackend.h Simplify class structure in TocBackend 2016-05-29 17:55:42 -04: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 correct whitespace 2016-02-20 06:39:32 +01: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 Audit all the LASSERT calls, and try to do something sensible at 2013-04-25 17:27:10 -04:00
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 Make theWordList() thread safe. 2014-07-04 22:19:43 +02:00
WordList.h Make WordList noncopyable 2014-07-04 21:15:21 +02:00