Commit Graph

40810 Commits

Author SHA1 Message Date
Juergen Spitzmueller
777a2a9baa Remove Plex Semibolds
These are not font shapes proper. The semibold is to be combined with
font shapes and thus needs to go to extra options.
2019-07-18 08:14:09 +02:00
Juergen Spitzmueller
fad3378864 Missing renames 2019-07-18 07:10:31 +02:00
Jean-Marc Lasgouttes
049aed8e08 Respect OS-level keyboard language
This bug provides two features:

1/ when a new document is created the language is set to the current
  keyboard language.

2/ when keyboard is switched at OS level, the input language of
   current window is changed. The language is set preferably to one of
   those of the document. Ex. if the keyboard changes to en_GB but one
   is typing a document in US English and Hebrew, then US English will
   be selected rather that adding UK English to the list.

The implementation depends a lot on Qt. The platform status is :

* working on Windows 10

* not working with Linux (although 1/ works with Qt4); it seems that
  Qt5 supports switching through ibus, but I do not know what this
  means.

* not yet tested on macOS.

This addresses bugs #6450, #6247 and somehow #10514.
2019-07-17 23:23:13 +02:00
Enrico Forestieri
2890b99a76 Fix bug #11616
Do not care about branches when no package language is used.
2019-07-17 21:30:24 +02:00
Juergen Spitzmueller
55f5c00ba7 Add missing FORMAT entry 2019-07-17 21:16:18 +02:00
Juergen Spitzmueller
efefde4c00 Amend 91ff5c4198 2019-07-17 21:16:05 +02:00
Kornel Benko
4f83429fcc Update sk.po 2019-07-17 19:15:49 +02:00
Kornel Benko
91ff5c4198 Rename packageoption->packageoptions
This reflects the description in latexfonts
2019-07-17 18:52:58 +02:00
Kornel Benko
7515648774 AmendI2) e9c0d48d. Remove unneded entries,
Thanks Jürgen
2019-07-17 18:27:06 +02:00
Kornel Benko
504664a261 Update tex2lyx tests 2019-07-17 18:13:32 +02:00
Kornel Benko
a45759cdb4 Amend e9c0d48d
Forgotten to commit lyx_2_4.py
2019-07-17 18:03:31 +02:00
Kornel Benko
e9c0d48d58 Add sans serif font series "Chivo" 2019-07-17 18:02:22 +02:00
Juergen Spitzmueller
70dab67113 he.po: Fix string direction
Patch by Guy Rutenberg

Fixes: #11607
2019-07-17 06:37:51 +02:00
Kornel Benko
daa3997229 Cmake po-build: add missing entries 2019-07-16 14:10:08 +02:00
Kornel Benko
d2596d9ffc Update sk.po 2019-07-16 14:09:35 +02:00
Juergen Spitzmueller
0c25dbf522 tex2lyx: minor post-cleanup 2019-07-16 10:58:27 +02:00
Juergen Spitzmueller
7e2a424621 tex2lyx: cleanup font handling 2019-07-16 10:32:24 +02:00
Juergen Spitzmueller
ebf0fe6756 Merge branch 'master' of git.lyx.org:lyx 2019-07-16 07:18:29 +02:00
Jean-Marc Lasgouttes
10379aba7a Remove layout_xxx icons
These have been superceded by lyx-toggle_xxx icons.

Part of bug #9864.
2019-07-15 23:48:15 +02:00
Jean-Marc Lasgouttes
f1c5587add Improve description of smallmatrix
I did not notice there was already something about it.
2019-07-15 23:36:04 +02:00
Günter Milde
6b88e4bf3b Fix wrong output of po statistics script. 2019-07-15 23:32:22 +02:00
Juergen Spitzmueller
f83c5eab77 Merge branch 'master' of git.lyx.org:lyx 2019-07-15 18:23:04 +02:00
Günter Milde
b9cc642856 Fix encoding issues with configuration under Python 3.
The part of the configure.py script that runs only when
there is no user ~.lyx/ directory failed under Python 3.
2019-07-15 18:10:01 +02:00
Günter Milde
d3f6ec003d Make po statistics script work with Python 3. 2019-07-15 18:10:01 +02:00
Juergen Spitzmueller
317091c500 de.po 2019-07-15 15:55:49 +02:00
Enrico Forestieri
cab4302377 Rename README.Cygwin as INSTALL.Cygwin 2019-07-15 15:52:27 +02:00
Enrico Forestieri
fcc7c9b76c Update README.Cygwin 2019-07-15 15:48:28 +02:00
Jean-Marc Lasgouttes
25fce652fb Document smallmatrix (with change tracking) 2019-07-15 14:17:22 +02:00
Juergen Spitzmueller
f1d946bf32 tex2lyx: support for Fira fonts 2019-07-15 14:03:08 +02:00
Jean-Marc Lasgouttes
732395ef1e Add support for amsmath's smallmatrix
This is a tight matrix in script size that is suitable for using inline.

