Commit Graph

115 Commits

Author SHA1 Message Date
Richard Heck
8c6b947eb5 Use scaling factor in XHTML output.
(cherry picked from commit 47c52db13e)
2016-07-30 22:02:48 -04:00
Richard Heck
21ccd006ee Fix some symbols that are displayed incorrectly in MathML export.
(cherry picked from commit 8860365565)
2016-07-30 21:12:24 -04:00
Richard Heck
0ab8ea6682 Fix bug #10154. 2016-07-30 20:18:03 -04:00
Richard Heck
9d3917a4b6 Only trim right end of lines in header. This allows us to preserve
whitespace in local layout.

(cherry picked from commit a11e07a62f)
2016-07-29 23:52:47 -04:00
Richard Heck
909fcb7fcc Fix problem with branch handling. The problem was that we were not
dealing properly with the paragraph separator tag.

We really need to use that tag as a kind of general marker for which
tags we're responsible for in a given paragraph and which tags we are
not. So the changes to InsetText.cpp use the tag as that kind of marker.

Note that, as of this commit, the User Guide again exports without any
kind of error. I haven't yet checked the other manuals.

This fixes bug #8022.

(cherry picked from commit 31e25c8ec6)
2016-07-29 23:50:13 -04:00
Richard Heck
275bdcd845 Fix display of colors in labels of arguments.
We need to handle this specially, just as we do the main font.

(cherry picked from commit 96a8156557)
2016-07-29 23:42:40 -04:00
Richard Heck
46a16b0ca7 Merge branch '2.2.x' into 2.2.2-staging 2016-07-25 14:55:16 -04:00
Richard Heck
c0a8259d68 Start development of 2.2.2. 2016-07-25 14:50:10 -04:00
Richard Heck
a4a1c11b2d Fix hang reported at #10307.
Also, add a FIXME explaining what we'd need to do to fix the
convert_TeX_brace_to_Argument routine properly.

(cherry picked from commit 0f4c14bba2)
2016-07-23 13:45:32 -04:00
Jean-Marc Lasgouttes
cf6b30ae76 Recompute Paragraph::beginOfBody() earlier
In redoParagraph, this should be done before coping with the insets,
other wise some graphic gliches may occur. This is a better fix for

Fixes bug #10163.

(cherry picked from commit 71374b38c2)
2016-07-21 10:37:41 +02:00
Jean-Marc Lasgouttes
5f2023796a When painting only insets, paint also change and language marks
Fixes bug #10265.

(cherry picked from commit c73923c519)
2016-07-21 01:09:32 +02:00
Uwe Stöhr
2a5498ed7d status.22x: mention Brazilian update 2016-07-20 01:50:02 +02:00
Jean-Marc Lasgouttes
6633e7aa3e Add feedback in status bar when zooming
Moreover enforce better the lower limit of 10 and avoid overflow due
to unsigned int.

Fixes bug #10212.

(cherry picked from commit 8884c4044d)
2016-07-20 00:58:30 +02:00
Jean-Marc Lasgouttes
28e347b0a6 Realize inset argument label font before using it
Also fix a few typos in status.22x.

(cherry picked from commit e35110eab7)
2016-07-19 22:58:36 +02:00
Richard Heck
32b56ee8f7 Do not crash is release mode if we stumble across an unrealized font.
(cherry picked from commit 3203fb1c5f)
2016-07-18 13:03:47 -04:00
Richard Heck
e98334098b Fix thinko that led 2-authors citations to be displayed with "et al."
(cherry picked from commit d5633f17e5)
2016-07-17 22:56:14 -04:00
Richard Heck
dde4c68c91 Merge branch '2.2.x' into 2.2.2-staging 2016-07-15 13:28:07 -04:00
jpc
f86b797e95 Update fr.po and status.22x 2016-07-15 09:58:16 +01:00
Stephan Witt
6bcc05919f Correct wrong bug reference. 2016-07-15 07:29:03 +02:00
Stephan Witt
ab1dd332e1 Remove special code for Qt5 to manage HiDPI. It's not needed anymore and leads to strange icon scaling problems in mixed resolution environment.
For reference see the screen shots in bug tracker ticket #10114.

