[LyX/2.3.x] Try to use the right width for math symbols

2020-09-08 Thread Enrico Forestieri
commit 34f33b27a36ec3e7298546588768747802f99fcc Author: Enrico Forestieri Date: Wed Sep 9 01:25:12 2020 +0200 Try to use the right width for math symbols The rules for typesetting math differ from the rules for typesetting text. For example, two italic 'f' chars have

[LyX/master] Avoid spurious requirements

2020-09-08 Thread Enrico Forestieri
commit fcd14df2306e0ee33c525da7997446c30c8dacd2 Author: Enrico Forestieri Date: Wed Sep 9 01:32:51 2020 +0200 Avoid spurious requirements The macros defined in the symbols file are only used for on-screen representation, so that their definition should not require the use

[LyX/master] Try to use the right width for math symbols

2020-09-08 Thread Enrico Forestieri
commit 0762b52334d8a455a8c2ed08f5cc6ce6d67a35d9 Author: Enrico Forestieri Date: Tue Sep 8 22:30:02 2020 +0200 Try to use the right width for math symbols The rules for typesetting math differ from the rules for typesetting text. For example, two italic 'f' chars have

[LyX/master] Amend f96b99dc

2020-08-28 Thread Enrico Forestieri
commit 8a826918de697e139a477867f6fccfc07ab500e7 Author: Enrico Forestieri Date: Fri Aug 28 17:39:01 2020 +0200 Amend f96b99dc --- lib/symbols | 12 ++-- 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/lib/symbols b/lib/symbols index 1fa4f69..31491dc 100644

[LyX/master] Use correct width for \fint

2020-08-29 Thread Enrico Forestieri
commit 80f94a9398ef1843d2592e87bd71d1cd2b40703c Author: Enrico Forestieri Date: Sat Aug 29 20:10:26 2020 +0200 Use correct width for \fint Both QTextLine::naturalTextWidth() and QTextLine::horizontalAdvance() return the same value for \fint. However, examining esint10.ttf

[LyX/master] Do not correct clipping bounding box for vector formats

2020-09-25 Thread Enrico Forestieri
commit 9b1763cd42e0fa65df716e0f4ca9dc7dd5d49c9c Author: Enrico Forestieri Date: Fri Sep 25 12:01:57 2020 +0200 Do not correct clipping bounding box for vector formats This amends 380f34a1 that only took into account the postscript format. --- src/insets/InsetGraphics.cpp |2

[LyX/master] Correct comment

2020-09-25 Thread Enrico Forestieri
commit a8572c1358d5d2e66612e9f44329a6ffd33516a6 Author: Enrico Forestieri Date: Fri Sep 25 12:11:10 2020 +0200 Correct comment --- src/insets/InsetGraphics.cpp |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/insets/InsetGraphics.cpp b/src/insets

[LyX/master] Use correct bounding box when exporting from command line

2020-09-25 Thread Enrico Forestieri
commit f0807a604cf177da385867a684143782eb9921d8 Author: Enrico Forestieri Date: Fri Sep 25 20:58:40 2020 +0200 Use correct bounding box when exporting from command line Without GUI an image is not available even if it is actually cached. In this case we load the image

[LyX/2.3.x] Fix clipping for vector formats and when exporting from command line

2020-09-25 Thread Enrico Forestieri
commit b561dfaf2ef73dff89f2c47c78ca68a533b49a4a Author: Enrico Forestieri Date: Fri Sep 25 21:25:40 2020 +0200 Fix clipping for vector formats and when exporting from command line This amends ea81faa9 that only took into account the postscript format and did not consider

[LyX/master] Update it.po

2020-09-30 Thread Enrico Forestieri
commit 64f001e6cd58f8bbcfa5fec30009c4bb0e0df898 Author: Enrico Forestieri Date: Wed Sep 30 22:16:07 2020 +0200 Update it.po po/it.gmo | Bin 597108 -> 597571 bytes po/it.po | 4476 ++--- 2 files changed, 2228 insertions(+), 2

[LyX/2.3.x] Update it.po

2020-09-18 Thread Enrico Forestieri
commit 4790f1a728dce99939801073bf1999ca49dc12e0 Author: Enrico Forestieri Date: Fri Sep 18 23:51:36 2020 +0200 Update it.po po/it.gmo | Bin 536176 -> 537660 bytes po/it.po | 1302 +++-- 2 files changed, 584 insertions(+),

[LyX/master] Fix the layout2layout script

2020-09-28 Thread Enrico Forestieri
commit 77f9858388f5ca1980de8fcb2789c430995337b4 Author: Enrico Forestieri Date: Mon Sep 28 22:29:28 2020 +0200 Fix the layout2layout script It was not correctly updated at dab71087, ad18c194, and 6998e764. --- lib/scripts/layout2layout.py |5 + 1 files changed, 5

[LyX/master] Update layouts

2020-09-28 Thread Enrico Forestieri
commit 35c0783bd30442ec42dae2314bfc35d3dd668fcf Author: Enrico Forestieri Date: Mon Sep 28 22:32:30 2020 +0200 Update layouts lib/citeengines/basic.citeengine |2 +- lib/citeengines/biblatex-natbib.citeengine |2 +- lib/citeengines/biblatex.citeengine

