Pavel Sanda
ad475adfd3
amend 6d6fc761be
2020-09-28 16:44:12 +02:00
Pavel Sanda
6d6fc761be
Qt4 compilable again
2020-09-28 16:34:42 +02:00
Yuriy Skalko
e47092044b
Use real italic slope for slanted caret
2020-09-28 14:30:05 +02:00
José Matos
0bda5e5b8d
Make script compliant with python 3
2020-09-28 11:13:47 +01:00
Scott Kostyshak
d0aa20afcf
Revert "Update layouts"
...
A fix to layout2layout is needed first. See:
https://www.mail-archive.com/search?l=mid&q=20200927192424.GA1224%40GIOVE
This reverts commit 5d7efd2fa9
.
2020-09-27 16:47:43 -04:00
Scott Kostyshak
5d7efd2fa9
Update layouts
...
Fixes a slight delay when cutting (#11988 ).
2020-09-27 11:47:10 -04:00
Juergen Spitzmueller
b38500353c
Amend 448e5efab4
...
Only set langClosed to true if it really has been closed.
2020-09-26 12:12:09 +02:00
Scott Kostyshak
bf0f662e93
ctests: ignore Japanese dvi3 systemF tests
...
These started to fail due to a "luatex" package update in the TL20
cycle. From an ML thread [1]:
The LuaTeX-ja package, which is loaded by bxjs* class, is not
designed to be used with dvilua(la)tex.
[1] https://www.mail-archive.com/search?l=mid&q=20200917155146.ec1bd9f9b5d5f5936513e5dd%40yahoo.co.jp
2020-09-25 15:16:46 -04:00
Scott Kostyshak
6be7e7ce72
Typo
2020-09-25 15:16:46 -04:00
Enrico Forestieri
f0807a604c
Use correct bounding box when exporting from command line
...
Without GUI an image is not available even if it is actually cached.
In this case we load the image for obtaining its dimensions in order
to correct the clipping bounding box.
This amends 380f34a1
.
2020-09-25 20:58:40 +02:00
Enrico Forestieri
a8572c1358
Correct comment
2020-09-25 12:11:10 +02:00
Enrico Forestieri
9b1763cd42
Do not correct clipping bounding box for vector formats
...
This amends 380f34a1
that only took into account the postscript format.
2020-09-25 12:01:57 +02:00
Kornel Benko
70725040db
Gnumeric conversions to html: Remove wrong closing </p> flag
...
Now LyXHTML export for Spreadsheet.lyx is errorles, but stil we need a wrapper
to remove unneeded 'Ark' captions.
2020-09-24 10:14:35 +02:00
Jean-Marc Lasgouttes
967f4d661e
Remove default parameter of UndoGroupHelper constructor
...
This can lead to mistakes. If no buffer is required at the beginning,
it is better to pass 'nullptr' explicitly.
Fix a case of missing parameter in GuiCompleter (introduced at
f3656600
). This avoids some spurious "There is no group open (creating
one)" messages.
2020-09-23 17:33:17 +02:00
Yuriy Skalko
8099b9f8e6
Update Russian localization
2020-09-23 10:11:35 +02:00
Jean-Marc Lasgouttes
32b688225d
Do not use a fake row to compute completion dimension
...
The code in TextMetrics::completionPosAndDim is needlessly complicated.
1/ It is easier to rely directly on Text::getWord() rather than on the
helper previousWord().
2/ Using a fake row to compute completion height is overkill. A
simpler solution is proposed here.
No intended effect. These changes prepare the fix to ticket #11818 .
2020-09-22 15:11:08 +02:00
José Matos
4419f6e059
Simplify reversion code (keeping the same output)
2020-09-21 14:36:52 +01:00
Kornel Benko
c4acb6c5b9
Remove the noun-flag from the separator in index entry
2020-09-21 12:48:58 +02:00
Kornel Benko
21fe8a8e5b
Cmake tests: Remove docbook, xhtml, lyx2lyx tests from unreliableTests
...
The relevant export-output is done by lyx and not dependent
on some external driver (like latex)
(Graphics conversions don't count here IMHO)
2020-09-20 14:25:04 +02:00
Kornel Benko
758775ac92
Cmake export xhtml tests: load dtd if checking ouput with xmllint
2020-09-20 11:47:04 +02:00
Juergen Spitzmueller
b814c4fda7
Fix unnecessary cprotect
2020-09-20 08:45:42 +02:00
Thibaut Cuvelier
da67bde61a
Revert "XHTML: remove DOCTYPE, as the document is then understood as HTML4/XHTML1, and not XHTML5."
...
This reverts commit c8e2c17a
: this makes some browsers unable to understand basic HTML entities.
2020-09-20 01:35:14 +02:00
Thibaut Cuvelier
44a7d2bc88
DocBook: adapt code for older GCC.
2020-09-19 23:55:07 +02:00
Thibaut Cuvelier
968f7e8cac
Merge branch 'feature/docbook' into master
2020-09-19 20:44:16 +02:00
Thibaut Cuvelier
b5adcec28a
XHTML: fix for encodings in attributes (patch by Kornel)
2020-09-19 20:43:42 +02:00
Thibaut Cuvelier
c83fd0eb06
XHTML sections: saner code to close the section.
...
It only caused troubles in corner cases...
2020-09-19 20:43:42 +02:00
Thibaut Cuvelier
a85b4b88ed
XHTML sections: only filter out things that are not Sectioning, not based on the level.
2020-09-19 20:43:42 +02:00
Thibaut Cuvelier
0dfa240209
XHTML: restore sections.
2020-09-19 20:43:41 +02:00
Thibaut Cuvelier
1991d0ed24
Converters: always set version to something.
...
Otherwise, it's common to compare "None >= (6,2,6)", which makes no sense. Set it to (0,0,0) so that any comparison fails (without an error message).
2020-09-19 20:43:41 +02:00
Thibaut Cuvelier
e4065cc1b1
Converters: slightly more pythonic code.
2020-09-19 20:43:41 +02:00
Thibaut Cuvelier
15dbc2b9ab
Revert "XHTML: remove <section> support."
...
This reverts commit 52216b73
2020-09-19 20:43:41 +02:00
Thibaut Cuvelier
c8e2c17a58
XHTML: remove DOCTYPE, as the document is then understood as HTML4/XHTML1, and not XHTML5.
2020-09-19 20:43:41 +02:00
Thibaut Cuvelier
92ad86dacc
XHTML: remove <section> support.
2020-09-19 20:43:41 +02:00
Thibaut Cuvelier
bfeb3b66b1
DocBook: slight code simplification.
2020-09-19 20:43:41 +02:00
Thibaut Cuvelier
6c51cabd35
DocBook: fix output in Layout::write.
2020-09-19 20:43:41 +02:00
Thibaut Cuvelier
50f011e062
DocBook: implement InsetBox titles.
2020-09-19 20:43:41 +02:00
Thibaut Cuvelier
3711a38b9c
DocBook: fix a crash in bibliography paragraphs.
2020-09-19 20:43:41 +02:00
Thibaut Cuvelier
dd8660c07e
layout2layout: use name instead of pseudonym.
2020-09-19 20:43:41 +02:00
Thibaut Cuvelier
1b818c448d
DocBook: work for more subfigure cases.
...
EmbeddedObjects hid quite a few gems :).
2020-09-19 20:43:41 +02:00
Thibaut Cuvelier
8758000641
DocBook: ensure xml:id is not output too many times.
...
This is mostly important for subfigures, but debugging this issue showed that InsetCaption could be slightly simplified and InsetLabel should be made a tad more robust.
2020-09-19 20:43:41 +02:00
Thibaut Cuvelier
d0a5ba4859
DocBook: handle other cases of subfigures.
2020-09-19 20:43:41 +02:00
Thibaut Cuvelier
41a15f7b6d
DocBook: in configure.py, DeclareDocBookClass doesn't need to be checked anymore.
2020-09-19 20:43:41 +02:00
Thibaut Cuvelier
f28c193569
DocBook: remove now useless function in configure.py.
2020-09-19 20:43:41 +02:00
Thibaut Cuvelier
9a48c8d22b
DocBook: fix handling of new lines and fonts.
...
Only the font variable was restored to the right state, not fs.
2020-09-19 20:43:40 +02:00
Thibaut Cuvelier
5f0720e947
XHTML: fix generation of many useless </section>.
2020-09-19 20:43:40 +02:00
Thibaut Cuvelier
faec783822
XML: bad fix for a crash that only happened in XHTML.
...
As an error is output, I suppose that this behaviour is OK.
2020-09-19 20:43:40 +02:00
Scott Kostyshak
a632a9ae3c
DocBook: remove useless functions.
2020-09-19 20:43:40 +02:00
Thibaut Cuvelier
1a76fb9658
DocBook: avoid using isspace in StartTag::writeTag.
...
This is the cause of crashes (on both Windows and Linux).
2020-09-19 20:43:40 +02:00
Thibaut Cuvelier
2cd7a94f8b
DocBook: introduce Floating::docbookFloatType.
...
This ensures that all comparisons for DocBook are made on the same normalised version of the float type. This cased a strange bug where <table> was output within <informaltable> for Linguistics Tableaux.
2020-09-19 20:43:40 +02:00
Thibaut Cuvelier
8ed8d36595
Fix two warnings in BufferView.
2020-09-19 20:43:40 +02:00