(cherry picked from commit d5fb80ed87)
2016-07-15 07:20:50 +02:00
Enrico Forestieri
2b9047b27e Update it.po 2016-07-12 17:51:11 +02:00
Guillaume Munch
ffec1b5169 status.22x 2016-07-12 15:02:17 +01:00
Uwe Stöhr
e1315930d4 status.22x: mention Slovakian 2016-07-12 00:16:22 +02:00
Juergen Spitzmueller
343c4c0af8 Polyglossia is no longer restricted to XeTeX.
Thus enable the use of LuaTeX for all polyglossia-supported languages.
2016-07-11 16:16:14 +02:00
Juergen Spitzmueller
90e337c84d Generate a proper error dialog title for XeTeX/LuaTeX
(see bug #10013)

Candidate for stable
2016-07-10 16:04:24 +02:00
Richard Heck
b02a93d7e8 Fix thinko in Buffer::preview. It is possible for this routine to
be called when we do not have a cloned Buffer, namely, if we do not
have EXPORT_in_THREAD defined.

(cherry picked from commit d8aab4af9e)
2016-07-10 01:17:54 -04:00
Juergen Spitzmueller
87bc92cfe1 Document 35a78ae0e9 and 53425c7e99 2016-07-09 15:13:46 +02:00
Guillaume Munch
d47b8a05fa status.22x 2016-07-08 17:39:18 +01:00
Juergen Spitzmueller
4aab3a12e8 Document fix 2016-07-08 17:41:27 +02:00
Georg Baum
26c0bb9bea Export svg in xhtml, not svgz (bug 10160)
LyX did not distinguish compressed and uncompressed svg files previously.
Therefore XHTML export of vector graphics did use svgz images directly, which
is not supported by browsers. If svg and svgz are treated as two formats then
all works fine. This is also consistent with the loadable image formats
reported by qt: It reports both svg and svgz.
The gunzip dependency in converters is not new (it is already used internally),
but the gzip dependency is new, so it might not be available on windows.
This is not important at the moment, since we do not yet need to convert svg
to svgz, I only added the converter for completeness.
2016-07-07 21:45:12 +02:00
Jean-Marc Lasgouttes
39e8cbf4e5 Record undo when deleting end of paragraph in change tracking mode
Fixes bug #10253.
(cherry picked from commit 86c33c96a0)
2016-07-05 16:47:50 +02:00
Enrico Forestieri
f5f8c6fd38 Bring window to front after loading a document
Fixes #7875.
2016-07-04 20:44:13 +02:00
Georg Baum
3fb8d71869 Fix CAS input on windows (bug 10262)
This is the well known file locking problem: The TempFile class keeps the
created file locked for the own process, and this prevents the CAS to read it.
2016-07-03 19:48:15 +02:00
Georg Baum
67d7a17af5 Make LyX compiled by MSVC 2015 run on Vista again
Patch and tests from Dima Ruinskiy, comments by me. For details see discussion
in bug 10186.
2016-07-02 10:16:48 +02:00
Richard Heck
bfeee826b4 ABOVE and CENTERED labels need special treatment.
Fixes bug #8843.

(cherry picked from commit 08bf9781ee)
2016-06-29 23:56:54 -04:00
Richard Heck
c52f30f253 Make sure we center displayed equations.
(cherry picked from commit a8aa7feb89)
2016-06-29 23:20:56 -04:00
Richard Heck
24d8d880c1 Add class attribute for \mathbb in XHTML output. Fixes part of 8251.
Patch from Josh.

(cherry picked from commit e3625b5b80)
2016-06-29 23:02:28 -04:00
Richard Heck
f3fbfcfd05 Use symbols file to lookup entities for delimiters. Fixes bug #8280.
Based upon work by Josh Hieronymus.

(cherry picked from commit 04b8f5cdc4)
2016-06-29 22:42:03 -04:00
Richard Heck
98ba7cf49d Don't be so cute with VSpace: We just output it inline now for
XHTML.

Fixes bug #8154.

(cherry picked from commit 8ea3d1f130)
2016-06-29 21:59:44 -04:00
Richard Heck
63f6ee213c Output column width info for XHTML.
(cherry picked from commit ddc28f0374)
2016-06-29 21:49:28 -04:00
Richard Heck
88f6da78af Fix bug #8782: We need to query the cell, not just the inset.
(cherry picked from commit f49556b3ed)
2016-06-29 21:28:05 -04:00
Richard Heck
2417d9cb5d Add missing buffer update after pasting unformatted text.
Fixes bug #8735.

(cherry picked from commit 6ecb05e6ea)
2016-06-29 13:34:22 -04:00
Jean-Marc Lasgouttes
a097e0cf82 Fix right_boundary properly after a row is shortened
Instead of resetting it to false, do a proper test to see whether
there is a separator at the end of the row.

Fixes bug #10180.
(cherry picked from commit 5e5440f2f3)
2016-06-29 17:55:47 +02:00
Richard Heck
9d02f0bcf1 JSS template should load math packages automatically.
Fixes bug 9242.
2016-06-28 23:39:13 -04:00
Richard Heck
f1f78c0333 Revert "JSS template should load math packages automatically."
This reverts commit 525e01ce29.
2016-06-28 23:38:15 -04:00
Richard Heck
525e01ce29 JSS template should load math packages automatically.
Fixes bug 9242.
2016-06-28 23:37:28 -04:00
Enrico Forestieri
7b423a4eb3 Make command buffer icons same size as QLineEdit height
Part of bug #10125

(cherry picked from commit 458d2015dc)
2016-06-27 18:44:50 -04:00
Richard Heck
46133b26be Let "provides [fontspec|listings|subfig] 1" work.
(cherry picked from commit f46a52d97f)
2016-06-27 17:48:08 -04:00
Richard Heck
1207d93951 Fix bug #8814: Ask where to export file if it is not
yet saved.
2016-06-25 03:29:30 +01:00
Uwe Stöhr
8b82998617 ia.po: updates from Giovanni 2016-06-24 02:16:18 +02:00