[LyX/master] Fix compilation on cygwin

2020-10-23 Thread Enrico Forestieri
commit d2d33a6a1f236d910e17dbcac12ced16c721e247 Author: Enrico Forestieri Date: Fri Oct 23 14:59:54 2020 +0200 Fix compilation on cygwin --- src/BiblioInfo.h |2 +- src/Counters.h |2 +- src/Encoding.h |2 +- src/Language.h |2 +- 4 files changed, 4 insertions(+), 4

[LyX/master] Update it.po

2020-10-24 Thread Enrico Forestieri
commit 6bf0578e6e3b08ee9570ffd8bb2230d5dfd19dd6 Author: Enrico Forestieri Date: Sat Oct 24 18:42:15 2020 +0200 Update it.po po/it.gmo | Bin 597571 -> 598256 bytes po/it.po | 4032 +++-- 2 files changed, 2030 insertions(+), 2

[LyX/2.3.x] Update it.po

2020-10-24 Thread Enrico Forestieri
commit d3d00723f0ff57d00312835a7b0b724a38851558 Author: Enrico Forestieri Date: Sat Oct 24 19:14:24 2020 +0200 Update it.po --- po/it.gmo | Bin 537660 -> 537655 bytes po/it.po | 45 - 2 files changed, 24 insertions(+), 21 deletions(-) d

[LyX/2.3.x] Correctly compute metrics for single-char non-math fonts

2020-08-06 Thread Enrico Forestieri
commit a85bd343480007cf9d8023bd68a79e97a9233d58 Author: Enrico Forestieri Date: Thu Aug 6 19:10:23 2020 +0200 Correctly compute metrics for single-char non-math fonts No status entry needed, as this amends 79998fdc. --- src/frontends/qt4/GuiFontMetrics.cpp |2 +- 1 files

[LyX/master] Switch font for multipar insets

2020-08-12 Thread Enrico Forestieri
commit f5672a4843eb6b85e61167d0ebd338234346c246 Author: Enrico Forestieri Date: Wed Aug 12 16:25:35 2020 +0200 Switch font for multipar insets Use font switches for insets that allow paragraph breaks rather than insets that do not inherit outer font settings. No change

[LyX/master] Fix bug #10263

2020-08-12 Thread Enrico Forestieri
commit 001f5a47861f04c985323677dfd17ef15b8c33a7 Author: Enrico Forestieri Date: Wed Aug 12 16:35:12 2020 +0200 Fix bug #10263 --- src/insets/InsetFoot.h |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/src/insets/InsetFoot.h b/src/insets/InsetFoot.h index

[LyX/master] layouttranslations: nothing to do for it

2020-08-02 Thread Enrico Forestieri
commit 6d35db73fb493c84e8b45daa429d3cd624852caa Author: Enrico Forestieri Date: Sun Aug 2 19:10:03 2020 +0200 layouttranslations: nothing to do for it --- lib/layouttranslations.review |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/lib/layouttranslations.review

[LyX/master] Update it.po

2020-08-02 Thread Enrico Forestieri
commit 7ee1e22949c840483c50b701f12011e6b8439cc3 Author: Enrico Forestieri Date: Sun Aug 2 19:07:43 2020 +0200 Update it.po po/it.gmo | Bin 598841 -> 597108 bytes po/it.po | 1536 2 files changed, 717 insertions(+),

[LyX/master] Assure correct spacing of colored items in mathed

2020-08-02 Thread Enrico Forestieri
commit 7441172d4d9a26eb4824bb8bee003f457ef34f1c Author: Enrico Forestieri Date: Sun Aug 2 18:58:40 2020 +0200 Assure correct spacing of colored items in mathed When coloring a non-ordinary math atom, explicitly apply its math class, so that to leave unchanged the spacing

[LyX/master] Correctly compute metrics for single-char non-math fonts

2020-08-06 Thread Enrico Forestieri
commit 582296d79a143d918f30c14971c428d830f3752d Author: Enrico Forestieri Date: Thu Aug 6 15:34:54 2020 +0200 Correctly compute metrics for single-char non-math fonts As evidenced by the comment, this corrects a thinko. --- src/frontends/qt/GuiFontMetrics.cpp |2 +- 1 files

[LyX/master] Fix compilation on platforms where sizeof(wchar_t) == 2.

2020-07-11 Thread Enrico Forestieri
commit da336cedf3c7a45a9f6ae352d4ffa751ca6aa221 Author: Enrico Forestieri Date: Sat Jul 11 16:19:21 2020 +0200 Fix compilation on platforms where sizeof(wchar_t) == 2. Use "set" instead of "unordered_set" as some facets are missing when using gcc on cygwin,

[LyX/master] Add new icon

2020-06-17 Thread Enrico Forestieri
commit 36e615451528b946bc5c189822fc8665a8990db2 Author: Enrico Forestieri Date: Wed Jun 17 19:29:26 2020 +0200 Add new icon This icon has been produced using lyx_doc.svg and contains 3 different sizes (32x32, 64x64, 256x256) instead of only one. --- development/Win32

[LyX/master] Use the same icon as in the cmake build

