Commit Graph

38773 Commits

Author SHA1 Message Date
Juergen Spitzmueller
fadb93ae68 Collapsable -> Collapsible (part 5)
Preferences update and prefs2prefs routine.

This was forgotten in the process.
2017-11-02 16:51:23 +01:00
Enrico Forestieri
43a6fe8375 Fix #10778 (issue with CJK and language nesting)
When using CJK, don't try to close a language that was never
opened before, such as when it is the main language.

(cherry picked from commit 7e51b5f301)
2017-11-02 11:07:11 +01:00
Juergen Spitzmueller
8f98423e92 Enable OK/Apply buttons when resetting to class defaults.
(cherry picked from commit b851a349b6)
2017-11-01 23:09:59 +01:00
Scott Kostyshak
82cd9bf05d Back to development 2017-10-31 11:29:52 -04:00
Scott Kostyshak
342a8a615d This is LyX 2.3.0rc1 2017-10-31 11:28:09 -04:00
Juergen Spitzmueller
908afb8e97 Remove wmf2eps as EMF > EPS converter
The program can only deal with WMF.

(cherry picked from commit a47bc7f799)
2017-10-31 11:03:57 -04:00
Juergen Spitzmueller
bf77b61162 Only use full path for inkscape file arguments on Mac.
(cherry picked from commit 22125fa6de)
2017-10-31 11:03:57 -04:00
Kornel Benko
b516eecbce Missed a fuzzy entry in sk.po 2017-10-30 10:34:50 +01:00
Uwe Stöhr
2a20dac130 Win installer: correct name for RC1
(cherry picked from commit 61a703a9c0)
2017-10-30 03:10:37 -04:00
Scott Kostyshak
86127b9ad9 Remerge strings for 2.3.0rc1 2017-10-27 13:48:56 -04:00
Scott Kostyshak
0382658252 Update docs to 2.3.0rc1 format
This reverts part of 95f60915, which edited LFUNs.lyx directly. We
can look into a fix at the source after rc1.
2017-10-27 13:48:00 -04:00
Scott Kostyshak
291152efe8 Copy caveats from RELEASE-NOTES to UPGRADING 2017-10-27 13:21:58 -04:00
Scott Kostyshak
db57d3b665 Update NEWS for 2.3.0rc1 2017-10-27 13:16:53 -04:00
Scott Kostyshak
aea424bfeb Update ANNOUNCE for 2.3.0rc1 2017-10-27 13:12:43 -04:00
Scott Kostyshak
2baea7bf7e Update preference format for cygwin and Win
As noted in prefs2prefs, no conversion is necessary from 22 to 23.
2017-10-27 13:00:02 -04:00
Scott Kostyshak
c480b5bdf5 configure.py: add LilyPond editor, Frescobaldi
Generic text editors are used as fallbacks, in case Frescobaldi is
not available. The list of text editors is the same as elsewhere in
configure.py. We might consider centralizing the list of text
editors in a variable.

Patch from Helge Hafting on ML at:.

https://www.mail-archive.com/search?l=mid&q=f167276f-4f59-7bab-a832-cff56dddd670%40ntnu.no

(cherry picked from commit c4b4305fa2)
2017-10-27 02:23:17 -04:00
Uwe Stöhr
a7f561f571 sweave.lyx: accept changes
- also correct 2 file paths in Japanese EmbeddedObjects.lyx
2017-10-27 00:14:00 +02:00
Uwe Stöhr
361397f273 doc files: fix some path and reference mistakes
also replace remaining occurrences of EPS images
2017-10-26 02:24:24 +02:00
Uwe Stöhr
333045c17d Japanese EmbeddedObjects.lyx: fix image paths
also replace remaining occurrences of EPS images
2017-10-26 01:26:42 +02:00
Enrico Forestieri
8be0ec0db5 Fix issue with change-tracked deleted display math
- If a display math not starting a new paragraph is deleted, the
  current \lyxdeleted macro (if any) must be closed and a new one
  started, otherwise the display math will be shifted up.

