]> git.lyx.org Git - lyx.git/log
lyx.git
4 years agoReally fix bug #11616
Juergen Spitzmueller [Thu, 18 Jul 2019 15:05:44 +0000 (17:05 +0200)]
Really fix bug #11616

With !using_begin_end, we need to compare against the paragraph language
since cur_language is always empty.

4 years agoRevert "Fix bug #11616"
Juergen Spitzmueller [Thu, 18 Jul 2019 15:04:18 +0000 (17:04 +0200)]
Revert "Fix bug #11616"

This reverts commit 2890b99a76ec58e57168b26cd1872e050eb37cfb.

A real fix follows in a minute

4 years agoSupport for CrimsonPro
Juergen Spitzmueller [Thu, 18 Jul 2019 08:50:46 +0000 (10:50 +0200)]
Support for CrimsonPro

4 years agotex2lyx: update and improve noto import
Juergen Spitzmueller [Thu, 18 Jul 2019 07:48:09 +0000 (09:48 +0200)]
tex2lyx: update and improve noto import

4 years agoAmend 212314ada71
Juergen Spitzmueller [Thu, 18 Jul 2019 07:08:24 +0000 (09:08 +0200)]
Amend 212314ada71

4 years agoMerge the two noto regular fonts
Juergen Spitzmueller [Thu, 18 Jul 2019 06:41:00 +0000 (08:41 +0200)]
Merge the two noto regular fonts

These are actually the same font and shape, so no need for two entries

4 years agoRegular series is default
Juergen Spitzmueller [Thu, 18 Jul 2019 06:26:59 +0000 (08:26 +0200)]
Regular series is default

4 years agoRemove unneeded method.
Juergen Spitzmueller [Thu, 18 Jul 2019 06:15:00 +0000 (08:15 +0200)]
Remove unneeded method.

4 years agoRemove Plex Semibolds
Juergen Spitzmueller [Thu, 18 Jul 2019 06:14:09 +0000 (08:14 +0200)]
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.

4 years agoMissing renames
Juergen Spitzmueller [Thu, 18 Jul 2019 05:10:31 +0000 (07:10 +0200)]
Missing renames

4 years agoRespect OS-level keyboard language
Jean-Marc Lasgouttes [Tue, 16 Jul 2019 23:01:49 +0000 (01:01 +0200)]
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.

4 years agoFix bug #11616
Enrico Forestieri [Wed, 17 Jul 2019 19:28:49 +0000 (21:28 +0200)]
Fix bug #11616

Do not care about branches when no package language is used.

4 years agoAdd missing FORMAT entry
Juergen Spitzmueller [Wed, 17 Jul 2019 19:16:18 +0000 (21:16 +0200)]
Add missing FORMAT entry

4 years agoAmend 91ff5c41986
Juergen Spitzmueller [Wed, 17 Jul 2019 19:16:05 +0000 (21:16 +0200)]
Amend 91ff5c41986

4 years agoUpdate sk.po
Kornel Benko [Wed, 17 Jul 2019 17:15:49 +0000 (19:15 +0200)]
Update sk.po

4 years agoRename packageoption->packageoptions
Kornel Benko [Wed, 17 Jul 2019 16:52:58 +0000 (18:52 +0200)]
Rename packageoption->packageoptions

This reflects the description in latexfonts

4 years agoAmendI2) e9c0d48d. Remove unneded entries,
Kornel Benko [Wed, 17 Jul 2019 16:27:06 +0000 (18:27 +0200)]
AmendI2) e9c0d48d. Remove unneded entries,

Thanks Jürgen

4 years agoUpdate tex2lyx tests
Kornel Benko [Wed, 17 Jul 2019 16:13:32 +0000 (18:13 +0200)]
Update tex2lyx tests

4 years agoAmend e9c0d48d
Kornel Benko [Wed, 17 Jul 2019 16:03:31 +0000 (18:03 +0200)]
Amend e9c0d48d

Forgotten to commit lyx_2_4.py

4 years agoAdd sans serif font series "Chivo"
Kornel Benko [Wed, 17 Jul 2019 16:02:22 +0000 (18:02 +0200)]
Add sans serif font series "Chivo"

4 years agohe.po: Fix string direction
Juergen Spitzmueller [Wed, 17 Jul 2019 04:37:51 +0000 (06:37 +0200)]
he.po: Fix string direction