Patch from our own Martin Vermeer and myself.
2019-07-15 13:38:07 +02:00
Juergen Spitzmueller
3c716cc300 Add support for the Fira family of fonts
This is a beautiful and feature rich sans and monospaced font family
designed by Erik Spiekermann and reminiscent to his famous (and
commercial) FF Meta.
2019-07-15 13:32:31 +02:00
Kornel Benko
9839e6f1a8 Update sk.po 2019-07-15 13:21:24 +02:00
Jean-Marc Lasgouttes
009e7a61bb Fixup ee0bd36a86: only clear margins when needed
The old code would erase text around inline math.

Related to #11333.
2019-07-15 13:06:09 +02:00
Juergen Spitzmueller
b1bdc75a10 Remove another unneeded AltFont 2019-07-15 12:51:09 +02:00
Juergen Spitzmueller
b6dc8c8a4a Put font series in parentheses
This is how we've done it until these new fonts have been added
2019-07-15 12:49:29 +02:00
Kornel Benko
1faef77458 Add support for cantarell font 2019-07-15 12:43:32 +02:00
Juergen Spitzmueller
989b5b9c9b lyx2lyx: Support conversion of fonts from preamble with extra opts 2019-07-15 10:34:19 +02:00
Juergen Spitzmueller
b22cbaf2b0 Add missing FORMAT entry 2019-07-15 08:25:06 +02:00
Juergen Spitzmueller
0d86faee2d Update tex2lyx tests 2019-07-15 08:23:42 +02:00
Juergen Spitzmueller
b50336c0b0 tex2lyx: support cantarell font 2019-07-15 08:10:47 +02:00
Juergen Spitzmueller
f404b57de2 Remove unneeded AltFont
Also Remove "Sans Serif" specifier from font name, as this s obvious
from the GUI (and there is no other Cantarell type anyway).
2019-07-15 08:02:11 +02:00
Juergen Spitzmueller
6e88579c56 Fix cantarell conversion 2019-07-15 07:11:43 +02:00
Juergen Spitzmueller
fada053c72 Fix copy/paste error 2019-07-15 07:11:27 +02:00
Juergen Spitzmueller
70167007e4 Fix cantarell reversion
conversion still needs work
2019-07-15 06:34:28 +02:00
Jean-Marc Lasgouttes
ca5cac2b51 When pasting several cells in mathed, take cursor position in account
Related to bug #11390
2019-07-15 01:20:08 +02:00
Pavel Sanda
1d56ea325a layouttranslation: this part slipped in without intention 2019-07-15 00:36:02 +02:00
Jean-Marc Lasgouttes
ee0bd36a86 Add empty rows to grid insets when numbers are too wide
This is done to ensure that numbering never overlaps equations. The
result can be different according to the bufferview, which is why
RowInfo::offset is now a std:map.

Remaing issues (how bad are theese ?):

- the numbering is considered too large when it overlaps the inset
  rect, whereas one could consider the width if the current row
  instead.

- previews may need to be adapted similarly to fit the whole screen width
2019-07-14 23:27:44 +02:00
Jean-Marc Lasgouttes
dea245d540 Draw display math numbering outside of inset
This is the first (easiest) step in fixing bugs 10668 and 11333.

The numbering is now drawn outside of the insets, which solves the
alignment problems and make editing easier.

What does not work yet:

- long labels will overwrite equations. To fix this, we need to
  implement the same algorithm as LaTeX and put labels on their own
  row when required.

- previews may need to be adapted similarly to fit the whole screen width
2019-07-14 23:27:44 +02:00
Jean-Marc Lasgouttes
e6b54ea4d2 Fix assertion in caret display code
It is not a good idea to call caretPosAndHeight when the caret is in a
paragraph that is not in cached metrics. This can happen when not
using "cursor follows scrollbar".

This commit refactor things a bit so that testing is done in
BufferView.

This bug is not in 2.3.x.
2019-07-14 23:27:44 +02:00
Pavel Sanda
321923444a nl reviewed by Niko. 2019-07-14 23:22:38 +02:00