Commit Graph

40676 Commits

Author SHA1 Message Date
Jean-Marc Lasgouttes
c476c3766c Add a pref to disable OS keyboard language support
By default, the behavior is the same as before, except that the
language of new document is not unconditionally en_US anymore.

The new checkbox "Respect OS keyboard language" (off by default)
governs this behavior.

Update prefs format to 30.
2019-07-20 12:57:16 +02:00
Juergen Spitzmueller
a7d9982bfc Add missing GuiName 2019-07-20 06:58:30 +02:00
Jean-Marc Lasgouttes
6f8298b165 Set language to OS input language when moving cursor
Instead of setting language from context when moving the cursor, set
it to the OS input language. This behavior will probably need to be
controlled by a preference, since not everybody changes keyboard
mapping when changing language.

This required to move BufferView::setCursorLanguage to
Cursor::setLanguageFromInput().
2019-07-19 11:52:03 +02:00
Juergen Spitzmueller
36399e88d3 tex2lyx: slight font handling simplification
We do not have to add the general packages to known sf and tt, just to
exclude them later by exception.
2019-07-19 07:50:52 +02:00
Kornel Benko
f45a1ea5e8 Update sk.po 2019-07-18 19:51:46 +02:00
Juergen Spitzmueller
710684ab0a de.po 2019-07-18 18:54:55 +02:00
Juergen Spitzmueller
433de6f461 More latexfonts fixes
Adobe is not part of the font name
2019-07-18 18:53:27 +02:00
Juergen Spitzmueller
9108c75fa5 latexfonts: more minor fixes 2019-07-18 18:49:42 +02:00
Juergen Spitzmueller
63161434ff Really fix bug #11616
With !using_begin_end, we need to compare against the paragraph language
since cur_language is always empty.
2019-07-18 17:05:44 +02:00
Juergen Spitzmueller
2b432ecb3a Revert "Fix bug #11616"
This reverts commit 2890b99a76.

A real fix follows in a minute
2019-07-18 17:04:18 +02:00
Juergen Spitzmueller
850c5a3d55 Support for CrimsonPro 2019-07-18 10:50:46 +02:00
Juergen Spitzmueller
86b1331507 tex2lyx: update and improve noto import 2019-07-18 09:48:09 +02:00
Juergen Spitzmueller
d6ce4abd40 Amend 212314ada7 2019-07-18 09:08:24 +02:00
Juergen Spitzmueller
212314ada7 Merge the two noto regular fonts
These are actually the same font and shape, so no need for two entries
2019-07-18 08:41:00 +02:00
Juergen Spitzmueller
2e07502c8b Regular series is default 2019-07-18 08:26:59 +02:00
Juergen Spitzmueller
ed44aed58c Remove unneeded method. 2019-07-18 08:15:00 +02:00
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