Commit Graph

131 Commits

Author SHA1 Message Date
Jean-Marc Lasgouttes
e0730fe070 Remove horizontal spacing around previews
This concerns the preview version of InsetPreview and InsetIPA.

Fixes bug #10304.
(cherry picked from commit 4ddad2f6cd)
2016-08-22 10:20:01 +02:00
Enrico Forestieri
93003eee16 Fix exit code from runCommand on Windows
On Windows, runCommand has never returned the exit code of the
spawned process but the result of correctly closing the input handle.

Fixes #10327

(cherry picked from commit fb46b3a1ee)
2016-08-18 17:00:55 -04:00
jpc
efa0bfed9f Update French UI localization 2016-08-05 09:06:16 +01:00
Juergen Spitzmueller
fe117aa7db Correct default font of beamer article layouts
Fixes: #9977
2016-08-05 07:21:17 +02:00
Richard Heck
50162ebb1e Fix XHTML export of German Additional Features manual.
There was an oddity in the manual that exposed a problem with the
test for the "special case" of an inset all by itself in a pargraph.
If a font change is applied to that inset, we still need to open the
paragraph.

(cherry picked from commit 3be23d18b6)
2016-08-04 22:47:32 -04:00
Richard Heck
4df7b051fa Status for last commit. 2016-08-04 17:47:57 -04:00
José Matos
61a9f04754 Fix bug #10273
The export of compressed files to previous lyx versions failed on windows.

The change in this case is to explicitly pass the output file since we know it.

At the same time take care of the fact that lyx2lyx knows what file format
versions corresponds to each lyx version.
2016-08-01 11:04:39 +01:00
Richard Heck
199e63fa19 Simplify CSS classes for floats.
Fixes bug #8605 and probably parts of #8755 and #9328.

(cherry picked from commit 50c1391950)
2016-07-31 03:45:05 -04:00
Richard Heck
ffd6a28a97 Fix HTML display of math matrices.
(cherry picked from commit 60ce2b7570)
2016-07-31 03:41:13 -04:00
Richard Heck
ddb7c5884b Fix output of floats, etc, inside environments.
Fixes bug #9094.

(cherry picked from commit 98feadd61e)
2016-07-31 03:20:00 -04:00
Richard Heck
1c9bb3f6de Add 'dir="auto"' to the body tag for XHTML export. This should take
care of much of what we need to do for RTL languages. It does not
take care of inline language changes, probably.

(cherry picked from commit 07dcb1c525)
2016-07-31 02:54:28 -04:00
Richard Heck
5fa071ec1e Fix display of code listings in XHTML.
Fixes bug #8362.

(cherry picked from commit ab3a49973f)
2016-07-31 01:48:57 -04:00
Richard Heck
1bcede451a Enable export of spreadsheets with XHTML.
(cherry picked from commit 1840e2dbaf)
2016-07-31 01:36:43 -04:00
Richard Heck
f457b11fa7 Fix substitution for $$Contents.
The second argument here is the length of the string to replace,
not the position of the final character.

(cherry picked from commit 6b97f2c075)
2016-07-31 00:17:22 -04:00
Richard Heck
a536ee7718 Fix preview of external material with plaintext and DocBook.
(cherry picked from commit 93a612220e)
2016-07-30 23:51:06 -04:00
Richard Heck
d7ecdedd67 Fix indentation of fen2ascii script so it will run.
(cherry picked from commit 22e1063cb9)
2016-07-30 23:18:46 -04:00
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