2020-06-17 Thread Enrico Forestieri
commit 70ccf9f243ea4020bcd392c25af31be90ac7d341 Author: Enrico Forestieri Date: Wed Jun 17 19:52:27 2020 +0200 Use the same icon as in the cmake build --- development/Makefile.am |1 + src/Makefile.am |3 ++- src/lyxwinres.rc|4 ++-- 3 files changed, 5

[LyX/master] Update copyright notice

2020-06-16 Thread Enrico Forestieri
commit ddcbfb77bf31cfcc93185075fd684d03fa422b46 Author: Enrico Forestieri Date: Tue Jun 16 21:22:42 2020 +0200 Update copyright notice --- src/lyxwinres.rc |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/lyxwinres.rc b/src/lyxwinres.rc index 96d68e3..b09b74a

[LyX/master] Add support for the doublestroke package

2020-06-11 Thread Enrico Forestieri
commit 5a80f7bb6a023dc8e89bf61f7f0803d6999f1f27 Author: Enrico Forestieri Date: Thu Jun 11 16:42:31 2020 +0200 Add support for the doublestroke package This commit adds the mathed command \mathds that selects a font more appropriate than \mathbb for typesetting

[LyX/master] Amend 5a80f7bb

2020-06-11 Thread Enrico Forestieri
commit 6f6d985b9e5823260d8a51129a0dfb12a00cebb5 Author: Enrico Forestieri Date: Thu Jun 11 17:43:44 2020 +0200 Amend 5a80f7bb Was forgetting this. --- lib/Makefile.am |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/lib/Makefile.am b/lib/Makefile.am index

[LyX/master] MathML: generate only a mathvariant for double-struck font, no redundant class

2020-06-11 Thread Enrico Forestieri
commit c8d0492194c99c4ed53c389a59078b2b2a4d7c15 Author: Thibaut Cuvelier Date: Thu Jun 11 21:25:22 2020 +0200 MathML: generate only a mathvariant for double-struck font, no redundant class --- src/mathed/InsetMathFont.cpp | 16 +--- 1 files changed, 5 insertions(+), 11

[LyX/master] Amend 5a80f7bb

2020-06-12 Thread Enrico Forestieri
commit 85ac309eed0ec274bc83824d04e86f72a71292bf Author: Enrico Forestieri Date: Fri Jun 12 11:50:58 2020 +0200 Amend 5a80f7bb Was missing these. --- src/Font.cpp |2 +- src/FontInfo.cpp |4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src

[LyX/master] Document the doublestroke package

2020-06-12 Thread Enrico Forestieri
commit 0e30594eba22aa70a0843b91df990ed670071e74 Author: Enrico Forestieri Date: Fri Jun 12 13:03:01 2020 +0200 Document the doublestroke package --- lib/doc/LaTeXConfig.lyx | 82 +- 1 files changed, 80 insertions(+), 2 deletions(-) diff --git

[LyX/2.3.x] Add support for the doublestroke package

2020-06-12 Thread Enrico Forestieri
commit 10e1f9088301bf50c34744803bf50e24745136e2 Author: Enrico Forestieri Date: Fri Jun 12 23:58:32 2020 +0200 Add support for the doublestroke package This commit adds the mathed command \mathds that selects a font more appropriate than \mathbb for typesetting

[LyX/master] Correctly display \dag and \ddag in mathed

2020-06-13 Thread Enrico Forestieri
commit 57272e837b148975817440bdc6a66b9935fa00a3 Author: Enrico Forestieri Date: Sat Jun 13 16:42:25 2020 +0200 Correctly display \dag and \ddag in mathed They are synonyms for \dagger and \ddagger and are used in Sect. 13.1 of the math manual. --- lib/symbols |3 +++ 1

[LyX/master] Add mathds to math type table

2020-06-13 Thread Enrico Forestieri
commit d28e6b00cc9bf1618623d89d9a0f1488b3d58ea5 Author: Enrico Forestieri Date: Sat Jun 13 15:45:36 2020 +0200 Add mathds to math type table --- lib/doc/UserGuide.lyx | 44 +--- 1 files changed, 37 insertions(+), 7 deletions(-) diff --git a/lib

[LyX/2.3.x] Add mathscr and mathds to math type table

2020-06-13 Thread Enrico Forestieri
commit 733aa07d638b4b93a627a1822ee4ca0281bb998e Author: Enrico Forestieri Date: Sat Jun 13 16:00:09 2020 +0200 Add mathscr and mathds to math type table --- lib/doc/UserGuide.lyx | 69 - 1 files changed, 68 insertions(+), 1 deletions

[LyX/master] Fix placement of limits with integral signs

2020-07-24 Thread Enrico Forestieri
commit 0b3e69167cb0eab323e4fe430c5d75fff9c45f3d Author: Enrico Forestieri Date: Fri Jul 24 12:32:24 2020 +0200 Fix placement of limits with integral signs Since be836909c52 the positioning of super- and subscripts for symbol fonts has been broken because the metrics

[LyX/master] Fix typos in lib/symbols

2020-07-24 Thread Enrico Forestieri
commit 585da1de4a0e68ba027c1d484b5d67dc2269870e Author: Enrico Forestieri Date: Fri Jul 24 12:57:00 2020 +0200 Fix typos in lib/symbols This amends e8ee0100 and f96b99dc. --- lib/symbols |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/symbols b