- Use \linewidth instead of \columnwidth because the former will adapt
  to the reduced horizontal width in list environments, avoiding shifting
  to the right the diplay math.

(cherry picked from commit 7f23ca912c)
2017-10-25 19:51:14 +02:00
Juergen Spitzmueller
3d30a01bd7 de.po 2017-10-24 08:46:02 +02:00
Richard Heck
6247de2629 Fix bug #10556.
Update CSS for Standard layout in Memoir.

(cherry picked from commit e05c91083f)
2017-10-23 16:30:12 -04:00
Kornel Benko
979c96aa4f Update sk.po 2017-10-23 14:56:40 +02:00
Juergen Spitzmueller
57db5a0dbc de.po 2017-10-23 13:53:51 +02:00
Juergen Spitzmueller
aa1698ede0 More accurate description of fixltx2e state. 2017-10-23 13:50:11 +02:00
jpc
d57935b33b Add obsolescence warning in fixltx2e description (ticket 9361) 2017-10-23 09:51:08 +02:00
jpc
95f60915a7 Make math options loading automatic, see ticket 10661 2017-10-23 09:23:31 +02:00
Juergen Spitzmueller
a81a0c5534 Implement ParamInfo::HANDLING_LTRIM and use it to ltrim InsetBibitem
output

See #9847.

(cherry picked from commit 76f49fad78)
2017-10-23 09:07:22 +02:00
Juergen Spitzmueller
d088f7f03f Do not add deleted text to inset button label.
Fixes: #10775
(cherry picked from commit 70b0df85c8)
2017-10-23 08:26:01 +02:00
Guillaume MM
25678dae12 Fix math mode for InsetMathMacro on output
After 6642152e, user macros were no longer wrapped in \ensuremath. In 2.2 and
before, InsetMathMacro behaved as follow:

* Textmode global symbols are wrapped in \text when in math.

* Other global symbols, and user macros, are wrapped in \ensuremath when in
  text.

* Undefined macros (ERT) are wrapped neither in \text nor in \ensuremath.

This is also consistent with the documentation of MathEnsurer in
mathed/MathStream.h.

This patch defines InsetMathMacro::currentMode() accordingly (respectively
TEXT_MODE, MATH_MODE and UNDECIDED_MODE) and uses it to determine the output.

After this patch, there is a mismatch between screen and pdf output for user
macros in \text. This is not a regression wrt 2.2 and is because linearization
does not satisfy currentMode() currently.

(cherry picked from commit 767f0df18fcd61611de1d1e10e0fd1867479fb59)
2017-10-23 00:07:08 +02:00
Uwe Stöhr
080c068e97 Additional.lyx: accept and distribute changes
- almost all changes were already distributed
- fix some cross-reference issues
2017-10-23 00:02:04 +02:00
Enrico Forestieri
8f7b40955c Account for shadowed system macros
Part of #10694.

(cherry picked from commit d58d3f6774)
2017-10-22 23:15:56 +02:00
Günter Milde
71a35ea45b Warn of side-effects of the changed default behaviour regarding dash export. 2017-10-21 22:31:12 +02:00
Günter Milde
9086db662d cmake documentation handling: sort out encoding problems.
Let srcipt work under Python2 and Python3,
also if the locale is not set to utf8.
2017-10-21 22:25:59 +02:00
Kornel Benko
72122beee8 Cmake doc creations: Setting environment PYTHONIOENCODING
1. This should force the python executable to use the desired encoding.
  The command is moved to a wrapper script to be able to set the environment
  at make-run-time.
  cherry-picked from a68ef98 and f3c8884
2. Python is choking on '\\'
  cherry-picked from 65deb30

Omiting changes to ReplaceValues.py, which will be hopefully done by Günter Milde
2017-10-21 11:18:02 +02:00
Juergen Spitzmueller
bb5ee7f37e Fix small display issue with biblatex's \textcite
(cherry picked from commit b632e3ebf3)
2017-10-18 17:48:17 +02:00
Enrico Forestieri
5a3201a8c4 Speed up exit time
Instantiating a single QSettings and using it for each ui element
can significantly shorten the time required to save the various
states at exit. The speed up can be better appreciated on *nix,
where the settings are saved on disk, rather than on Windows where
they are held in memory (in the registry).

