lyx_mirror/src
Thibaut Cuvelier e70cdfd3a2 InsetMathBox: split the boxed text into <mtext> and other tags, while boxing the whole inset within an <mrow>.
Rationales:
- previously, <mstyle> was used, but it's being deprecated for MathML 4 Core in favour of CSS and <mrow> (not a big deal in itself)
- the whole box cannot be hosted within the same tag, because neither <mstyle> nor <mrow> can have text, they need an intermediate container, <mtext> (which cannot hold anything else that pure text)
- new behaviour: always output a container for the whole box that has the right attributes, i.e. an <mrow>; split the content of the cell to have text and other tags set apart (text in <mtext>, other tags left as they were)

Old behaviour, invalid MathML (2 to 4):
<mstyle XXX>text<mn>.</mn></mstyle>

New behaviour, valid MathML:
<mrow XXX><mtext>text</mtext><mn>.</mn></mrow>
2023-01-08 02:36:48 +01:00
..
client Cmake build Qt6: Remove some redundant statements. 2021-03-24 11:42:39 +01:00
convert Use bool literals 2020-11-01 22:24:48 +02:00
frontends Fix minor bug mentioned in #10827 2023-01-04 23:23:30 -05:00
graphics Regenerate previews after zoom (#11919) 2022-11-20 18:18:59 +01:00
insets InsetIPAMacro: implement the XHTML conversion, refactor plaintext and DocBook to share more code. 2022-12-26 20:54:36 +01:00
mathed InsetMathBox: split the boxed text into <mtext> and other tags, while boxing the whole inset within an <mrow>. 2023-01-08 02:36:48 +01:00
support Typo in a comment 2023-01-05 23:33:16 -05:00
tests Amend febd1855eb: fix compilability 2022-12-28 12:57:45 +01:00
tex2lyx Fix compiler warning -Wstring-plus-int 2022-12-29 16:25:42 -05:00
.gitignore
AppleSpellChecker.cpp Add way to remove items from document dictionary 2021-03-07 18:23:07 +01:00
AppleSpellChecker.h Meet per-document spelling dictionaries (fixes #86 [sic!]) 2021-03-06 16:53:33 +01:00
AspellChecker.cpp Add way to remove items from document dictionary 2021-03-07 18:23:07 +01:00
AspellChecker.h Meet per-document spelling dictionaries (fixes #86 [sic!]) 2021-03-06 16:53:33 +01:00
Author.cpp Revert "Fix a number of signedness warnings" 2020-11-02 17:09:59 -05:00
Author.h Revert "Fix a number of signedness warnings" 2020-11-02 17:09:59 -05:00
BiblioInfo.cpp Consider that "and" in BibTeX name lists is case-insensitive (#10465) 2022-02-19 11:58:11 +01:00
BiblioInfo.h Change name in source files 2020-12-05 17:17:02 -05:00
boost.cpp
Box.cpp Constify 2020-10-25 09:28:34 +02:00
Box.h Constify 2020-10-25 09:28:34 +02:00
BranchList.cpp Copy/paste error in BranchList::setColors 2021-01-29 18:51:19 +01:00
BranchList.h Fix compilation for clang 3.7 with libc++ 2021-04-06 12:07:42 +02:00
buffer_funcs.cpp Reduce includes in header files 2020-10-19 17:33:51 +03:00
buffer_funcs.h Remove unused forward declarations 2020-10-13 09:57:36 +03:00
Buffer.cpp LyXHTML: use a lower-case meta for generator, this is the most common convention. 2023-01-07 16:24:57 +01:00
Buffer.h Regenerate previews after zoom (#11919) 2022-11-20 18:18:59 +01:00
BufferEncodings.cpp CharInfo: allow to store several commands (both text and math) for each character. 2022-02-20 01:33:03 +01:00
BufferEncodings.h Clean includes using the output of iwyu tool 2020-10-20 11:38:55 +03:00
BufferList.cpp Fix compilation for clang 3.7 with libc++ 2021-04-06 12:07:42 +02:00
BufferList.h Clean includes using the output of iwyu tool 2020-10-20 11:38:55 +03:00
BufferParams.cpp Extend flexible version check to packages 2022-12-19 17:42:27 +01:00
BufferParams.h Fix pasting as LaTeX in documents with no modules 2022-11-06 13:20:02 +01:00
BufferView.cpp Remove boolean arguments of scrollToCursor wih an enum 2022-12-21 18:47:33 +01:00
BufferView.h Remove boolean arguments of scrollToCursor wih an enum 2022-12-21 18:47:33 +01:00
Bullet.cpp Whitespace 2022-03-05 13:45:27 +01:00
Bullet.h Use a more transparent lexic for bullet label functions 2022-03-05 09:00:47 +01:00
Changes.cpp Fix bug #11781. Patch from Daniel. 2022-11-27 13:20:17 -05:00
Changes.h More enums & includes refactoring 2020-12-06 18:26:41 +02:00
Chktex.cpp
Chktex.h
Citation.h Remove unused forward declarations 2020-10-13 09:57:36 +03:00
CiteEnginesList.cpp Change name in source files 2020-12-05 17:17:02 -05:00
CiteEnginesList.h Change name in source files 2020-12-05 17:17:02 -05:00
CMakeLists.txt prevent Qt6 from defining UNICODE (Qt6.1.1 and upwards) 2021-06-19 10:48:49 +02:00
CmdDef.cpp Reduce includes in header files 2020-10-19 17:33:51 +03:00
CmdDef.h Reduce includes in header files 2020-10-19 17:33:51 +03:00
Color.cpp Fix bug #11781. Patch from Daniel. 2022-11-27 13:20:17 -05:00
Color.h Branch: Implement separate static colors in dark mode 2021-01-19 17:04:04 +01:00
ColorCode.h Fix bug #11781. Patch from Daniel. 2022-11-27 13:20:17 -05:00
ColorSet.h Set GUI name for local greyedouttext color (#12130) 2021-02-11 09:05:42 +01:00
Compare.cpp Fix bug #11781. Patch from Daniel. 2022-11-27 13:20:17 -05:00
Compare.h Fix bug #11781. Patch from Daniel. 2022-11-27 13:20:17 -05:00
CompletionList.h
Converter.cpp Fix pasting as LaTeX in documents with no modules 2022-11-06 13:20:02 +01:00
Converter.h Replace $${python} directly in the converter constructor 2022-01-27 18:32:57 +00:00
ConverterCache.cpp Refactor checksum calculation 2020-11-21 20:32:43 +02:00
ConverterCache.h
CoordCache.cpp Clean includes using the output of iwyu tool 2020-10-20 11:38:55 +03:00
CoordCache.h Make CoordCache assertions less annoying. 2021-10-09 12:25:29 +02:00
Counters.cpp Sync with master 2022-10-26 10:52:21 +02:00
Counters.h Sync with master 2022-10-26 10:52:21 +02:00
Cursor.cpp Revert "Always remove selection after cursor up/down" 2022-10-27 15:07:57 +02:00
Cursor.h Revert "Always remove selection after cursor up/down" 2022-10-27 15:07:57 +02:00
CursorSlice.cpp Move several common types to support/types.h 2020-11-27 12:16:22 +02:00
CursorSlice.h Move several common types to support/types.h 2020-11-27 12:16:22 +02:00
CutAndPaste.cpp Fix bug #11917. Patch from Daniel. 2022-11-27 13:24:13 -05:00
CutAndPaste.h Introduce new function copyInsetToTemp 2022-11-04 21:44:24 +01:00
DepTable.cpp Clean includes using the output of iwyu tool 2020-10-20 11:38:55 +03:00
DepTable.h Reduce includes in header files 2020-10-19 17:33:51 +03:00
Dimension.cpp
Dimension.h Simplify constructors 2020-11-20 15:57:26 +02:00
DispatchResult.h Simplify DispatchResult ctors 2020-10-29 15:52:38 +02:00
DocIterator.cpp Workaround for #11676 2022-12-04 11:09:00 +01:00
DocIterator.h Factor out the list of macro definitions for InsetPreview. 2021-10-13 19:26:49 +02:00
DocumentClassPtr.h Change name in source files 2020-12-05 17:17:02 -05:00
EnchantChecker.cpp Add way to remove items from document dictionary 2021-03-07 18:23:07 +01:00
EnchantChecker.h Meet per-document spelling dictionaries (fixes #86 [sic!]) 2021-03-06 16:53:33 +01:00
Encoding.cpp Encoding::fromLaTeXCommand: properly record requirements when exiting early 2022-03-02 12:48:10 +01:00
Encoding.h Amend 3f9e21b8 2022-03-06 23:01:56 +01:00
ErrorList.cpp Refactoring 2020-10-05 14:55:00 +02:00
ErrorList.h Clean includes using the output of iwyu tool 2020-10-20 11:38:55 +03:00
Exporter.cpp
Exporter.h
factory.cpp Rename subindex to subentry 2022-10-31 06:51:38 +01:00
factory.h
Floating.cpp Rename LATEX debug level to OUTFILE and use it for DocBook, HTML, and XML messages. 2022-03-01 16:05:42 +01:00
Floating.h Another indentation fix 2022-02-27 14:53:01 +01:00
FloatList.cpp
FloatList.h
Font.cpp \R and \L are not defined in babel with Xe/LuaTeX 2022-12-23 10:07:41 +01:00
Font.h Improve some debug messages 2020-11-26 11:09:17 +01:00
FontEnums.h
FontInfo.cpp Simplify Changers 2020-11-12 14:22:00 +02:00
FontInfo.h Fix display of emphasize in slanted text 2021-03-07 13:32:34 +01:00
FontList.cpp Clean includes using the output of iwyu tool 2020-10-20 11:38:55 +03:00
FontList.h
Format.cpp Fix bug #3205. 2021-01-10 00:43:01 -05:00
Format.h Better naming for enums 2020-12-01 00:46:21 +02:00
FuncCode.h Correct counting 2022-12-18 14:17:29 +01:00
FuncRequest.cpp Add != operator to FuncRequest and special value FuncRequest::prefix 2022-12-10 20:30:58 +01:00
FuncRequest.h Add != operator to FuncRequest and special value FuncRequest::prefix 2022-12-10 20:30:58 +01:00
FuncStatus.cpp
FuncStatus.h Make master compilable again with older gcc. 2020-10-21 00:01:03 +02:00
Graph.cpp Change name in source files 2020-12-05 17:17:02 -05:00
Graph.h Change name in source files 2020-12-05 17:17:02 -05:00
HunspellChecker.cpp Use a central typedef for vectors of WordLangTuple. 2021-07-16 16:39:05 +02:00
HunspellChecker.h Meet per-document spelling dictionaries (fixes #86 [sic!]) 2021-03-06 16:53:33 +01:00
IndicesList.cpp
IndicesList.h
InsetIterator.cpp Make InsetIterator compatible with range-based loops 2020-11-29 00:25:19 +02:00
InsetIterator.h Make InsetIterator compatible with range-based loops 2020-11-29 00:25:19 +02:00
InsetList.cpp
InsetList.h
Intl.cpp
Intl.h
KeyMap.cpp Add != operator to FuncRequest and special value FuncRequest::prefix 2022-12-10 20:30:58 +01:00
KeyMap.h Include he/cua.bind (#12052) 2022-11-27 16:30:21 +01:00
KeySequence.cpp Cleanup included headers 2020-11-30 13:04:54 +02:00
KeySequence.h Match header/source function argument naming 2020-11-01 22:23:44 +02:00
Language.cpp Match header/source function argument naming 2020-11-01 22:23:44 +02:00
Language.h Fix compilation on cygwin 2020-10-23 15:00:23 +02:00
LaTeX.cpp Rename LATEX debug level to OUTFILE and use it for DocBook, HTML, and XML messages. 2022-03-01 16:05:42 +01:00
LaTeX.h Merge namespace signals2 into namespace lyx 2020-12-19 22:52:51 +02:00
LaTeXFeatures.cpp LyXHTML: switch the doctype to (X)HTML5 and only output XML entities. 2022-12-25 20:48:14 +01:00
LaTeXFeatures.h LyXHTML: switch the doctype to (X)HTML5 and only output XML entities. 2022-12-25 20:48:14 +01:00
LaTeXFonts.cpp Constify LaTeXFont 2020-11-01 22:25:08 +02:00
LaTeXFonts.h Constify LaTeXFont 2020-11-01 22:25:08 +02:00
LaTeXPackages.cpp Add test 2022-12-20 06:04:29 +01:00
LaTeXPackages.h Improve LaTeX version checking 2022-12-19 15:15:41 +01:00
Layout.cpp Make formatting of DocBook changes more similar to surrounding code. 2023-01-07 02:56:40 +01:00
Layout.h DocBook: add support for DocBookGenerateTitle. 2022-12-27 15:52:26 +01:00
LayoutEnums.h
LayoutFile.cpp Include standard <regex> 2020-11-29 15:27:28 +02:00
LayoutFile.h Change name in source files 2020-12-05 17:17:02 -05:00
LayoutModuleList.cpp Sync with master 2022-10-26 10:52:21 +02:00
LayoutModuleList.h Sync with master 2022-10-26 10:52:21 +02:00
Lexer.cpp gzstream is able to read uncompressed files too 2021-11-24 11:44:53 +01:00
Lexer.h Match header/source function argument naming 2020-11-01 22:23:44 +02:00
lyx_commit_hash.h.in
LyX.cpp #12523 check for existence of usable Python interpreter 2023-01-06 00:32:09 +01:00
LyX.h
LyXAction.cpp * lfun doc 2022-12-21 18:29:05 +01:00
LyXAction.h Use range-based loops 2020-11-21 20:32:16 +02:00
lyxfind.cpp Get rid of Qt4 code in src/ 2022-11-18 17:19:50 +01:00
lyxfind.h refactor: keep meaning of a variable consistent 2021-07-16 15:50:30 -04:00
LyXRC.cpp adjust text display width in windowed mode 2022-10-27 17:49:43 +02:00
LyXRC.h Whitespace 2022-10-28 18:28:31 -04:00
LyXVC.cpp Typo 2020-12-19 18:29:10 +01:00
LyXVC.h Use right style for private member 2020-12-18 14:30:21 -05:00
lyxwinres.rc
main.cpp Set correct Windows console code page since all LyX output is in UTF-8 2021-03-12 18:15:33 +02:00
Makefile.am makefile - forgotten file 2022-11-24 02:17:26 +01:00
MetricsInfo.cpp Fix compilation with gcc 4.9 2022-11-16 17:49:52 +01:00
MetricsInfo.h Rework display of numbers in margins of hull insets 2021-07-09 23:46:16 +02:00
ModuleList.cpp Change name in source files 2020-12-05 17:17:02 -05:00
ModuleList.h Change name in source files 2020-12-05 17:17:02 -05:00
Mover.cpp Add new placeholder $${python} to configure 2022-01-04 00:21:34 +00:00
Mover.h Add override specifiers to improve code maintainability 2020-10-03 12:43:48 +02:00
output_docbook.cpp DocBook: add support for DocBookGenerateTitle. 2022-12-27 15:52:26 +01:00
output_docbook.h DocBook: add some TODOs for the future. 2022-12-27 00:03:07 +01:00
output_latex.cpp \R and \L are not defined in babel with Xe/LuaTeX 2022-12-23 10:07:41 +01:00
output_latex.h Do not try to pop from an empty stack 2022-02-04 17:23:52 +01:00
output_plaintext.cpp Refactor InsetQuotes.h enums 2020-12-01 00:46:09 +02:00
output_plaintext.h Match header/source function argument naming 2020-11-01 22:23:44 +02:00
output_xhtml.cpp XHTML: support NONE as item tag when no item tag should be output. 2022-12-09 02:48:52 +01:00
output_xhtml.h Change name in source files 2020-12-05 17:17:02 -05:00
output.cpp
output.h
OutputEnums.h Change name in source files 2020-12-05 17:17:02 -05:00
OutputParams.cpp Better naming for enums 2020-12-01 00:46:21 +02:00
OutputParams.h FindAdv: Use private variable for_search 2022-05-09 22:11:38 +02:00
paper.h
Paragraph.cpp DocBook: for computing font changes, simplify code by removing state evolution from iteration to iteration. This surely makes the code slightly slower (although the compiler should be smart enough), but (much) easier to reason about. 2022-12-27 01:58:48 +01:00
Paragraph.h Rename LATEX debug level to OUTFILE and use it for DocBook, HTML, and XML messages. 2022-03-01 16:05:42 +01:00
ParagraphList.h Simplify code to generate only one paragraph at a time. 2020-09-19 20:43:37 +02:00
ParagraphMetrics.cpp More enums & includes refactoring 2020-12-06 18:26:41 +02:00
ParagraphMetrics.h Small Row cleanups 2021-12-07 17:04:46 +01:00
ParagraphParameters.cpp Match header/source function argument naming 2020-11-01 22:23:44 +02:00
ParagraphParameters.h Use const references 2020-11-01 22:23:26 +02:00
ParIterator.cpp Remove useless casts reported by GCC with -Wuseless-cast option 2021-09-30 10:37:24 +03:00
ParIterator.h Get rid of std::iterator 2021-10-15 18:13:09 +02:00
PDFOptions.cpp Extend flexible version check to packages 2022-12-19 17:42:27 +01:00
PDFOptions.h Clean includes using the output of iwyu tool 2020-10-20 11:38:55 +03:00
PersonalWordList.cpp Clean includes using the output of iwyu tool 2020-10-20 11:38:55 +03:00
PersonalWordList.h
Row.cpp Fixup dcef1a9c: better handling of front-of-string splitting 2023-01-06 15:56:54 +01:00
Row.h Sync with master 2022-10-26 10:52:21 +02:00
RowFlags.h Sync with master 2022-10-26 10:52:21 +02:00
RowPainter.cpp Do not try to access user_defined_bullet with nesting > 3 2022-03-06 17:27:28 +01:00
RowPainter.h Display bookmarks in the workarea (take 2). 2021-02-26 19:09:25 +01:00
Server.cpp Use specialized WINAPI functions for specialized arguments 2021-06-19 10:48:15 +02:00
Server.h Add missing header include 2020-12-20 12:42:04 +01:00
ServerSocket.cpp Clean includes using the output of iwyu tool 2020-10-20 11:38:55 +03:00
ServerSocket.h
Session.cpp Sync with master 2022-10-26 10:52:21 +02:00
Session.h Sync with master 2022-10-26 10:52:21 +02:00
Spacing.cpp Use iround function, amend c0ce79452f 2020-11-27 12:16:50 +02:00
Spacing.h
SpellChecker.h Add way to remove items from document dictionary 2021-03-07 18:23:07 +01:00
TexRow.cpp Sync with master 2022-10-26 10:52:21 +02:00
TexRow.h Move several common types to support/types.h 2020-11-27 12:16:22 +02:00
texstream.cpp Sync with master 2022-10-26 10:52:21 +02:00
texstream.h
Text2.cpp Sync with master 2022-10-26 10:52:21 +02:00
Text3.cpp language reset should reset to the buffer language 2022-12-18 16:35:07 +01:00
Text.cpp Sync with master 2022-10-26 10:52:21 +02:00
Text.h Sync with master 2022-10-26 10:52:21 +02:00
TextClass.cpp DocBook: add support for DocBookGenerateTitle. 2022-12-27 15:52:26 +01:00
TextClass.h Fix bug #12068 2021-01-14 01:15:19 -05:00
TextMetrics.cpp Row breaking: keep unused tail for later (instead of assertion) 2023-01-06 16:02:29 +01:00
TextMetrics.h Fix computation of LABEL_MANUAL label separation 2022-01-17 17:35:12 +01:00
Thesaurus.cpp Use const references 2020-11-01 22:23:26 +02:00
Thesaurus.h Clean includes using the output of iwyu tool 2020-10-20 11:38:55 +03:00
Toc.h
TocBackend.cpp Sync with master 2022-10-26 10:52:21 +02:00
TocBackend.h Properly show labels from broken references in Cross-references dialog 2022-02-19 18:14:47 +01:00
TocBuilder.cpp Clean includes using the output of iwyu tool 2020-10-20 11:38:55 +03:00
TocBuilder.h Clean includes using the output of iwyu tool 2020-10-20 11:38:55 +03:00
Trans.cpp Clean includes using the output of iwyu tool 2020-10-20 11:38:55 +03:00
Trans.h Add override specifiers to improve code maintainability 2020-10-03 12:43:48 +02:00
Undo.cpp Make undo action no-ops when the buffer is read-only 2022-02-20 19:48:13 +01:00
Undo.h Fixup 3aab9ad2: improve UndoGroupHelper docs again. 2021-11-14 19:14:31 +01:00
update_flags.h Next runtime messages to be ommitted if compiled with clang using flag '-fsanitize'. 2022-01-23 20:13:26 +01:00
VCBackend.cpp * better wording 2021-10-21 16:01:57 +02:00
VCBackend.h Remove redundant semicolons reported by GCC with -Wextra-semi option 2021-09-28 11:28:43 +03:00
version.cpp
version.h Allow an 'other' type for hyperlinks. Format change. 2022-12-25 12:45:48 -05:00
VSpace.cpp Sync with master 2022-10-26 10:52:21 +02:00
VSpace.h
WordLangTuple.h Use a central typedef for vectors of WordLangTuple. 2021-07-16 16:39:05 +02:00
WordList.cpp
WordList.h
xml.cpp XML: overhaul the tag-comparison operators. 2022-12-27 16:52:51 +01:00
xml.h XML: overhaul the tag-comparison operators. 2022-12-27 16:52:51 +01:00