Patch by Guy Rutenberg

Fixes: #11607
4 years agoCmake po-build: add missing entries
Kornel Benko [Tue, 16 Jul 2019 12:10:08 +0000 (14:10 +0200)]
Cmake po-build: add missing entries

4 years agoUpdate sk.po
Kornel Benko [Tue, 16 Jul 2019 12:09:35 +0000 (14:09 +0200)]
Update sk.po

4 years agotex2lyx: minor post-cleanup
Juergen Spitzmueller [Tue, 16 Jul 2019 08:58:27 +0000 (10:58 +0200)]
tex2lyx: minor post-cleanup

4 years agotex2lyx: cleanup font handling
Juergen Spitzmueller [Tue, 16 Jul 2019 08:32:24 +0000 (10:32 +0200)]
tex2lyx: cleanup font handling

4 years agoMerge branch 'master' of git.lyx.org:lyx
Juergen Spitzmueller [Tue, 16 Jul 2019 05:18:29 +0000 (07:18 +0200)]
Merge branch 'master' of git.lyx.org:lyx

4 years agoRemove layout_xxx icons
Jean-Marc Lasgouttes [Mon, 15 Jul 2019 21:48:15 +0000 (23:48 +0200)]
Remove layout_xxx icons

These have been superceded by lyx-toggle_xxx icons.

Part of bug #9864.

4 years agoImprove description of smallmatrix
Jean-Marc Lasgouttes [Mon, 15 Jul 2019 21:31:22 +0000 (23:31 +0200)]
Improve description of smallmatrix

I did not notice there was already something about it.

4 years agoFix wrong output of po statistics script.
Günter Milde [Mon, 15 Jul 2019 21:32:22 +0000 (23:32 +0200)]
Fix wrong output of po statistics script.

4 years agoMerge branch 'master' of git.lyx.org:lyx
Juergen Spitzmueller [Mon, 15 Jul 2019 16:23:04 +0000 (18:23 +0200)]
Merge branch 'master' of git.lyx.org:lyx

4 years agoFix encoding issues with configuration under Python 3.
Günter Milde [Mon, 15 Jul 2019 16:08:09 +0000 (18:08 +0200)]
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.

4 years agoMake po statistics script work with Python 3.
Günter Milde [Mon, 15 Jul 2019 16:07:22 +0000 (18:07 +0200)]
Make po statistics script work with Python 3.

4 years agode.po
Juergen Spitzmueller [Mon, 15 Jul 2019 13:55:49 +0000 (15:55 +0200)]
de.po

4 years agoRename README.Cygwin as INSTALL.Cygwin
Enrico Forestieri [Mon, 15 Jul 2019 13:52:27 +0000 (15:52 +0200)]
Rename README.Cygwin as INSTALL.Cygwin

4 years agoUpdate README.Cygwin
Enrico Forestieri [Mon, 15 Jul 2019 13:48:28 +0000 (15:48 +0200)]
Update README.Cygwin

4 years agoDocument smallmatrix (with change tracking)
Jean-Marc Lasgouttes [Mon, 15 Jul 2019 12:16:44 +0000 (14:16 +0200)]
Document smallmatrix (with change tracking)

4 years agotex2lyx: support for Fira fonts
Juergen Spitzmueller [Mon, 15 Jul 2019 12:03:08 +0000 (14:03 +0200)]
tex2lyx: support for Fira fonts

4 years agoAdd support for amsmath's smallmatrix
Jean-Marc Lasgouttes [Mon, 15 Jul 2019 11:36:28 +0000 (13:36 +0200)]
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.

4 years agoAdd support for the Fira family of fonts
Juergen Spitzmueller [Mon, 15 Jul 2019 11:29:09 +0000 (13:29 +0200)]
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.

4 years agoUpdate sk.po
Kornel Benko [Mon, 15 Jul 2019 11:21:24 +0000 (13:21 +0200)]
Update sk.po

4 years agoFixup ee0bd36a86: only clear margins when needed
Jean-Marc Lasgouttes [Mon, 15 Jul 2019 11:02:05 +0000 (13:02 +0200)]
Fixup ee0bd36a86: only clear margins when needed

The old code would erase text around inline math.

Related to #11333.

