Re: [LyX/master] Implement properly \limits and \nolimits

2020-09-08 Thread Enrico Forestieri
On Wed, Sep 09, 2020 at 12:40:36AM +0200, Enrico Forestieri wrote: > On Tue, Sep 08, 2020 at 05:28:58PM -0400, Scott Kostyshak wrote: > > On Tue, Sep 08, 2020 at 11:04:39PM +0200, Enrico Forestieri wrote: > > > On Mon, Sep 07, 2020 at 11:34:50PM +0200, Enrico Forestieri wrote: > > > > On Mon, Sep 0

Re: [LyX/master] Use correct width for \fint

2020-09-08 Thread Enrico Forestieri
On Tue, Sep 08, 2020 at 06:18:13PM -0400, Richard Kimberly Heck wrote: > On 9/8/20 4:50 PM, Enrico Forestieri wrote: > > > > Riki, this is also needed in stable. > > OK. Committed at 34f33b27. -- Enrico -- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx

Re: [LyX/master] Implement properly \limits and \nolimits

2020-09-08 Thread Enrico Forestieri
On Tue, Sep 08, 2020 at 05:28:58PM -0400, Scott Kostyshak wrote: > On Tue, Sep 08, 2020 at 11:04:39PM +0200, Enrico Forestieri wrote: > > On Mon, Sep 07, 2020 at 11:34:50PM +0200, Enrico Forestieri wrote: > > > On Mon, Sep 07, 2020 at 07:02:39PM +0200, Enrico Forestieri wrote: > > > > On Mon, Sep 0

Re: [LyX/master] Use correct width for \fint

2020-09-08 Thread Richard Kimberly Heck
On 9/8/20 4:50 PM, Enrico Forestieri wrote: > On Tue, Sep 08, 2020 at 02:52:40PM -0400, Scott Kostyshak wrote: >> On Tue, Sep 08, 2020 at 08:46:49PM +0200, Enrico Forestieri wrote: >>> On Tue, Sep 08, 2020 at 02:34:17PM -0400, Scott Kostyshak wrote: On Tue, Sep 08, 2020 at 08:11:11PM +0200, En

Re: Error output only sent to stdout when lyx fails to create a cache dir

2020-09-08 Thread Richard Kimberly Heck
On 9/8/20 1:51 PM, José Abílio Matos wrote: > > Hello, > >   I found by accident that if lyx fails to create a cache dir then the > warning is only sent to stdout. > > >   I was surprised because lyx would not start, I only found the issue > after running lyx from the command line: > > > "Could not

Re: [LyX/master] Implement properly \limits and \nolimits

2020-09-08 Thread Scott Kostyshak
On Tue, Sep 08, 2020 at 11:04:39PM +0200, Enrico Forestieri wrote: > On Mon, Sep 07, 2020 at 11:34:50PM +0200, Enrico Forestieri wrote: > > On Mon, Sep 07, 2020 at 07:02:39PM +0200, Enrico Forestieri wrote: > > > On Mon, Sep 07, 2020 at 12:43:35PM +0200, Jean-Marc Lasgouttes wrote: > > > > > > And

Re: [LyX/master] Implement properly \limits and \nolimits

2020-09-08 Thread Enrico Forestieri
On Mon, Sep 07, 2020 at 11:34:50PM +0200, Enrico Forestieri wrote: > On Mon, Sep 07, 2020 at 07:02:39PM +0200, Enrico Forestieri wrote: > > On Mon, Sep 07, 2020 at 12:43:35PM +0200, Jean-Marc Lasgouttes wrote: > > > > And if this is OK, I should do the same for iint, iiint and nt, right? > >

Re: [LyX/master] Use correct width for \fint

2020-09-08 Thread Enrico Forestieri
On Tue, Sep 08, 2020 at 02:52:40PM -0400, Scott Kostyshak wrote: > On Tue, Sep 08, 2020 at 08:46:49PM +0200, Enrico Forestieri wrote: > > On Tue, Sep 08, 2020 at 02:34:17PM -0400, Scott Kostyshak wrote: > > > On Tue, Sep 08, 2020 at 08:11:11PM +0200, Enrico Forestieri wrote: > > > > On Tue, Sep 08,

Re: Cursor intersects with \cap

2020-09-08 Thread Kornel Benko
Am Tue, 8 Sep 2020 21:00:41 +0200 schrieb Kornel Benko : > Am Tue, 8 Sep 2020 19:44:38 +0200 > schrieb Enrico Forestieri : > > > On Tue, Sep 08, 2020 at 06:15:54PM +0200, Kornel Benko wrote: > > > Am Tue, 8 Sep 2020 17:48:43 +0200 > > > schrieb Jean-Marc Lasgouttes : > > > > > > > Le 08/09

Re: Cursor intersects with \cap

