Commit Graph

36018 Commits

Author SHA1 Message Date
Jean-Marc Lasgouttes
bafc40b857 editXY: make cursor positionning correct over non editable inset
Instead of using complicated (and wrong) code, it is better to use
getPosNearX here.

Also simplify the code by removing temporary variables.

Fixes part of #10569.

(cherry picked from commit 6a0c1c6573)
2017-05-23 10:57:26 +02:00
Jean-Marc Lasgouttes
db9f41c039 Work around bug in QTextLine::xToCursor
With RtL text, the method can be non-monotonic wrt x value (which is a
Qt bug). To work around this, we check whether positions adjacent to
those returned by xToCursor look better. Depending on whether the new
x position is too small or too large, we look backward or forward for
a better solution.

The performance is probably not great, but this is only needed for
user interactions, so the performance penalty should not be a problem.

Fixes part of #10569.

(cherry picked from commit da590925cd)
2017-05-23 10:50:08 +02:00
Enrico Forestieri
05d4332152 Fix bug #10469 2017-05-20 02:36:16 +02:00
Uwe Stöhr
7b0f63f67b Color.cpp: backport fix for bug #10656 2017-05-16 23:47:35 +02:00
Uwe Stöhr
e40205e749 InsetFloat.cpp: backport fix for bug #10618 2017-05-16 23:44:32 +02:00
Juergen Spitzmueller
0887f89350 Do not add symbols twice to Encoding::symbolsList()
Also sort the list properly.