4 years agoRemove another unneeded AltFont
Juergen Spitzmueller [Mon, 15 Jul 2019 10:51:09 +0000 (12:51 +0200)]
Remove another unneeded AltFont

4 years agoPut font series in parentheses
Juergen Spitzmueller [Mon, 15 Jul 2019 10:49:29 +0000 (12:49 +0200)]
Put font series in parentheses

This is how we've done it until these new fonts have been added

4 years agoAdd support for cantarell font
Kornel Benko [Mon, 15 Jul 2019 10:43:32 +0000 (12:43 +0200)]
Add support for cantarell font

4 years agolyx2lyx: Support conversion of fonts from preamble with extra opts
Juergen Spitzmueller [Mon, 15 Jul 2019 08:34:19 +0000 (10:34 +0200)]
lyx2lyx: Support conversion of fonts from preamble with extra opts

4 years agoAdd missing FORMAT entry
Juergen Spitzmueller [Mon, 15 Jul 2019 06:25:06 +0000 (08:25 +0200)]
Add missing FORMAT entry

4 years agoUpdate tex2lyx tests
Juergen Spitzmueller [Mon, 15 Jul 2019 06:23:42 +0000 (08:23 +0200)]
Update tex2lyx tests

4 years agotex2lyx: support cantarell font
Juergen Spitzmueller [Mon, 15 Jul 2019 06:10:47 +0000 (08:10 +0200)]
tex2lyx: support cantarell font

4 years agoRemove unneeded AltFont
Juergen Spitzmueller [Mon, 15 Jul 2019 06:02:11 +0000 (08:02 +0200)]
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).

4 years agoFix cantarell conversion
Juergen Spitzmueller [Mon, 15 Jul 2019 05:11:43 +0000 (07:11 +0200)]
Fix cantarell conversion

4 years agoFix copy/paste error
Juergen Spitzmueller [Mon, 15 Jul 2019 05:11:27 +0000 (07:11 +0200)]
Fix copy/paste error

4 years agoFix cantarell reversion
Juergen Spitzmueller [Mon, 15 Jul 2019 04:34:28 +0000 (06:34 +0200)]
Fix cantarell reversion

conversion still needs work

4 years agoWhen pasting several cells in mathed, take cursor position in account
Jean-Marc Lasgouttes [Sun, 14 Jul 2019 23:17:28 +0000 (01:17 +0200)]
When pasting several cells in mathed, take cursor position in account

Related to bug #11390

4 years agolayouttranslation: this part slipped in without intention
Pavel Sanda [Sun, 14 Jul 2019 22:35:26 +0000 (00:35 +0200)]
layouttranslation: this part slipped in without intention

4 years agoAdd empty rows to grid insets when numbers are too wide
Jean-Marc Lasgouttes [Sun, 14 Jul 2019 19:04:45 +0000 (21:04 +0200)]
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

4 years agoDraw display math numbering outside of inset
Jean-Marc Lasgouttes [Tue, 2 Apr 2019 09:05:19 +0000 (11:05 +0200)]
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

4 years agoFix assertion in caret display code
Jean-Marc Lasgouttes [Sun, 14 Jul 2019 21:20:29 +0000 (23:20 +0200)]
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.

4 years agonl reviewed by Niko.
Pavel Sanda [Sun, 14 Jul 2019 21:22:38 +0000 (23:22 +0200)]
nl reviewed by Niko.

4 years agolayouttranslation reviewed for nl by Niko
Pavel Sanda [Sun, 14 Jul 2019 21:21:02 +0000 (23:21 +0200)]
layouttranslation reviewed for nl by Niko

4 years agoAdd sans serif font "cantarell"
Kornel Benko [Sun, 14 Jul 2019 19:44:58 +0000 (21:44 +0200)]
Add sans serif font "cantarell"

4 years agoMake some InsetMathGrid members private
Jean-Marc Lasgouttes [Sun, 14 Jul 2019 15:18:56 +0000 (17:18 +0200)]
Make some InsetMathGrid members private

Also remove the trailing underscore of XXXInfo members, since they are
not private in essence.

No intended behavior change.

4 years agotex2lyx: support all MoreOpts
Juergen Spitzmueller [Sun, 14 Jul 2019 13:29:18 +0000 (15:29 +0200)]
tex2lyx: support all MoreOpts