(cherry picked from commit 3b43fbfbb1)
2017-10-18 13:38:16 +02:00
Juergen Spitzmueller
4947476da8 Do not scan BibTeX files multiple times in a collectBibKeys() procedure.
Scanning is rather slow, so this improves performance in specific
situations (multiple inclusion of larger files in master/child or
chapterbib context)

(cherry picked from commit 88a0666d6c)
2017-10-18 12:21:29 +02:00
Richard Heck
ffd175b99f Use of div for labels causes validation errors. See #8843.
(cherry picked from commit b8206a0832)
2017-10-16 21:41:30 -04:00
Richard Heck
1bef592999 Revert "ABOVE and CENTERED labels need special treatment."
This reverts commit 08bf9781ee.
2017-10-16 21:37:59 -04:00
Uwe Stöhr
5480cfd19a Additional.lyx: replace quotes character by LyX quotes 2017-10-17 00:24:41 +02:00
Juergen Spitzmueller
cd5e2d537f update po/gmo files after a71778de94 2017-10-16 14:30:57 +02:00
Juergen Spitzmueller
a71778de94 Collapsable -> Collapsible (part 3)
The current spelling is not strictly wrong, but flagged as unusual or
    historical by some authorities. It is also found fault with many
    spell checkers. Thus we decided to move to the more standard "-ible"
    form once and for all.

    See #10678 for discussion

    This part addresses the po files.
2017-10-16 11:28:45 +02:00
Juergen Spitzmueller
9ae4b659dc Collapsable -> Collapsible (part 4)
The current spelling is not strictly wrong, but flagged as unusual or
historical by some authorities. It is also found fault with many
spell checkers. Thus we decided to move to the more standard "-ible"
form once and for all.

See #10678 for discussion

This last part updates the layout format and changes collapsable color.

This will all also all be backported to 2.3.x, for the sake of backwards
compatibility (cherry-picking).

(cherry picked from commit 4345331870)
2017-10-16 11:24:49 +02:00
Juergen Spitzmueller
a59301eaff Collapsable -> Collapsible (part 2)
The current spelling is not strictly wrong, but flagged as unusual or
historical by some authorities. It is also found fault with many
spell checkers. Thus we decided to move to the more standard "-ible"
form once and for all.

See #10678 for discussion

This part covers the most tricky part: the internal naming.
Translations and layouts will follow.

This will all also all be backported to 2.3.x, for the sake of backwards
compatibility (cherry-picking).

(cherry picked from commit c466baaa5b)
2017-10-16 11:24:41 +02:00
Juergen Spitzmueller
e040ccb0e8 Collapsable -> Collapsible (part 1)
The current spelling is not strictly wrong, but flagged as unusual or
historical by some authorities. It is also found fault with many
spell checkers. Thus we decided to move to the more standard "-ible"
form once and for all.

See #10678 for discussion

This part only covers the usage in comments and the like. More to follow.

This will all also all be backported to 2.3.x, for the sake of backwards
compatibility (cherry-picking).

(cherry picked from commit 648ddd25ec)
2017-10-16 11:22:13 +02:00
Richard Heck
402d41b82d Revert "Fix bug #8782."
This caused slowness on undo and redo that was reported at
https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg202292.html

This reverts commit 02847641a8.
2017-10-15 20:56:25 -04:00
Uwe Stöhr
1940a1f080 Win installer: update Qt
- Qt 5.6.3 uses a different path name scheme
- one DLL was removed in Qt 5.6.3
2017-10-15 16:47:48 +02:00
Enrico Forestieri
d7306b62ac Update it.po 2017-10-15 16:35:08 +02:00
Enrico Forestieri
2e253eab0f Fix issue with regular expressions
At least with gcc 6.4, if the first parameter passed to
regex_match() is afterward changed, the second one gets
corrupted. This is avoided by using a temporary string.

(cherry picked from commit c16ccdb5fd)
2017-10-15 15:42:39 +02:00