Richard Kimberly Heck
5bd498c56d
Move trivial constructors into header. Remove unimplemented one.
2020-11-06 11:30:07 -05:00
Thibaut Cuvelier
1766bff806
DocBook: remove special options from InsetGraphics.cpp
...
This was not really a useful attribute for DocBook, or it must be parsed beforehand.
2020-11-05 05:35:34 +01:00
Thibaut Cuvelier
85a8664ba5
MathML: make InsetMathXArrow generate valid XML entities when required.
...
Before this, it only supported HTML entities.
2020-11-05 02:18:47 +01:00
Thibaut Cuvelier
7f8d0fd7b7
DocBook: ensure that tables do not get wrapped in a paragraph.
2020-11-05 02:03:34 +01:00
Thibaut Cuvelier
307aefef89
DocBook: don't consider bridgeheads for abstracts.
2020-11-05 00:02:59 +01:00
Jean-Marc Lasgouttes
4094afaf2e
Indentation
2020-11-03 15:12:20 +01:00
Richard Kimberly Heck
060c3de2f0
StepMasterCounter --> StepParentCounter
2020-11-02 17:36:58 -05:00
Richard Kimberly Heck
fba1c434e5
Revert "Fix a number of signedness warnings"
...
This reverts commit e8a28c33c5
.
I was not aware that we used negative numbers for author IDs!
2020-11-02 17:09:59 -05:00
Richard Kimberly Heck
39f997048e
Remove 'slave' terminology from Counters.cpp.
...
And with it, 'master'. That is less problematic by itself (so I'm not
worried about 'master document'), but here it doesn't make a lot of
sense without 'slave'.
2020-11-02 17:09:59 -05:00
Yuriy Skalko
8a25741ccd
Use default member initialization in OutputParams
2020-11-02 20:30:01 +02:00
Richard Kimberly Heck
e8a28c33c5
Fix a number of signedness warnings
2020-11-02 12:03:37 -05:00
Richard Kimberly Heck
cfd19d86be
whitespace and style
2020-11-02 11:45:09 -05:00
Richard Kimberly Heck
2945bc356e
whitespace
2020-11-02 11:38:52 -05:00
Yuriy Skalko
c7d0ba0f26
Simplify bformat
2020-11-02 11:54:40 +02:00
Thibaut Cuvelier
ebfdac4fa3
DocBook: implement svmult.
...
More generally, ensures that paragraphs in abstracts do not have something else configured.
A major problem in making the layout more useful is that article titles are not supposed to be in TOC.
2020-11-02 04:30:39 +01:00
Richard Kimberly Heck
679ce23ddc
Some constness, following Yuriy
2020-11-01 17:37:28 -05:00
Yuriy Skalko
1fdcd7bf14
Constify LaTeXFont
2020-11-01 22:25:08 +02:00
Yuriy Skalko
81a5e7927b
Use default member initialization
2020-11-01 22:25:03 +02:00
Yuriy Skalko
6f514da5fd
Use bool literals
2020-11-01 22:24:48 +02:00
Yuriy Skalko
9c47e736f8
Constify InsetQuotesParams
2020-11-01 22:24:31 +02:00
Yuriy Skalko
d38eddb397
Match header/source function argument naming
2020-11-01 22:23:44 +02:00
Yuriy Skalko
5061db891c
Use const references
2020-11-01 22:23:26 +02:00
Yuriy Skalko
6e65967e15
Use default member initialization in InsetLayout
2020-11-01 22:22:50 +02:00
Yuriy Skalko
dbe35af542
Simplify with std::map::insert
2020-11-01 22:22:27 +02:00
Richard Kimberly Heck
ca3077b40b
Change the logic of the indentation setting.
...
The option here is to NOT indent the paragraph, so make that clear.
As it was, we would set "Indent" to false in the case of paragraphs
that do not permit indentation and then write that, uselessly, to the
LyX file if we wrote any other option (and then keep writing it, even
if other options were removed). Now, we will write it only if it's been
explicitly set.
2020-10-30 13:34:36 -04:00
Richard Kimberly Heck
3b4b047576
Fix warning
2020-10-30 13:26:48 -04:00
Thibaut Cuvelier
df0ea858ed
DocBook: use the same normalisation for biblio IDs and their references.
2020-10-30 01:59:34 +01:00
Thibaut Cuvelier
da6e999fc6
DocBook: more robust list implementation.
2020-10-30 01:59:34 +01:00
Thibaut Cuvelier
6843bc5a38
DocBook: ensure to have paragraphs in <sidebar>.
2020-10-30 01:59:34 +01:00
Thibaut Cuvelier
30572880ba
DocBook: fix an issue where parts of list in abstract were duplicated.
...
Excerpt from export/latex/lyxbugs-resolved/9633-languagenesting_enumerate_and_lyxcode.
2020-10-30 01:59:34 +01:00
Thibaut Cuvelier
661c5d256b
DocBook: support for <info> tags in inner sections.
...
Previously, this code only worked correctly for the root tag.
2020-10-30 01:59:34 +01:00
Thibaut Cuvelier
4405f0164a
DocBook: implement algorithm floats.
...
Now that https://github.com/docbook/docbook/pull/185 has been merged into DocBook 5.2.
2020-10-30 01:59:34 +01:00
Thibaut Cuvelier
f2b7f8a089
DocBook: generate chapter metadata in <info>, for Springer mono.
2020-10-30 01:59:34 +01:00
Thibaut Cuvelier
b816cb0f3c
DocBook: don't consider sectioning items that shouldn't be in TOC for anything section-related.
2020-10-30 01:59:34 +01:00
Thibaut Cuvelier
149e1ccc02
DocBook: add DocBookSection parameter for styles that define new sections and implement argument parameters; improve Springer support.
...
For elements that should behave like sections (for now, mostly prefaces).
A second paragraph of PartBacktext can only wreak havok: it should start a section, and nothing else (otherwise, it's a real nightmare to implement).
2020-10-30 01:59:34 +01:00
Richard Kimberly Heck
cc1d3b78c9
Const
2020-10-29 18:25:33 -04:00
Yuriy Skalko
b8737e898c
Simplify DispatchResult ctors
2020-10-29 15:52:38 +02:00
Yuriy Skalko
d8ead7debf
Use nullptr
2020-10-29 15:52:33 +02:00
Yuriy Skalko
524073d09f
Move HullType functions declared in InsetMath.h into InsetMath.cpp
2020-10-29 15:52:28 +02:00
Yuriy Skalko
f1926251c0
Move Windows-specific stuff into os_win32.h
2020-10-25 19:59:03 +02:00
Yuriy Skalko
10272e4747
Move include of own header to the top. Fix dependencies
2020-10-25 19:58:57 +02:00
Yuriy Skalko
4ece87c324
Fix obsoleted Qt values
...
All new values exist in Qt 4.8.7.
2020-10-25 09:28:46 +02:00
Yuriy Skalko
1b508fff03
Small refactorings
2020-10-25 09:28:41 +02:00
Yuriy Skalko
a7018252b7
Constify
2020-10-25 09:28:34 +02:00
Jean-Marc Lasgouttes
21422dd652
Replace QFontMetrics::width() by horizontalAdvance() in Qt>=5.11
...
The method horizontalAdvance() replaces width() starting with Qt 5.11.
To handle this, all direct calls to QFontMetrics::width() are replaced
by calls to GuiFontMetrics::width(), and the code for
GuiFontMetrics::width(QChar) uses horizontalAdvance on newer Qt
versions.
2020-10-24 19:52:18 +02:00
Yuriy Skalko
69f838bbf3
Fix isSpace for docstring
2020-10-24 18:55:05 +03:00
Pavel Sanda
8af747c9d9
Revert da8b5de97
because of MSVC 2017.
...
In GCC `min` is defined via including <vector>.
2020-10-24 12:06:54 +02:00
Enrico Forestieri
d2d33a6a1f
Fix compilation on cygwin
2020-10-23 15:00:23 +02:00
Yuriy Skalko
c928714b0b
Unify naming of menu items
2020-10-23 10:23:01 +03:00
Jean-Marc Lasgouttes
2395522aa7
Revert "Do not set language from keyboard in passthru setting"
...
This reverts commit d94bd07264
.
2020-10-21 18:50:31 +02:00