[LyX/master] Update layouts

2020-07-24 Thread Enrico Forestieri
commit 1e2885fe81a71f1b6d983d0517a1d77de5943803 Author: Enrico Forestieri Date: Fri Jul 24 18:50:53 2020 +0200 Update layouts lib/citeengines/basic.citeengine |2 +- lib/citeengines/biblatex-natbib.citeengine |2 +- lib/citeengines/biblatex.citeengine

[LyX/2.3.x] Fix placement of limits with integral signs

2020-07-24 Thread Enrico Forestieri
commit 79998fdc62432c26f97707becd49511d05a87939 Author: Enrico Forestieri Date: Fri Jul 24 19:09:17 2020 +0200 Fix placement of limits with integral signs Since be836909c52 the positioning of super- and subscripts for symbol fonts has been broken because the metrics

[LyX/master] Correctly set font decorations for multipar insets

2020-08-14 Thread Enrico Forestieri
commit 5791b8bff8650be1ce0a3ee142e131fbc8de8587 Author: Enrico Forestieri Date: Fri Aug 14 12:04:23 2020 +0200 Correctly set font decorations for multipar insets Font decorations such as underline cannot be set for a whole inset that allows paragraph breaks. This commit allows

[LyX/master] Revert "Correctly set font decorations for multipar insets"

2020-08-14 Thread Enrico Forestieri
commit 836300cd33cec51c26d715f01529f31e495fb156 Author: Enrico Forestieri Date: Fri Aug 14 18:01:26 2020 +0200 Revert "Correctly set font decorations for multipar insets" This reverts commit 5791b8bff8650be1ce0a3ee142e131fbc8de8587. --- src/Font.cpp

[LyX/master] Correctly terminate a user math macro in certain circumstances

