Re: integral upper limit adjacent to integral sign

2018-02-07 Thread Scott Kostyshak
On Wed, Feb 07, 2018 at 10:56:58AM +, Enrico Forestieri wrote: > On Tue, Feb 06, 2018 at 12:19:47PM -0500, Scott Kostyshak wrote: > > On Tue, Feb 06, 2018 at 10:01:02AM +, Jean-Marc Lasgouttes wrote: > > > > > Enrico, for reference this is the commit where we use > > > QFontMetrics::width

Re: [patch] Chapter top spacing - regression

2018-02-07 Thread Richard Heck
On 02/07/2018 05:00 PM, Pavel Sanda wrote: > Hi, > > I already wrote about this some time ago, switching to 2.3 made going through > the documents with chapters somewhat annoying on small screens because third > of > my monitor is taken by vertical space. Eg. after loading tutorial on my laptop >

Re: [Patch] Unify groups LFUN (was: [LyX/master] Add missing break and polish formatting)

2018-02-07 Thread Pavel Sanda
Pavel Sanda wrote: > Jean-Marc Lasgouttes wrote: > >>> Here is what I had in mind. Works quite well. > >> Who would have guessed what the innocent commit of such esoteric lfun > >> would trigger :) > > > > It is still small activity :) Does it work for you? > > Will try tomorrow. Your patch work

Re: [Patch] Unify groups LFUN

2018-02-07 Thread Pavel Sanda
L_MODE_TOGGLE, // lasgouttes 20170723 //370 LFUN_EXPORT_CANCEL, // rgh, 20171227 - LFUN_BUFFER_ANONYMIZE, // sanda, 20180201 + LFUN_BUFFER_ANONYMIZE, // sanda, 20180201 + LFUN_GRAPHICS_UNIFY,// sanda, 20180207

[patch] Chapter top spacing - regression

2018-02-07 Thread Pavel Sanda
Hi, I already wrote about this some time ago, switching to 2.3 made going through the documents with chapters somewhat annoying on small screens because third of my monitor is taken by vertical space. Eg. after loading tutorial on my laptop I can't read even the first paragraph because of the empt

Re: [Patch] Unify groups LFUN

2018-02-07 Thread Jean-Marc Lasgouttes
Le 07/02/2018 à 20:12, Pavel Sanda a écrit : Something like what inset-forall does? The idea is to use an InsetIterator (just a DocIterator that does forwardInset() with operator++ and returns the inset with operator*. Then one has to check the inset code by hand (which is not nice IMO). But I

[Patch] Unify groups LFUN (was: [LyX/master] Add missing break and polish formatting)

2018-02-07 Thread Pavel Sanda
h b/src/FuncCode.h index 4a5983147d..cce61f0df5 100644 --- a/src/FuncCode.h +++ b/src/FuncCode.h @@ -476,7 +476,8 @@ enum FuncCode LFUN_DEVEL_MODE_TOGGLE, // lasgouttes 20170723 //370 LFUN_EXPORT_CANCEL, // rgh, 20171227 - LFUN_BUFFER_ANONYMIZE, // san

Re: Extending layouts

2018-02-07 Thread racoon
On 24.01.2018 21:22, Richard Heck wrote: On 01/23/2018 03:49 AM, Jean-Marc Lasgouttes wrote: Now that I think about it, the advantage of using a special syntax is that there is not need to specify the file name, which makes the code safer. Idead of syntax:   Input   Input *   InputParent

Re: [LyX/master] Add missing break and polish formatting.

2018-02-07 Thread Jean-Marc Lasgouttes
Le 07/02/2018 à 16:44, Pavel Sanda a écrit : Jean-Marc Lasgouttes wrote: It is :) Given that one needs this lfun twice per year, I don't think that's a big deal... Pavel Here is what I had in mind. Works quite well. Who would have guessed what the innocent commit of such esoteric lfun would

Re: [LyX/master] Add missing break and polish formatting.

2018-02-07 Thread Pavel Sanda
Jean-Marc Lasgouttes wrote: >> It is :) >> Given that one needs this lfun twice per year, I don't think that's a big >> deal... >> Pavel > > Here is what I had in mind. Works quite well. Who would have guessed what the innocent commit of such esoteric lfun would trigger :) But since I caught yo

Re: [LyX/master] Add missing break and polish formatting.

2018-02-07 Thread Jean-Marc Lasgouttes
Le 07/02/2018 à 11:29, Pavel Sanda a écrit : Jean-Marc Lasgouttes wrote: Am I right that this does 40+ full-document search and replace? Performance on LyX User Guide is terrible, but seeing the document change by letter groups is quite amusing. Then LyX needs 2.4G of memory due to undo and perf

Re: integral upper limit adjacent to integral sign

2018-02-07 Thread Enrico Forestieri
On Wed, Feb 07, 2018 at 12:06:13PM +0100, Jean-Marc Lasgouttes wrote: > Le 07/02/2018 à 11:56, Enrico Forestieri a écrit : > > On Tue, Feb 06, 2018 at 12:19:47PM -0500, Scott Kostyshak wrote: > > > On Tue, Feb 06, 2018 at 10:01:02AM +, Jean-Marc Lasgouttes wrote: > > > > > > > Enrico, for refe

LyX 2.2.3 problem: There is no (U+200C) in font TeXGyreCursor

2018-02-07 Thread Helge Hafting
To see the problem, set the typewriter font to "Tex Gyre Cursor". Check "Use non-TeX fonts (via XeTeX/LuaTeX)" Now, write something like "cat >> myfile.txt" (for a linux tutorial) Set the text style to "code", or customize it to "typewriter", or use the paragraph style "LyX Code". Any way

Re: integral upper limit adjacent to integral sign

2018-02-07 Thread Jean-Marc Lasgouttes
Le 07/02/2018 à 11:56, Enrico Forestieri a écrit : On Tue, Feb 06, 2018 at 12:19:47PM -0500, Scott Kostyshak wrote: On Tue, Feb 06, 2018 at 10:01:02AM +, Jean-Marc Lasgouttes wrote: Enrico, for reference this is the commit where we use QFontMetrics::width in some cases instead of the QText

Re: integral upper limit adjacent to integral sign

2018-02-07 Thread Enrico Forestieri
On Tue, Feb 06, 2018 at 12:19:47PM -0500, Scott Kostyshak wrote: > On Tue, Feb 06, 2018 at 10:01:02AM +, Jean-Marc Lasgouttes wrote: > > > Enrico, for reference this is the commit where we use > > QFontMetrics::width in some cases instead of the QTextLayout thing. > > > > I tried to revert it

Re: [LyX/master] Add missing break and polish formatting.

2018-02-07 Thread Pavel Sanda
Jean-Marc Lasgouttes wrote: > Am I right that this does 40+ full-document search and replace? Performance > on LyX User Guide is terrible, but seeing the document change by letter > groups is quite amusing. Then LyX needs 2.4G of memory due to undo and > performance of undo is abysmal. It is :)