2020-09-08 Thread Kornel Benko
Am Tue, 8 Sep 2020 19:44:38 +0200 schrieb Enrico Forestieri : > On Tue, Sep 08, 2020 at 06:15:54PM +0200, Kornel Benko wrote: > > Am Tue, 8 Sep 2020 17:48:43 +0200 > > schrieb Jean-Marc Lasgouttes : > > > > > Le 08/09/2020 à 13:33, Enrico Forestieri a écrit : > > > >> So, it fails to compute

Re: [LyX/master] Use correct width for \fint

2020-09-08 Thread Scott Kostyshak
On Tue, Sep 08, 2020 at 08:46:49PM +0200, Enrico Forestieri wrote: > On Tue, Sep 08, 2020 at 02:34:17PM -0400, Scott Kostyshak wrote: > > On Tue, Sep 08, 2020 at 08:11:11PM +0200, Enrico Forestieri wrote: > > > On Tue, Sep 08, 2020 at 01:41:57PM -0400, Scott Kostyshak wrote: > > > > > > > > This c

Re: [LyX/master] Use correct width for \fint

2020-09-08 Thread Enrico Forestieri
On Tue, Sep 08, 2020 at 02:34:17PM -0400, Scott Kostyshak wrote: > On Tue, Sep 08, 2020 at 08:11:11PM +0200, Enrico Forestieri wrote: > > On Tue, Sep 08, 2020 at 01:41:57PM -0400, Scott Kostyshak wrote: > > > > > > This commit changes some spacing of an integral limit. See the attached > > > .lyx

Re: [LyX/master] Use correct width for \fint

2020-09-08 Thread Scott Kostyshak
On Tue, Sep 08, 2020 at 08:11:11PM +0200, Enrico Forestieri wrote: > On Tue, Sep 08, 2020 at 01:41:57PM -0400, Scott Kostyshak wrote: > > > > This commit changes some spacing of an integral limit. See the attached > > .lyx file and screenshots for before/after. In particular, the spacing > > aroun

Re: "Unknown counter tag" messages in 2.3.x when exported from master

2020-09-08 Thread Scott Kostyshak
On Tue, Sep 08, 2020 at 11:36:05AM -0400, Richard Kimberly Heck wrote: > On 9/6/20 11:39 PM, Scott Kostyshak wrote: > > If I export the attached file to 2.3.x, and I open the file in 2.3.x, I > > get many terminal messages like the below ones: > > > > LyX: Unknown counter tag `GuiName' [around li

Complex document compiles with 2.3.x but not with master

2020-09-08 Thread Scott Kostyshak
The following command downloads a complex document and tries to compile it: git clone 'https://github.com/ahmed-rashed/ThesisTemplate' && cd ThesisTemplate && lyx -e pdf2 Thesis.lyx It compiles with 2.3.x but not with master. The document is quite complex and contains a lot of ERT and Arabic.

Re: [LyX/master] Use correct width for \fint

2020-09-08 Thread Enrico Forestieri
On Tue, Sep 08, 2020 at 01:41:57PM -0400, Scott Kostyshak wrote: > > This commit changes some spacing of an integral limit. See the attached > .lyx file and screenshots for before/after. In particular, the spacing > around '\in', ':', and '\le' is reduced. Please, try the attached patch. -- Enr

Error output only sent to stdout when lyx fails to create a cache dir

2020-09-08 Thread José Abílio Matos
Hello, I found by accident that if lyx fails to create a cache dir then the warning is only sent to stdout. I was surprised because lyx would not start, I only found the issue after running lyx from the command line: "Could not create cache directory `...'." In this case I would expect a

Re: Cursor intersects with \cap

2020-09-08 Thread Enrico Forestieri
On Tue, Sep 08, 2020 at 06:15:54PM +0200, Kornel Benko wrote: > Am Tue, 8 Sep 2020 17:48:43 +0200 > schrieb Jean-Marc Lasgouttes : > > > Le 08/09/2020 à 13:33, Enrico Forestieri a écrit : > > >> So, it fails to compute it correctly when the zoom changes. > > > > > > Anyway, the attached patch s

Re: Cursor intersects with \cap

2020-09-08 Thread Enrico Forestieri
On Tue, Sep 08, 2020 at 05:48:43PM +0200, Jean-Marc Lasgouttes wrote: > Le 08/09/2020 à 13:33, Enrico Forestieri a écrit : > > > So, it fails to compute it correctly when the zoom changes. > > > > Anyway, the attached patch seems to do the trick. > > Looks good. How confident are you that it does

Re: Cursor intersects with \cap

2020-09-08 Thread Kornel Benko
Am Tue, 8 Sep 2020 17:48:43 +0200 schrieb Jean-Marc Lasgouttes : > Le 08/09/2020 à 13:33, Enrico Forestieri a écrit : > >> So, it fails to compute it correctly when the zoom changes. > > > > Anyway, the attached patch seems to do the trick. > > Looks good. How confident are you that it does