2021-01-06 Thread Enrico Forestieri
commit fece5d4f376393bd7bcf15393d8f04420053e7c1 Author: Enrico Forestieri Date: Thu Jan 7 00:57:36 2021 +0100 Correctly terminate a user math macro in certain circumstances If a macro has only optionals and none is specified and a [ immediately follows, we have to terminate

[LyX/master] Fix compilation on cygwin

2020-11-30 Thread Enrico Forestieri
commit 0d204c4e87d684fd45e6b4aaabef74889b3471a8 Author: Enrico Forestieri Date: Mon Nov 30 11:32:35 2020 +0100 Fix compilation on cygwin --- src/LaTeXFeatures.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/LaTeXFeatures.h b/src/LaTeXFeatures.h index

[LyX/master] Typo

2020-12-07 Thread Enrico Forestieri
commit 5be2e3c7341af94dda30ee2faf9562a4c824e206 Author: Enrico Forestieri Date: Mon Dec 7 22:32:36 2020 +0100 Typo --- lib/examples/it/Welcome.lyx |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/lib/examples/it/Welcome.lyx b/lib/examples/it/Welcome.lyx index

[LyX/2.3.x] Typo

2020-12-07 Thread Enrico Forestieri
commit 96a93134b3fe8f65499a32c38fbab396ea47f9d2 Author: Enrico Forestieri Date: Mon Dec 7 22:48:27 2020 +0100 Typo --- lib/examples/it/splash.lyx |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/lib/examples/it/splash.lyx b/lib/examples/it/splash.lyx index 4e9525a

[LyX/2.3.x] Fix on-screen display of special math fonts

2020-10-30 Thread Enrico Forestieri
commit 21b81bfd1e620e0df38c3fabcba2413736df7c07 Author: Enrico Forestieri Date: Fri Oct 30 15:53:35 2020 +0100 Fix on-screen display of special math fonts Make sure that the on-screen representation of the special math fonts mathbb, mathds, mathfrak, mathcal, and mathscr

[LyX/master] Do not replace nonexistent environment variables

2021-01-04 Thread Enrico Forestieri
commit 2099dca5d3c7e65ba8e56a42d7841b39f53d7d16 Author: Enrico Forestieri Date: Mon Jan 4 23:00:42 2021 +0100 Do not replace nonexistent environment variables References to environment variables embedded in a filename are expanded and replaced by their value. However

[LyX/master] Make paste in ensuremath work as in simple math hulls

2021-01-05 Thread Enrico Forestieri
commit d85710d32e097955484011cbc6afd02f370b499f Author: Enrico Forestieri Date: Wed Jan 6 02:07:25 2021 +0100 Make paste in ensuremath work as in simple math hulls The ensuremath math inset derives from InsetMathNest, so that only the first cell of a grid gets pasted

[LyX/master] Update it.po

2021-01-26 Thread Enrico Forestieri
commit 30241d629964c26fdb8dbc0d0f1d00d07c49a816 Author: Enrico Forestieri Date: Tue Jan 26 11:11:51 2021 +0100 Update it.po po/it.gmo | Bin 597539 -> 600587 bytes po/it.po | 3686 +++-- 2 files changed, 1844 insertions(+), 1

[LyX/master] Allow pasting references to mathed

2021-01-29 Thread Enrico Forestieri
commit 22ee249c3ea6426dbf24956ae36986e3ee6f81c0 Author: Enrico Forestieri Date: Sat Jan 30 01:32:40 2021 +0100 Allow pasting references to mathed A reference can be directly inserted into mathed but cannot be pasted because the pasted material is returned in plain text format

[LyX/master] Make math decorations scalable with zoom level

2021-01-31 Thread Enrico Forestieri
commit 9f3920447e6752c4ddbe8c74c903c142fa45e589 Author: Enrico Forestieri Date: Mon Feb 1 02:53:00 2021 +0100 Make math decorations scalable with zoom level Fixes #11491 --- src/mathed/InsetMathDecoration.cpp | 17 +- src/mathed/MathSupport.cpp | 43

[LyX/2.3.x] Allow pasting references to mathed

2021-02-01 Thread Enrico Forestieri
commit 12f67ef154f1fd3c18df6e8e7af404df300cf87f Author: Enrico Forestieri Date: Sat Jan 30 01:32:40 2021 +0100 Allow pasting references to mathed A reference can be directly inserted into mathed but cannot be pasted because the pasted material is returned in plain text format

[LyX/2.3.x] Change backspace behavior in align type equations

2021-02-01 Thread Enrico Forestieri
commit 706db1ff2ed92631eaf6078b69b14cc3e0b8ebbe Author: Enrico Forestieri Date: Sun Jan 31 00:51:15 2021 +0100 Change backspace behavior in align type equations When hitting backspace in the first position of a cell in mathed, if the cell is part of an array, the whole array

[LyX/master] Improve appearance of dots at higher zoom levels

2021-02-01 Thread Enrico Forestieri
commit bc806084cdc2c1008bf222da63b7fc52570dc5c5 Author: Enrico Forestieri Date: Mon Feb 1 20:02:37 2021 +0100 Improve appearance of dots at higher zoom levels Make \dot, \ddot and friends more round when increasing zoom Part of #11491 --- src/mathed/MathSupport.cpp

[LyX/master] Fix make check

2021-01-31 Thread Enrico Forestieri
commit 04c0cce43e255eaf1350ceddee2b03585310bfdc Author: Enrico Forestieri Date: Sun Jan 31 15:21:23 2021 +0100 Fix make check We have to explicitly link zlib after [197ea636/lyxgit]. --- src/support/Makefile.am |8 1 files changed, 4 insertions(+), 4 deletions

[LyX/master] Change backspace behavior in align type equations

2021-01-30 Thread Enrico Forestieri
commit c79ec4114e419ae8f4711c4c07ab0df19dafaaa3 Author: Enrico Forestieri Date: Sun Jan 31 00:51:15 2021 +0100 Change backspace behavior in align type equations When hitting backspace in the first position of a cell in mathed, if the cell is part of an array, the whole array

[LyX/master] Avoid deprecation warnings

2021-01-29 Thread Enrico Forestieri
commit 070270fdc719edcd0ae49a182acf58583038a765 Author: Enrico Forestieri Date: Fri Jan 29 13:12:29 2021 +0100 Avoid deprecation warnings In Qt 5.15 many deprecation warnings are issued, presumably for helping the port to Qt 6. They are really a load but can be shuten up

[LyX/master] Update it.po

2021-01-29 Thread Enrico Forestieri
commit 11c1a327339eca28d0885de862d6dcb9cfd27dce Author: Enrico Forestieri Date: Fri Jan 29 12:29:36 2021 +0100 Update it.po po/it.gmo | Bin 600247 -> 600672 bytes po/it.po | 1155 2 files changed, 539 insertions(+),

[LyX/master] Amend [bc806084/lyxgit]

2021-02-03 Thread Enrico Forestieri
commit b475cf87076ef354768361e6827cbe2bf61830f9 Author: Enrico Forestieri Date: Wed Feb 3 11:45:52 2021 +0100 Amend [bc806084/lyxgit] Rise a bit \dot, \ddots & co., as with some fonts they might be drawn too close to the symbol they decorate. --- src/mathed/MathSupport

[LyX/master] Improve alignment of math decorations

2021-02-02 Thread Enrico Forestieri
commit d999d8e8d951642278602195ace199118c6292dd Author: Enrico Forestieri Date: Tue Feb 2 19:39:52 2021 +0100 Improve alignment of math decorations This patch takes into account the skewness of a character for properly align a decoration. Unfortunately, the required amount

[LyX/master] Fix configure with Qt 6.1

2021-06-15 Thread Enrico Forestieri
commit f60b23cbc11f92eba7b14d371bcb2625a0fda998 Author: Enrico Forestieri Date: Tue Jun 15 11:40:27 2021 +0200 Fix configure with Qt 6.1 Since Qt 6.1 the moc, rcc, and uic compilers are not installed in the bin dir anymore. We ask qmake for their location and record them

[LyX/master] Avoid double superscript errors

2021-02-04 Thread Enrico Forestieri
commit 5ed01cd6167233e0926d02cdab862dc12873c9b2 Author: Enrico Forestieri Date: Fri Feb 5 01:03:09 2021 +0100 Avoid double superscript errors Fixes #1633 --- src/mathed/InsetMathScript.cpp |7 +-- 1 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/mathed

[LyX/master] Add support for \bigtimes

2021-02-04 Thread Enrico Forestieri
commit c1e38c4f6ceb973f3ca66a2fb9cbd8382d23968d Author: Enrico Forestieri Date: Thu Feb 4 23:20:01 2021 +0100 Add support for \bigtimes Fixes #11223 --- lib/symbols |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/lib/symbols b/lib/symbols index 31491dc

[LyX/master] Tweak Qt6 detection

2021-03-27 Thread Enrico Forestieri
commit 779f0a74f03d3cbe8a048313b3ce391d219009f4 Author: Enrico Forestieri Date: Sat Mar 27 11:23:52 2021 +0100 Tweak Qt6 detection Don't try in turn every possible qmake candidate but directly use the correct one. --- config/qt.m4 | 26 +- 1 files

[LyX/master] Change cursor shape for clickable math insets

2021-04-01 Thread Enrico Forestieri
commit eeb36e808c9726fd3689926a3c20457e3b801341 Author: Enrico Forestieri Date: Thu Apr 1 16:59:55 2021 +0200 Change cursor shape for clickable math insets Currently, only InsetMathRef and InsetMathSpace are clickable. --- src/BufferView.cpp | 38

[LyX/master] Replace obsoleted signal

2021-04-01 Thread Enrico Forestieri
commit 570cd84ddc488130c86a2ac989f59f23455a8a2c Author: Enrico Forestieri Date: Thu Apr 1 20:31:11 2021 +0200 Replace obsoleted signal Since Qt 5.14 this signal is named textHighlighted. --- src/frontends/qt/GuiHSpace.cpp |5 + 1 files changed, 5 insertions(+), 0

[LyX/master] Replace obsoleted signal QComboBox::activated(QString)

2021-04-01 Thread Enrico Forestieri
commit 472953dbe14b9d0fad8f50e9ca80e114bf30b946 Author: Enrico Forestieri Date: Thu Apr 1 21:17:41 2021 +0200 Replace obsoleted signal QComboBox::activated(QString) Since Qt 5.14 this signal is named textActivated. --- src/frontends/qt/GuiPrefs.cpp | 34

[LyX/master] Do not dereference null pointer

2021-04-06 Thread Enrico Forestieri
commit 8ec32dc3f92b7de54fbd010f9b1c12179a241fcf Author: Enrico Forestieri Date: Wed Apr 7 00:15:12 2021 +0200 Do not dereference null pointer Part of #12226 --- src/frontends/qt/TocWidget.cpp |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/frontends

[LyX/master] Use font metrics for computing the size of math decorations

2021-04-03 Thread Enrico Forestieri
commit 7a6ad48495b920797da20fdc685152f3d744c2dd Author: Enrico Forestieri Date: Sat Apr 3 18:37:10 2021 +0200 Use font metrics for computing the size of math decorations It was an error using an absolute size instead of one relative to the size of the used font

[LyX/master] Fix copy error

2021-03-17 Thread Enrico Forestieri
commit 968be3f2096e0faaa3c1ffa676e062992be3f0a6 Author: Enrico Forestieri Date: Wed Mar 17 08:59:04 2021 +0100 Fix copy error --- src/frontends/qt/LaTeXHighlighter.cpp |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/frontends/qt/LaTeXHighlighter.cpp b/src

[LyX/master] Fix latex syntax highlighting with Qt6

2021-03-17 Thread Enrico Forestieri
commit 34ffa80c4c18963d3baa4c7680bd6009e7fb7eef Author: Enrico Forestieri Date: Wed Mar 17 10:17:10 2021 +0100 Fix latex syntax highlighting with Qt6 --- src/frontends/qt/LaTeXHighlighter.cpp | 28 ++-- 1 files changed, 14 insertions(+), 14 deletions(-) diff

[LyX/master] Improve Qt6 detection

2021-03-21 Thread Enrico Forestieri
commit 4b20ae9d591eb9a472cfe7fa7729c0e95a326206 Author: Enrico Forestieri Date: Sun Mar 21 11:28:11 2021 +0100 Improve Qt6 detection There is still no clear pattern of how distributions will install Qt6. The old scheme of adding a -qtN suffix is not followed by OpenSuse

[LyX/master] Fix Qt6 deprecation warning about QString::fromUcs4

2021-03-21 Thread Enrico Forestieri
commit 6fa973b3771ff9ff61d82ae3cbebad8442d30816 Author: Enrico Forestieri Date: Sun Mar 21 17:15:08 2021 +0100 Fix Qt6 deprecation warning about QString::fromUcs4 --- src/support/qstring_helpers.cpp |8 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/src

[LyX/master] Amend 635a7d77

2021-03-15 Thread Enrico Forestieri
commit 7cb2a10eb8dfc7b12b66351cf130397b3604afc1 Author: Enrico Forestieri Date: Mon Mar 15 18:35:58 2021 +0100 Amend 635a7d77 With a multiscreen setup and Qt6, make sure to get the geometry of the screen containing the widget. --- src/frontends/qt/IconPalette.cpp |3

[LyX/master] Allow compiling with Qt6

2021-03-15 Thread Enrico Forestieri
commit 635a7d77ddc94c63d52494dc4d68a930faccf45f Author: Enrico Forestieri Date: Mon Mar 15 17:09:09 2021 +0100 Allow compiling with Qt6 This commit allows compiling LyX with Qt6 when using autotools. For a successful compilation the following 2 conditions must be met

[LyX/master] Fix bug #11007

2021-02-28 Thread Enrico Forestieri
commit 52ce0ff49a0f9a5c33459428b2fdffa24febafce Author: Enrico Forestieri Date: Sun Feb 28 22:32:11 2021 +0100 Fix bug #11007 The math color inset inherits the mode of the containing inset. This mode is inferred by the kind of font in effect. Setting the right mode allows

[LyX/master] Amend c2facb8c

2021-03-01 Thread Enrico Forestieri
commit bb2c1c3485b0da4f2463c18caecc42975e8d8dfb Author: Enrico Forestieri Date: Mon Mar 1 10:08:08 2021 +0100 Amend c2facb8c Make sure the base of a script is not empty before accessing it. --- src/Cursor.cpp |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff

[LyX/2.3.x] Fix bug #11007

2021-03-01 Thread Enrico Forestieri
commit 9a831200a485f16c63baf3ffa96826494e333162 Author: Enrico Forestieri Date: Mon Mar 1 10:38:02 2021 +0100 Fix bug #11007 The math color inset inherits the mode of the containing inset. This mode is inferred by the kind of font in effect. Setting the right mode allows

[LyX/master] Update it.po

2021-03-06 Thread Enrico Forestieri
commit ff4a1e7f6221ea3c2375a3d1465b2b47e71a0c07 Author: Enrico Forestieri Date: Sat Mar 6 10:44:48 2021 +0100 Update it.po po/it.gmo | Bin 603888 -> 604422 bytes po/it.po | 1180 - 2 files changed, 548 insertions(+),

[LyX/master] Update it.po

2021-03-06 Thread Enrico Forestieri
commit 4109e7ab5f9dcd8dd43e9c1605dcd848aa641d51 Author: Enrico Forestieri Date: Sat Mar 6 10:49:52 2021 +0100 Update it.po --- po/it.gmo | Bin 604422 -> 604422 bytes po/it.po |2 +- 2 files changed, 1 insertions(+), 1 deletions(-) diff --git a/po/it.gmo b/po/it.gmo index 54c2

[LyX/master] Fix bug #12181

2021-03-06 Thread Enrico Forestieri
commit 7545698380fa4d0203109d340404574c20aad1bc Author: Enrico Forestieri Date: Sat Mar 6 23:36:58 2021 +0100 Fix bug #12181 The context menu for InsetMathRef is now usable. InsetMathRef still misses support for RefStyle and thus the corresponding entries are omitted from

[LyX/master] Fix bug #9601

2021-03-04 Thread Enrico Forestieri
commit be2c12ba40b97ed61c020847f16c0f35726a4c27 Author: Enrico Forestieri Date: Thu Mar 4 11:58:44 2021 +0100 Fix bug #9601 Make sure emphasized text in mathed has correct shape and color. --- src/MetricsInfo.cpp |8 +++- 1 files changed, 7 insertions(+), 1 deletions

[LyX/master] Update it.po

2021-03-04 Thread Enrico Forestieri
commit b9e8462bd874edb8724f50f9012a635288f9b7ca Author: Enrico Forestieri Date: Thu Mar 4 16:16:21 2021 +0100 Update it.po po/it.gmo | Bin 600672 -> 604323 bytes po/it.po | 4513 - 2 files changed, 2347 insertions(+), 2

[LyX/master] Fix bug #3294

2021-02-27 Thread Enrico Forestieri
commit 195b928f92d5e00874f64fffa21852cdef80bc10 Author: Enrico Forestieri Date: Sat Feb 27 14:49:55 2021 +0100 Fix bug #3294 --- src/mathed/InsetMathRoot.cpp |7 ++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/src/mathed/InsetMathRoot.cpp b/src/mathed

[LyX/master] Fix bug #3751

2021-02-27 Thread Enrico Forestieri
commit 7b526d6461a517888d1291e376a36f29aec9e272 Author: Enrico Forestieri Date: Sat Feb 27 21:40:28 2021 +0100 Fix bug #3751 We lack the necessary font (cmb10) for drawing bold uppercase greek letters. It would be overkill adding it for this sole purpose, so adopt the same

[LyX/2.3.x] Fix bug #3294

2021-02-27 Thread Enrico Forestieri
commit 999831043e6da50b3095a2dfec7000d4209e586c Author: Enrico Forestieri Date: Sat Feb 27 23:31:25 2021 +0100 Fix bug #3294 --- src/mathed/InsetMathRoot.cpp |8 +++- status.23x |3 +++ 2 files changed, 10 insertions(+), 1 deletions(-) diff --git a/src

[LyX/2.3.x] Fix bug #3751

2021-02-27 Thread Enrico Forestieri
commit 51ec16b6c77222aa018959e165adc29d3b9648e5 Author: Enrico Forestieri Date: Sun Feb 28 00:33:43 2021 +0100 Fix bug #3751 We lack the necessary font (cmb10) for drawing bold uppercase greek letters. It would be overkill adding it for this sole purpose, so adopt the same

[LyX/master] Fix bug #12165

2021-02-23 Thread Enrico Forestieri
commit 368e983abb439a7aa652bcdadfa7d3b7e2574a37 Author: Enrico Forestieri Date: Tue Feb 23 19:59:57 2021 +0100 Fix bug #12165 --- src/mathed/InsetMathDots.cpp |6 +++--- src/mathed/MathSupport.cpp |6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src

[LyX/master] Improve fix for #12153

2021-02-23 Thread Enrico Forestieri
commit 2629bd6dfb06a831d2e45b4e9d53a3b64cebb10b Author: Enrico Forestieri Date: Tue Feb 23 17:34:19 2021 +0100 Improve fix for #12153 Use a WYSIWYM approach instead of a WYSIWYG one. --- src/mathed/InsetMathHull.cpp |4 ++-- 1 files changed, 2 insertions(+), 2 deletions

[LyX/master] Amend 368e983a

2021-02-23 Thread Enrico Forestieri
commit 3cf5a064dba71680632fb5a01b74693abcee2e23 Author: Enrico Forestieri Date: Tue Feb 23 21:48:54 2021 +0100 Amend 368e983a --- src/mathed/InsetMathDots.cpp |4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) diff --git a/src/mathed/InsetMathDots.cpp b/src/mathed