Fixes #10644
2017-05-16 13:37:29 +02:00
Richard Heck
eb4723a589 Start 2.2.4 development. 2017-05-15 21:35:33 -04:00
Richard Heck
35a6fddf52 Typos. 2017-05-08 09:20:54 -04:00
Richard Heck
70df49c2f2 Prepare for 2.2.3. 2017-05-07 12:37:03 -04:00
Uwe Stöhr
f0877e26c0 ia.po: updates for 2.2.3 from Giovanni 2017-04-29 16:00:36 +02:00
Uwe Stöhr
62ad4a1ab5 lyx2lyx/lyx_2_2.py: backport another box reversion issue 2017-04-24 23:02:09 +02:00
Scott Kostyshak
1c9c2c90ca NEWS: fix typo 2017-04-24 01:18:10 -04:00
Uwe Stöhr
d6f6cca35d Arabic Shortcuts.lyx: remove an inset-info
as reported on the lyx-docs list this inset prevents the compilation of the file on Mac OS
2017-04-23 14:22:34 +02:00
Uwe Stöhr
ee0ba5948e Shortcuts.lyx: save with LyX 2.2.2
Changelog-UserGuide-LyX_22x.txt: document a missing translation
2017-04-23 01:39:52 +02:00
Uwe Stöhr
d345ff3831 Arabic doc files: some fine-tuning
a phantom does trick better than a space because the output won't be changed
2017-04-22 19:16:00 +02:00
Uwe Stöhr
7b131a2234 Win installer: prepare for LyX 2.2.3 2017-04-22 00:35:38 +02:00
Uwe Stöhr
5bb6e25617 Arabic Intro.lyx: fix LyX logo in section headings
the previous commit changed the LyX logo to be in English but that broke the PDF bookmark text and also the TOC. The solution is to use the real logo and a short title with \texorpdfstring
2017-04-22 00:05:51 +02:00
Uwe Stöhr
cac7b005e4 Arabic Intro.lyx: mark LTR text as English like we do for the Hebrew doc files
thanks to Mike from the lyx-docs list for this
2017-04-20 23:53:18 +02:00
Uwe Stöhr
1a0535e78a UserGuide.lyx: fix a typo
- also 2 formatting fixes
2017-04-20 22:38:19 +02:00
Uwe Stöhr
826b704b31 backport fix for bug #10440
thanks Enrico!
2017-04-20 22:20:50 +02:00
Uwe Stöhr
0271602b8d - backport fix for bug #10466
Handle the command \multicolumn correctly in math macros
2017-04-18 23:53:27 +02:00
Uwe Stöhr
fc2db913e0 lyx2lyx/lyx_2_0.py: fix box reversion and conversion routines 2017-04-17 22:13:46 +02:00
Uwe Stöhr
113c9a2f7f lyx2lyx/lyx_2_2.py: rewrite the box reversion routines
- will fix several bugs with nested boxes
2017-04-17 21:06:47 +02:00
Uwe Stöhr
848c424588 Revert "French Tutorial.lyx: some typographic fixes"
This reverts commit 2a10603c87.
2017-04-17 15:26:17 +02:00
Uwe Stöhr
ac479dd814 doc files: update the changelogs 2017-04-17 15:19:17 +02:00
jpc
d7405f5c9e Translate two remaining chunks 2017-04-17 10:16:56 +02:00
Uwe Stöhr
7ceaa7e783 PDF-form.lyx: some minor fixes 2017-04-17 04:10:48 +02:00
Uwe Stöhr
a36fc2b8e4 doc files: improve 3 PDFs 2017-04-16 23:14:25 +02:00
Kornel Benko
60e3b72758 Update sk.po 2017-04-16 21:15:35 +02:00
Uwe Stöhr
de5d392581 German EmbeddedObjects.lyx: correct an image path 2017-04-16 20:06:28 +02:00
Uwe Stöhr
a3edc38747 status.22x: the image update deserves an entry 2017-04-16 19:57:59 +02:00
Uwe Stöhr
58b5c70d23 doc files: update more images
- the ERT example
- the Japanese screenshot images
- adapt the LyX files accordingly
2017-04-16 19:54:51 +02:00
Uwe Stöhr
2a10603c87 French Tutorial.lyx: some typographic fixes
- footnotes should be after the sentence dot
2017-04-16 19:09:48 +02:00
Uwe Stöhr
67428dcf95 doc files: update images
- as requested by a user we can use PostScript level 3 for EPS and PDF version 1.5
- he also requested to update the screenshot images
- rescale the SVG image to the CSS standard (96 dpi) as recommended by Inkscape
- update the docs files to the new screenshot image size
2017-04-16 19:08:26 +02:00
Uwe Stöhr
64206d3725 lyx2lyx/lyx_2_2.py: fix 2 issues with the reversion of boxes 2017-04-16 16:37:05 +02:00
Uwe Stöhr
e65a6624a5 de.po: use a more suitable translation 2017-04-16 16:01:05 +02:00
Uwe Stöhr
23daedf05d French Math.lyx: a tiny correction 2017-04-16 15:59:11 +02:00
Uwe Stöhr
c4b15264aa French Math.lyx: revert [ade28912/lyxgit]
LyX 2.2.x can only handle the fileformat of LyX 2.2
(I kept the new translation)
2017-04-16 15:55:46 +02:00
Uwe Stöhr
f45ee330f5 PDF-form.lyx: some corrections and updates 2017-04-16 15:46:27 +02:00
jpc
ade2891218 Translate a sentence 2017-04-16 09:17:42 +02:00
Uwe Stöhr
a9e154cdee PDF-form.lyx: New German translation
- also many fixes and updates of the English version
- also some according fixes in de.po
2017-04-15 04:59:30 +02:00
Uwe Stöhr
7867bfe9b7 sv.po: updates from Jim 2017-04-14 18:02:00 +02:00
Uwe Stöhr
8d8da4becd Win installer: add package that is nowadays necessary to compile the PDF-form example file 2017-04-14 01:41:14 +02:00
Uwe Stöhr
7c3eb8ceb7 pt_BR.po: update from Georger 2017-04-14 01:05:35 +02:00
Uwe Stöhr
bdb5849aa7 Math.lyx: correct wrong info about \mathindent 2017-04-14 00:58:54 +02:00
Uwe Stöhr
a526ff58c1 GuiDialog.cpp: remove question marks from Windows dialogs
backported from master, fixes bug #10098, patch from Guillaume
2017-04-04 23:54:31 +02:00
Uwe Stöhr
c75c27c3c0 pt_BR.po: update by Georger 2017-04-04 02:46:53 +02:00
Uwe Stöhr
a9c6bb017e uk.po: update from Yuri 2017-04-04 00:22:17 +02:00
Enrico Forestieri
ee7d055791 Update it.po 2017-04-03 00:15:47 +02:00
Enrico Forestieri
caf56220c6 Fix bug #10554
The \lyxdeleted macro cannot cope with \newpage & co.
2017-04-03 00:07:53 +02:00