Re: Cursor intersects with \cap

2020-09-08 Thread Jean-Marc Lasgouttes
Le 08/09/2020 à 13:33, Enrico Forestieri a écrit : So, it fails to compute it correctly when the zoom changes. Anyway, the attached patch seems to do the trick. Looks good. How confident are you that it does not break something else? JMarc -- lyx-devel mailing list lyx-devel@lists.lyx.org ht

Re: "Unknown counter tag" messages in 2.3.x when exported from master

2020-09-08 Thread Richard Kimberly Heck
On 9/6/20 11:39 PM, Scott Kostyshak wrote: > If I export the attached file to 2.3.x, and I open the file in 2.3.x, I > get many terminal messages like the below ones: > > LyX: Unknown counter tag `GuiName' [around line 29 of file > [layouts/theorems-ams-chap-bytype.inc] current token: 'GuiName'

Re: Possible regression regarding repainting jump

2020-09-08 Thread Jean-Marc Lasgouttes
Le 07/09/2020 à 19:09, Scott Kostyshak a écrit : Thanks for confirming. Do you think it could be cc349fd0? If you don't think so, let me know and I can do a bisect. I checked, and it is this one indeed. Weird. JMarc -- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman

Re: Cursor intersects with \cap

2020-09-08 Thread Enrico Forestieri
On Tue, Sep 08, 2020 at 01:09:28PM +0200, Enrico Forestieri wrote: > On Tue, Sep 08, 2020 at 01:00:15PM +0200, Jean-Marc Lasgouttes wrote: > > Le 08/09/2020 à 12:22, Enrico Forestieri a écrit : > > > On Tue, Sep 08, 2020 at 10:41:43AM +0200, Jean-Marc Lasgouttes wrote: > > > > Le 08/09/2020 à 00:11

Re: Cursor intersects with \cap

2020-09-08 Thread Enrico Forestieri
On Tue, Sep 08, 2020 at 01:00:15PM +0200, Jean-Marc Lasgouttes wrote: > Le 08/09/2020 à 12:22, Enrico Forestieri a écrit : > > On Tue, Sep 08, 2020 at 10:41:43AM +0200, Jean-Marc Lasgouttes wrote: > > > Le 08/09/2020 à 00:11, Enrico Forestieri a écrit : > > > > Likely. Possibly the culprit is 79998

Re: Cursor intersects with \cap

2020-09-08 Thread Jean-Marc Lasgouttes
Le 08/09/2020 à 12:22, Enrico Forestieri a écrit : On Tue, Sep 08, 2020 at 10:41:43AM +0200, Jean-Marc Lasgouttes wrote: Le 08/09/2020 à 00:11, Enrico Forestieri a écrit : Likely. Possibly the culprit is 79998fdc. However, after that commit, the "2" in \int_0^2 does not clash with the integral

Re: Cursor intersects with \cap

2020-09-08 Thread Enrico Forestieri
On Tue, Sep 08, 2020 at 10:41:43AM +0200, Jean-Marc Lasgouttes wrote: > Le 08/09/2020 à 00:11, Enrico Forestieri a écrit : > > Likely. Possibly the culprit is 79998fdc. However, after that commit, > > the "2" in \int_0^2 does not clash with the integral anymore. > > It seems that you can't have you

Re: Cursor intersects with \cap

2020-09-08 Thread Jean-Marc Lasgouttes
Le 08/09/2020 à 00:11, Enrico Forestieri a écrit : Likely. Possibly the culprit is 79998fdc. However, after that commit, the "2" in \int_0^2 does not clash with the integral anymore. It seems that you can't have your cake and eat it, too. Something is a bit fishy in terms of metrics though. Loo

Re: Cursor intersects with \cap

2020-09-08 Thread Jean-Marc Lasgouttes
Le 08/09/2020 à 02:25, Enrico Forestieri a écrit : If you look at the output, adding a character after \cap also modifies the spacing around it. It seems that the on-screen representation is able to follow more closely the latex output. Yes, this was my big work on mathed for 2.3. JMarc -- lyx

Re: [PATCH] Fix uninitialized variable with wrong type

2020-09-08 Thread Kornel Benko
Am Tue, 8 Sep 2020 09:59:56 +0300 schrieb Yuriy Skalko : > > > > There is also GetExitCodeProcess() in src/support/ForkedCalls.cpp. > > > > Kornel > > OK, so `pret` should be DWORD. But then -1 can be assigned to it (I > assume that it is safe for all bits set for unsigned type, but s

Re: [PATCH] Fix uninitialized variable with wrong type

2020-09-08 Thread Yuriy Skalko
> > There is also GetExitCodeProcess() in src/support/ForkedCalls.cpp. > > Kornel OK, so `pret` should be DWORD. But then -1 can be assigned to it (I assume that it is safe for all bits set for unsigned type, but still get warnings during compilation). Should it be UINT32_MAX to get rid