[LyX/master] Allow context menus in mathed

2021-03-05 Thread Enrico Forestieri
commit 5a43b86141a6630ff87b9f5fdba94187e282d1fe Author: Enrico Forestieri Date: Fri Mar 5 21:21:41 2021 +0100 Allow context menus in mathed It is now possible to get a context menu for math insets. InsetMathSpace was already providing a specific context menu

[LyX/master] Fix bug #11444

2021-02-28 Thread Enrico Forestieri
commit 61db164302552efcbaa426598ccd4df8847c95f9 Author: Enrico Forestieri Date: Sun Feb 28 14:56:42 2021 +0100 Fix bug #11444 --- src/mathed/InsetMathNest.cpp |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/mathed/InsetMathNest.cpp b/src/mathed

[LyX/master] Fix cursor navigation in \overbrace and \underbrace

2021-02-26 Thread Enrico Forestieri
commit c2facb8c565610d6a702c39b2f95572551f624be Author: Enrico Forestieri Date: Fri Feb 26 20:30:41 2021 +0100 Fix cursor navigation in \overbrace and \underbrace Due to the way these decorations are implemented, entering them with the cursor (either form right or left

[LyX/master] Account for true dpi

2021-02-15 Thread Enrico Forestieri
commit a0a0119b48dece10f621a20fd84eef14ff200720 Author: Enrico Forestieri Date: Mon Feb 15 22:43:36 2021 +0100 Account for true dpi We have to account for the physical rather than logical dpi. See #12132. --- src/frontends/qt/GuiApplication.cpp |2 +- 1 files changed

[LyX/master] Correctly show deleted url with change tracking

2021-02-17 Thread Enrico Forestieri
commit 2fdee24959fccd80899f1d3eaf772b7d53317f77 Author: Enrico Forestieri Date: Wed Feb 17 19:51:01 2021 +0100 Correctly show deleted url with change tracking This fixes the issue reported here: https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg202545.html I

[LyX/2.3.x] Disable direct insertion of multiple spaces in mathed text

2021-02-05 Thread Enrico Forestieri
commit 7dc7315e5fd8e7be971245b0e19d88bdc8cd23ad Author: Enrico Forestieri Date: Thu Feb 4 21:20:45 2021 +0100 Disable direct insertion of multiple spaces in mathed text Fixes #1311 (cherry picked from commit 8202e4e571b90b3b87918437d6346bbf1cbfc6aa) --- src/mathed

[LyX/master] Disable direct insertion of multiple spaces in mathed text

2021-02-04 Thread Enrico Forestieri
commit 8202e4e571b90b3b87918437d6346bbf1cbfc6aa Author: Enrico Forestieri Date: Thu Feb 4 21:20:45 2021 +0100 Disable direct insertion of multiple spaces in mathed text Fixes #1311 --- src/mathed/InsetMathNest.cpp |8 +++- 1 files changed, 7 insertions(+), 1 deletions

[LyX/master] Update layouts

2021-02-06 Thread Enrico Forestieri
commit 4615e2f09ff5f4b7c5e149fcedc9708393ba86e9 Author: Enrico Forestieri Date: Sat Feb 6 20:28:41 2021 +0100 Update layouts lib/citeengines/basic.citeengine |2 +- lib/citeengines/biblatex-natbib.citeengine |2 +- lib/citeengines/biblatex.citeengine

[LyX/master] Amend [5ed01cd6/lyxgit]

2021-02-06 Thread Enrico Forestieri
commit 3cf5a7146359e00203344c5fb72551fdfb4b11e9 Author: Enrico Forestieri Date: Sat Feb 6 20:07:31 2021 +0100 Amend [5ed01cd6/lyxgit] This commit takes into account also the case in which a prime follows a superscript, a case not explicitly mentioned in bug 1633. This case

<    5   6   7   8   9   10   11   12   >