4 years agoHandle remaining TeX fonts wrt MoreOptions
Juergen Spitzmueller [Sun, 14 Jul 2019 13:08:01 +0000 (15:08 +0200)]
Handle remaining TeX fonts wrt MoreOptions

Closes #11615

4 years agoReplace MathData::kerning_ member by a function
Jean-Marc Lasgouttes [Sun, 14 Jul 2019 12:42:37 +0000 (14:42 +0200)]
Replace MathData::kerning_ member by a function

This allows to make kerning depend on the BufferView? This is not
useful right now, but may become useful for multimonotor setting with
different dpi.

4 years agoUpdate sk.po
Kornel Benko [Sun, 14 Jul 2019 11:58:46 +0000 (13:58 +0200)]
Update sk.po

4 years agolatexfonts: add comment.
Juergen Spitzmueller [Sun, 14 Jul 2019 10:08:53 +0000 (12:08 +0200)]
latexfonts: add comment.

4 years agoRemove debug code
Juergen Spitzmueller [Sun, 14 Jul 2019 10:04:53 +0000 (12:04 +0200)]
Remove debug code

4 years agode.po
Juergen Spitzmueller [Sun, 14 Jul 2019 10:03:32 +0000 (12:03 +0200)]
de.po

4 years agoupdate tex2lyx tests
Juergen Spitzmueller [Sun, 14 Jul 2019 09:45:11 +0000 (11:45 +0200)]
update tex2lyx tests

4 years agoSplit osf options to families
Juergen Spitzmueller [Sun, 14 Jul 2019 09:41:36 +0000 (11:41 +0200)]
Split osf options to families

Nowadays we support sf and tt fonts with osf options, so this needs to
be selectable separately.

File format change.

4 years agoRemove cantarellMS font
Juergen Spitzmueller [Sun, 14 Jul 2019 09:31:43 +0000 (11:31 +0200)]
Remove cantarellMS font

This seems to have slipped in by accident at [6ca8238cb8a/lyxgit]

The necessary file format change etc. was not done.

4 years agoCmake build: Correct display cmake options
Kornel Benko [Sun, 14 Jul 2019 09:12:55 +0000 (11:12 +0200)]
Cmake build: Correct display cmake options

The change allows to display options whose string-length
is less than 10 characters.
The previous setting truncated the string to 4 chars,
which is too few for a string like e.g. "NATIVE".

4 years agoCorrect description
Kornel Benko [Sun, 14 Jul 2019 08:46:51 +0000 (10:46 +0200)]
Correct description

The call to cmake creates new CMakeCache.txt in the build directory.
But this is bad, if we only want to see available options.

4 years agotex2lyx: lineno support
Juergen Spitzmueller [Sun, 14 Jul 2019 07:41:17 +0000 (09:41 +0200)]
tex2lyx: lineno support

4 years agoMore osf (texfont) fixes
Juergen Spitzmueller [Sun, 14 Jul 2019 07:09:46 +0000 (09:09 +0200)]
More osf (texfont) fixes

4 years agoCmake build: Remove overwritten option
Kornel Benko [Sat, 13 Jul 2019 21:56:38 +0000 (23:56 +0200)]
Cmake build: Remove overwritten option

4 years agoAdapt INSTALL.cmake to qt5 and lyx2.4
Kornel Benko [Sat, 13 Jul 2019 21:55:38 +0000 (23:55 +0200)]
Adapt INSTALL.cmake to qt5 and lyx2.4

4 years agoUpdate some files
Jean-Marc Lasgouttes [Sat, 13 Jul 2019 19:11:46 +0000 (21:11 +0200)]
Update some files

4 years agoLet automake create the tar.xz archive
Jean-Marc Lasgouttes [Sat, 13 Jul 2019 16:58:36 +0000 (18:58 +0200)]
Let automake create the tar.xz archive

We require automake 1.14 these days, and it can do it by itself.

4 years agoBring back accidentally removed option
Juergen Spitzmueller [Sat, 13 Jul 2019 16:24:07 +0000 (18:24 +0200)]
Bring back accidentally removed option

4 years agotex2lyx: extend support for some osf fonts.
Juergen Spitzmueller [Sat, 13 Jul 2019 15:46:43 +0000 (17:46 +0200)]
tex2lyx: extend support for some osf fonts.

