Thibaut Cuvelier
7be7026386
DocBook: generalise detection of "special cases" to check all insets of a paragraph.
...
This will catch cases where there are multiple listings in a single paragraph, for instance.
The new code is also less brittle (checks on lyxCode instead of generated LaTeX or names).
2020-10-18 08:23:37 +02:00
Thibaut Cuvelier
739735ab73
DocBook: output inline equations in their own paragraph if they are the only inset of the paragraph.
...
It's invalid to have an <inlineequation> outside a paragraph. Another solution would have been to change InsetMathHull::docbook to generate an <informalequation>, but that function would have required more knowledge about its context than now.
Need more tests to determine if <inlineequation> should only be output for hullSimple or in more cases like:
const static std::set<HullType> inlineHulls = {
hullUnknown,
hullNone,
hullSimple,
hullEquation,
hullMultline,
hullGather,
hullRegexp
};
2020-10-18 08:23:36 +02:00
Thibaut Cuvelier
3a452a240b
DocBook: disable an inverted test for a LyX bug.
2020-10-18 08:23:36 +02:00
Thibaut Cuvelier
f3c22f3b95
DocBook: dummy documents from the docs are not complete.
2020-10-18 08:23:36 +02:00
Jean-Marc Lasgouttes
c286cad565
Reset caret size when inserting text over a selection
2020-10-17 20:29:16 +02:00
Kornel Benko
b940a81520
Amend 31ad4d6e
: DocBook: move tests to inverted instead of ignored.
...
Allow inverted tests without explicit language setting in testname
2020-10-17 12:58:30 +02:00
Thibaut Cuvelier
31ad4d6e21
DocBook: move tests to inverted instead of ignored.
...
LyX should still avoid crashing on those, and if they start to pass, then something is wrong (most likely, a very large part of the files is being ignored).
2020-10-17 05:55:16 +02:00
Thibaut Cuvelier
0adc234a22
Typo in CMakeLists
2020-10-17 05:55:16 +02:00
Scott Kostyshak
1e3ef3c6e2
Update tex2lyx tests after the format change
...
The diff consists of only the format number, which is expected since
there is no instance of "\nopagebreak" in the .tex files.
2020-10-16 23:06:15 -04:00
Yuriy Skalko
b5cb23a92a
Remove unused headers in output_xhtml.h
2020-10-16 23:05:54 +03:00
Yuriy Skalko
a3eeb8a4b5
Clean math headers
2020-10-16 23:05:46 +03:00
Thibaut Cuvelier
d5319e1689
DocBook: implement APA.
2020-10-16 19:12:37 +02:00
Thibaut Cuvelier
3100ab0c7d
DocBook: mark test as not working.
2020-10-16 18:59:23 +02:00
Thibaut Cuvelier
d721f5c6bd
DocBook: make report output a book.
...
Reports are allowed to have chapters, which implies that this must be a DocBook book.
2020-10-16 18:40:07 +02:00
Thibaut Cuvelier
0ba9b7c0c8
DocBook: fix an assertion/crash.
2020-10-16 17:02:24 +02:00
Yuriy Skalko
e3bf51a4c3
Revert "Enable to build with MinGW-W64"
...
This reverts commit ae5a8de6ea
.
2020-10-16 08:17:12 +03:00
Yuriy Skalko
3ff79bccae
Revert "Enable optimizations"
...
This reverts commit b4cd7e9d32
.
2020-10-16 08:17:04 +03:00
Yuriy Skalko
b4cd7e9d32
Enable optimizations
2020-10-16 08:04:11 +03:00
Yuriy Skalko
ae5a8de6ea
Enable to build with MinGW-W64
2020-10-16 08:04:05 +03:00
Yuriy Skalko
84365fc946
Move Author.h, Format.h from BufferParams.h
2020-10-16 08:02:51 +03:00
Yuriy Skalko
4c8d262996
Const refactor
2020-10-16 08:02:51 +03:00
Yuriy Skalko
ce0e192689
Move Cursor.h from TocWidget.h
2020-10-16 08:02:51 +03:00
Yuriy Skalko
fbefdb10a5
Move Cursor.h from Clipboard.h
2020-10-16 08:02:51 +03:00
Yuriy Skalko
7f40bb2b2d
Clean output_latex
2020-10-16 08:02:51 +03:00
Yuriy Skalko
65db7b31ad
Clean Cursor and CursorSlice
2020-10-16 08:02:51 +03:00
Yuriy Skalko
61bc850c27
Remove CutAndPaste.h from Trans.cpp
2020-10-16 08:02:51 +03:00
Yuriy Skalko
bea9d2f3f7
Clean includes in TextMetrics.cpp
2020-10-16 08:02:51 +03:00
Yuriy Skalko
da56091c2a
Clean includes in buffer_funcs.cpp
2020-10-16 08:02:51 +03:00
Thibaut Cuvelier
700557783d
DocBook: MissingEndLayoutBetweenTables can't pass.
2020-10-16 04:30:41 +02:00
Thibaut Cuvelier
170866986c
Amend 82ea3d6
...
Test was done on the wrong data structure: the title is almost the only element ending up in shouldBeInInfo, it is never inmustBeInInfo.
2020-10-16 04:30:41 +02:00
Yuriy Skalko
36c8e06cf1
Move Dimension.h from InsetIPA.h
2020-10-15 19:26:16 +03:00
Yuriy Skalko
5ac65d1532
Move BufferParams.h from Language.h
2020-10-15 19:25:37 +03:00
Yuriy Skalko
87d19e1068
Remove BufferParams.h from BiblioInfo.h
2020-10-15 19:25:19 +03:00
Kornel Benko
a0f0220348
Amend 0536193c
: Remove requirement of revsymb4-1.sty.
...
Fixes #12005 , reported and indicated a fix by 'ert'
2020-10-15 12:16:30 +02:00
Daniel Ramoeller
d5fe3337c6
Cleanup CutAndPaste.cpp
2020-10-15 10:24:00 +02:00
Richard Kimberly Heck
1f22a2520a
Fix linking problem by adding convert from string to unsigned long long.
2020-10-14 22:28:10 -04:00
Pavel Sanda
c0b0add882
UG: add nopagebreak section
2020-10-14 22:24:13 +02:00
Pavel Sanda
c0f9309300
Move <fstream> from support/gzstream.h
2020-10-14 15:12:48 +02:00
Pavel Sanda
644c1d3453
Move docstream.h from output_xhtml.h
2020-10-14 15:06:12 +02:00
Pavel Sanda
560ff6d40d
Move MetricsInfo.h from InsetMathSize.h
2020-10-14 14:58:18 +02:00
Pavel Sanda
2b02b73f4a
Move <QTimer> from TocWidget.h
2020-10-14 14:48:41 +02:00
Pavel Sanda
bd33601512
Move <QTimer> from GuiViewSource.h
2020-10-14 14:37:38 +02:00
Pavel Sanda
85eec10e4b
Move <QKeyEvent> from DockView.h
2020-10-14 14:35:29 +02:00
Pavel Sanda
61824e057e
Move GuiView.h from DockView.h
2020-10-14 14:28:47 +02:00
Pavel Sanda
57703d51c6
<QCloseEvent> DialogView.h -> DialogView.cpp
2020-10-14 13:57:30 +02:00
Pavel Sanda
f1b147cc97
include "GuiView.h": DialogView.h -> DialogView.cpp
2020-10-14 13:53:40 +02:00
Pavel Sanda
10fafd3bfe
<map> ParagraphMetrics.h -> TextMetrics.h
2020-10-14 13:14:58 +02:00
Pavel Sanda
da8b5de973
Move <algorithm> from DocIterator.h
2020-10-14 13:01:30 +02:00
Richard Kimberly Heck
b7f632ca1c
Fix bug #12002 .
...
Patch from Daniel.
2020-10-13 19:51:27 -04:00
Richard Kimberly Heck
1ff2de387d
Whitespace
2020-10-13 18:26:13 -04:00