Commit Graph

37909 Commits

Author SHA1 Message Date
Jean-Marc Lasgouttes
4d845baf08 Fix computation of string width when using a QTextLayout
It was not a good idea to rely on QTextLine::naturalTextWidth() to
compute a string width. The correct method is horizontalAdvance().

Also round the value to the nearest pixel, since this is what
QFontMetrics::width() does.

Fixes bug #10700 (and maybe others).

(cherry picked from commit c874641e95)
2017-08-28 14:36:50 +02:00
Juergen Spitzmueller
0315d440e9 EmbeddedObjects: More (minor) corrections to the Inkscape template decription.
Includes German translation.
2017-08-28 08:45:32 +02:00
Juergen Spitzmueller
b3d67c8139 Improve the svg2*tex.py scripts.
The inkscape command was hardcoded, but it seems that we need the full
patch on Windows. Therefore we check in configure.py if inkscape is
installed and pass the proper name (and possibly path) to the scripts.

Should address problems mentioned in #10679
2017-08-28 08:00:56 +02:00
Juergen Spitzmueller
e35f43c720 de/EmbeddedObjects: add and translate the Inkscape modifications. 2017-08-27 16:04:03 +02:00
Juergen Spitzmueller
aaa635967f de/Customization.lyx: Some updates and translations.
Still lots to do. This document is utterly outdated.
2017-08-27 15:37:09 +02:00
jpc
94077ca2ee Copy new documentation of Insksscape external material
in localized files and remove change tracking
2017-08-27 14:38:25 +02:00
jpc
79c4c40798 Update French version of UserGuide (but section 6.5) 2017-08-27 14:05:38 +02:00
Juergen Spitzmueller
8afc0e34a1 EmbeddedObjects: Clarify the aim of the Inkscape external template
This should clear some confusion about the input format of the template
(see #10679).
2017-08-27 10:53:42 +02:00
Kornel Benko
2509471133 Update sk.po 2017-08-27 10:42:55 +02:00
jpc
9b24dd4bec Update LyX version un UserGuide.lyx 2017-08-27 10:18:13 +02:00
Juergen Spitzmueller
21615fe6ba Add proper author info and license header to the inkscape.xtemplate related files 2017-08-26 16:13:11 +02:00
Juergen Spitzmueller
f8f2837915 de/EmbeddedObjects: minor spelling corrections. 2017-08-26 16:12:41 +02:00
Juergen Spitzmueller
ffc622116d UserGuide: Add some notes about keysym syntax
Fixes: #10745
2017-08-26 13:25:12 +02:00
Juergen Spitzmueller
caaeddfa24 Fix some oxygen icons
These had phantom elements that made them appear incorrectly in the info
insets.
2017-08-26 09:21:26 +02:00
Enrico Forestieri
45141ea40f Mention -shell-escape in release notes 2017-08-24 10:16:18 +02:00
Enrico Forestieri
e88cccb49e Mention pygmentize_command in release notes 2017-08-23 11:13:44 +02:00
Uwe Stöhr
a7c1496837 Win installer: updates for beta 1 2017-08-15 21:06:19 +02:00
Scott Kostyshak
50310de67b Back to development 2017-08-14 04:05:11 -04:00
Scott Kostyshak
8f872ef069 This is LyX 2.3.0beta1 2017-08-14 04:03:24 -04:00
Scott Kostyshak
18aca9dd00 Update a layout to 2.3.0beta1 format 2017-08-14 03:22:33 -04:00
Scott Kostyshak
b45be0ecf8 Update docs to 2.3.0beta1 format 2017-08-14 02:31:24 -04:00
Scott Kostyshak
9ce1a337d3 NEWS: remove some uninformative items
Noted by Pavel at

    https://www.mail-archive.com/search?l=mid&q=20170425002424.GC8883%40atrey.karlin.mff.cuni.cz
2017-08-14 02:18:21 -04:00
Scott Kostyshak
c0a7af6469 ANNOUNCE: https some URLs
Note that

    https://wiki.lyx.org/LyX/NewInLyX23

does not provide a secure connection so I did not change that one.
2017-08-14 02:14:11 -04:00
Scott Kostyshak
fc81243ada Update the formats of lyxrc.dist.in to 22
In the end, no changes were needed. This was decided by prefs2prefs
for MacOSX and cygwin, and by manual inspection for Win32.
2017-08-14 02:02:57 -04:00
Scott Kostyshak
513f79ad30 Set pre-release version as beta1 2017-08-14 00:39:58 -04:00
jpc
7e1afece00 Add a warning about the change of class version 2017-08-13 18:35:57 +02:00
Juergen Spitzmueller
9bbcfebb95 Amend 7e121117bb 2017-08-13 12:01:49 +02:00
Juergen Spitzmueller
7e121117bb Vietnamese no longer requires any special handling.
It is a normal babel support package.
2017-08-13 11:53:41 +02:00
Juergen Spitzmueller
048c3fd429 Babel option for Vietnamese is called "vietnamese"
The renaming happened in 2013. Contrary to what is stated in the
babel-vietnamese manual, option "vietnam" does not work anymore.

Also, the special care is note needed anymore, since language options
are not hardcoded anymore in babel.

Fixes: #10743
2017-08-13 11:52:57 +02:00
Enrico Forestieri
23722040e9 Update it.po 2017-08-12 20:18:06 +02:00
jpc
b27509ffd6 Proof checking of French Math.lyx fir 2.3 2017-08-12 18:57:46 +02:00
Scott Kostyshak
acc1cc394f Remove a sometimes blocked call to dispatch
Dispatching LFUN_BUFFER_ZOOM inside of GuiView::restoreLayout() was
blocked in some cases because the function can be called without a
buffer (and the LFUN is marked as needing a buffer). Instead of
conditioning on a buffer, the call is removed because in testing it
does not appear why it is needed.

This commit removes the status message that is displayed if starting
LyX without opening a buffer:

    "Command not allowed without any document open"

See discussion at:

    https://www.mail-archive.com/search?l=mid&q=20170718084344.3kjmu7hzoyajt7vd%40steph

This commit amends 4183a9f4.
2017-08-12 11:46:11 -04:00
Kornel Benko
9a42154107 Cmake export tests: Ignore missing glyphs also for doc/(fr|es)/UserGuide 2017-08-12 14:08:12 +02:00
Juergen Spitzmueller
8c2e5bfc20 Mythes: fix -Wsign-compare warning
Will also urge to get this into upstream
2017-08-12 10:43:21 +02:00
Juergen Spitzmueller
3edacc85ed Remove sizeof applied to sizeof
Backported from upstream:
2e09086d89
2017-08-12 10:31:19 +02:00
Juergen Spitzmueller
7a7c2117bf Fix compilation order
(This is the pedant in me)
2017-08-12 10:22:45 +02:00
Juergen Spitzmueller
0e711b414e Add missing break
As correctly pointed out by gcc7.
2017-08-12 09:55:06 +02:00
Juergen Spitzmueller
e9c9ad8055 Forgot this one. 2017-08-12 09:24:01 +02:00
Juergen Spitzmueller
1249e5e13e Mark some intentional fall-throughs (in a way understandable to gcc)
This silences -Wimplicit-fallthrough warnings with gcc7.

(Re-Apply without the unintended commits)
2017-08-12 09:06:29 +02:00
Juergen Spitzmueller
0120c3fc10 Revert "Mark some intentional fall-throughs (in a way understandable to gcc)"
This reverts commit 6dc1884d05.
2017-08-12 09:04:23 +02:00
Juergen Spitzmueller
b73879691f Another (IMHO false) fall-through warning silenced
With a FIXME. The case should be checked.
2017-08-12 08:59:26 +02:00
Juergen Spitzmueller
6dc1884d05 Mark some intentional fall-throughs (in a way understandable to gcc)
This silences -Wimplicit-fallthrough warnings with gcc7.
2017-08-12 08:57:02 +02:00
jpc
df5c26da81 Update French translation of FeynmanDiagrams manual 2017-08-11 17:02:42 +02:00
jpc
65bee010a0 Update French translation of Linguistics manual 2017-08-11 16:36:22 +02:00
jpc
12b8190d9b Update fr.po 2017-08-11 16:11:46 +02:00
Juergen Spitzmueller
b839c9b609 de.po: new translations 2017-08-10 12:18:06 +02:00
Juergen Spitzmueller
b2841e9570 Require textquotedbl def with second language that has internal fontenc
Since these switch locally to encodings that do not define \textquotedbl
themselves.
2017-08-10 11:47:52 +02:00
Kornel Benko
584ce50533 Update sk.po 2017-08-10 08:11:09 +02:00
Enrico Forestieri
40e9dea551 Use the OK/Apply paradigm for all document settings
Due to its peculiarity of not being saved in the document, the
shell escape setting was applied immediately without the need
for hitting the Apply or OK buttons. However, for uniformity
sake, it is better to adhere to the established paragdim of
confirming any changes before applying them.
2017-08-10 01:32:23 +02:00
Juergen Spitzmueller
094341fa5a Fix straight quote character in non-T1 encoding
Fixes: #10584
2017-08-09 17:25:02 +02:00