4 years agoProperly handle osf in noto and adobe source fonts
Juergen Spitzmueller [Sat, 13 Jul 2019 15:03:25 +0000 (17:03 +0200)]
Properly handle osf in noto and adobe source fonts

4 years agoUse backing store also with wayland platform
Jean-Marc Lasgouttes [Sat, 13 Jul 2019 14:21:37 +0000 (16:21 +0200)]
Use backing store also with wayland platform

Like with macOS, the Wayland compositor seems to require a
backingstore when doing partial updates like we do.

This extends the mechanism that has been introduced for macOS. This
has to be done at run time, not compile time.

4 years agotex2lyx support for MoreOptions in IBM Plex and Noto, support Adobe Source fonts...
Juergen Spitzmueller [Sat, 13 Jul 2019 13:44:52 +0000 (15:44 +0200)]
tex2lyx support for MoreOptions in IBM Plex and Noto, support Adobe Source fonts at all

4 years agoMore MoreOpts fixes
Juergen Spitzmueller [Sat, 13 Jul 2019 13:33:20 +0000 (15:33 +0200)]
More MoreOpts fixes

4 years agoSupport MoreOptions for IBM Plex, Noto, and Adobe Source fonts
Juergen Spitzmueller [Sat, 13 Jul 2019 12:55:59 +0000 (14:55 +0200)]
Support MoreOptions for IBM Plex, Noto, and Adobe Source fonts

4 years agoConsider CompleteFont with MoreOptions
Juergen Spitzmueller [Sat, 13 Jul 2019 12:55:07 +0000 (14:55 +0200)]
Consider CompleteFont with MoreOptions

4 years agorecode file in utf8
Juergen Spitzmueller [Sat, 13 Jul 2019 10:08:41 +0000 (12:08 +0200)]
recode file in utf8

4 years agoRussian doc updates by Yuriy
Juergen Spitzmueller [Sat, 13 Jul 2019 07:50:48 +0000 (09:50 +0200)]
Russian doc updates by Yuriy

4 years agonl.po: update by Niko
Juergen Spitzmueller [Sat, 13 Jul 2019 07:46:33 +0000 (09:46 +0200)]
nl.po: update by Niko

4 years agoRemove broken information about loaded hyphenation patterns and add FIXME
Juergen Spitzmueller [Sat, 13 Jul 2019 07:42:04 +0000 (09:42 +0200)]
Remove broken information about loaded hyphenation patterns and add FIXME

4 years agoMinor doc updates.
Juergen Spitzmueller [Sat, 13 Jul 2019 06:51:14 +0000 (08:51 +0200)]
Minor doc updates.

4 years agoUse \babelfonts only if babel >= 3.15 is available.
Juergen Spitzmueller [Sat, 13 Jul 2019 06:42:42 +0000 (08:42 +0200)]
Use \babelfonts only if babel >= 3.15 is available.

4 years agoCatch improbable exception
Jean-Marc Lasgouttes [Fri, 12 Jul 2019 22:24:21 +0000 (00:24 +0200)]
Catch improbable exception

We know that the exception is correct, but coverity does not.
It would be much better to check that at compile time...

4 years agoCheck regex_match result when parsing cvslog
Jean-Marc Lasgouttes [Fri, 12 Jul 2019 22:10:32 +0000 (00:10 +0200)]
Check regex_match result when parsing cvslog

Spotted by coverity.

4 years agoUpdate release notes, correct comment.
Günter Milde [Fri, 12 Jul 2019 18:30:22 +0000 (20:30 +0200)]
Update release notes, correct comment.

4 years agode.po
Juergen Spitzmueller [Fri, 12 Jul 2019 14:00:42 +0000 (16:00 +0200)]
de.po

4 years agoUpdate sk.po
Kornel Benko [Fri, 12 Jul 2019 11:58:27 +0000 (13:58 +0200)]
Update sk.po

4 years agoSimplify regexes for combinations XeTeX + TeX fonts
Kornel Benko [Fri, 12 Jul 2019 11:16:53 +0000 (13:16 +0200)]
Simplify regexes for combinations XeTeX + TeX fonts

4 years agoUpdate unicodesymbols test to include Capital Schwa.
Günter Milde [Fri, 12 Jul 2019 10:55:08 +0000 (12:55 +0200)]
Update unicodesymbols test to include Capital Schwa.