Re: fix math toolbars

2016-09-24 Thread Enrico Forestieri
On Thu, Sep 22, 2016 at 12:58:47PM +, Guenter Milde wrote: > On 2016-09-16, Enrico Forestieri wrote: > > On Fri, Sep 16, 2016 at 12:33:08AM +0100, Guillaume Munch wrote: > > I suggest different keywords for > > a) commands that switch to text mode, and > > b) commands that only work in text

Re: fix math toolbars

2016-09-22 Thread Guenter Milde
On 2016-09-16, Enrico Forestieri wrote: > On Fri, Sep 16, 2016 at 12:33:08AM +0100, Guillaume Munch wrote: >> Le 15/09/2016 à 23:52, Enrico Forestieri a écrit : >> >On Thu, Sep 15, 2016 at 01:41:30PM +0100, Guillaume Munch wrote: >> >>Also, I was surprised to see that when I enter

Re: fix math toolbars

2016-09-21 Thread Guillaume Munch
Le 16/09/2016 à 02:41, Enrico Forestieri a écrit : On Fri, Sep 16, 2016 at 12:33:08AM +0100, Guillaume Munch wrote: Le 15/09/2016 à 23:52, Enrico Forestieri a écrit : On Thu, Sep 15, 2016 at 01:41:30PM +0100, Guillaume Munch wrote: Now same problem with the attached. I get

Re: fix math toolbars

2016-09-15 Thread Enrico Forestieri
On Fri, Sep 16, 2016 at 12:33:08AM +0100, Guillaume Munch wrote: > Le 15/09/2016 à 23:52, Enrico Forestieri a écrit : > >On Thu, Sep 15, 2016 at 01:41:30PM +0100, Guillaume Munch wrote: > >> > >>Now same problem with the attached. I get $\mbox{\ensuremath{\comp}\comp}$ > >>instead of

Re: fix math toolbars

2016-09-15 Thread Guillaume Munch
Le 15/09/2016 à 23:52, Enrico Forestieri a écrit : On Thu, Sep 15, 2016 at 01:41:30PM +0100, Guillaume Munch wrote: Now same problem with the attached. I get $\mbox{\ensuremath{\comp}\comp}$ instead of $\mbox{\ensuremath{\comp\comp}}$. Also, I was surprised to see that when I enter

Re: fix math toolbars

2016-09-15 Thread Enrico Forestieri
On Thu, Sep 15, 2016 at 01:41:30PM +0100, Guillaume Munch wrote: > > Now same problem with the attached. I get $\mbox{\ensuremath{\comp}\comp}$ > instead of $\mbox{\ensuremath{\comp\comp}}$. > > Also, I was surprised to see that when I enter \textit,\mbox,... it gets > wrapped inside a \text

Re: fix math toolbars

2016-09-15 Thread Guillaume Munch
Le 15/09/2016 à 01:05, Enrico Forestieri a écrit : On Wed, Sep 14, 2016 at 04:46:20PM +0100, Guillaume Munch wrote: Le 14/09/2016 à 01:39, Enrico Forestieri a écrit : Oh, yes. Apparently, macros are not the only thing that may be not up to date. Hopefully, I nailed this at 8ec91e80. Please,

Re: fix math toolbars

2016-09-14 Thread Enrico Forestieri
On Wed, Sep 14, 2016 at 04:46:20PM +0100, Guillaume Munch wrote: > Le 14/09/2016 à 01:39, Enrico Forestieri a écrit : > > > >Oh, yes. Apparently, macros are not the only thing that may be not > >up to date. Hopefully, I nailed this at 8ec91e80. Please, try again. > > > > > Unfortunately, the

Re: fix math toolbars

2016-09-14 Thread Guillaume Munch
Le 14/09/2016 à 01:39, Enrico Forestieri a écrit : Oh, yes. Apparently, macros are not the only thing that may be not up to date. Hopefully, I nailed this at 8ec91e80. Please, try again. Unfortunately, the attached file which used to compile successfully no longer does. LyX used to export

Re: fix math toolbars

2016-09-14 Thread Guillaume Munch
Le 14/09/2016 à 01:39, Enrico Forestieri a écrit : Oh, yes. Apparently, macros are not the only thing that may be not up to date. Hopefully, I nailed this at 8ec91e80. Please, try again. Thanks, I no longer have crashes on opening.

Re: fix math toolbars

2016-09-13 Thread Enrico Forestieri
On Tue, Sep 13, 2016 at 05:22:33PM +0100, Guillaume Munch wrote: > Le 13/09/2016 à 06:45, Enrico Forestieri a écrit : > > > >The symptom seems to be the same, so I am maybe missing some case. > >Unfortunately, without a test case there is not much I can do. > >In the mean time I will commit both

Re: fix math toolbars

2016-09-13 Thread Guillaume Munch
Le 13/09/2016 à 06:45, Enrico Forestieri a écrit : The symptom seems to be the same, so I am maybe missing some case. Unfortunately, without a test case there is not much I can do. In the mean time I will commit both patches, as the alternative one will also help in the other cases mentioned

Re: fix math toolbars

2016-09-12 Thread Enrico Forestieri
On Tue, Sep 13, 2016 at 01:44:05AM +0100, Guillaume Munch wrote: > Le 12/09/2016 à 19:35, Enrico Forestieri a écrit : > > On Mon, Sep 12, 2016 at 05:01:33AM +0200, Enrico Forestieri wrote: > > > > > > You can spare your time as I think I found the problem. The patch simply > > > uncovered a

Re: fix math toolbars

2016-09-12 Thread Guillaume Munch
Le 12/09/2016 à 19:35, Enrico Forestieri a écrit : On Mon, Sep 12, 2016 at 05:01:33AM +0200, Enrico Forestieri wrote: You can spare your time as I think I found the problem. The patch simply uncovered a latent bug. The crash only occurs when there is a user defined math macro. In this case,

Re: fix math toolbars

2016-09-12 Thread Enrico Forestieri
On Mon, Sep 12, 2016 at 05:01:33AM +0200, Enrico Forestieri wrote: > On Sun, Sep 11, 2016 at 09:04:56PM +0100, Guillaume Munch wrote: > > Le 11/09/2016 à 11:05, Enrico Forestieri a écrit : > > > > >Please give > > >steps or test cases for reproducing the crash and I will have a look. > > > > > >

Re: fix math toolbars

2016-09-12 Thread Enrico Forestieri
On Mon, Sep 12, 2016 at 05:01:33AM +0200, Enrico Forestieri wrote: > On Sun, Sep 11, 2016 at 09:04:56PM +0100, Guillaume Munch wrote: > > Le 11/09/2016 à 11:05, Enrico Forestieri a écrit : > > > > >Please give > > >steps or test cases for reproducing the crash and I will have a look. > > > > >

Re: fix math toolbars

2016-09-11 Thread Enrico Forestieri
On Sun, Sep 11, 2016 at 09:04:56PM +0100, Guillaume Munch wrote: > Le 11/09/2016 à 11:05, Enrico Forestieri a écrit : > > >Please give > >steps or test cases for reproducing the crash and I will have a look. > > > > It usually takes some effort. I'll try to find the time. You can spare your

Re: fix math toolbars

2016-09-11 Thread Guillaume Munch
Le 11/09/2016 à 11:05, Enrico Forestieri a écrit : On Sun, Sep 11, 2016 at 03:48:06AM +0100, Guillaume Munch wrote:> Apart from the fact that I waited for three days (http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg196459.html), experience tells me that who is against a change speaks up

Re: fix math toolbars

2016-09-11 Thread Enrico Forestieri
On Sun, Sep 11, 2016 at 03:48:06AM +0100, Guillaume Munch wrote: > Le 10/09/2016 à 17:29, Enrico Forestieri a écrit : > > On Fri, Sep 09, 2016 at 12:04:47PM +0200, Enrico Forestieri wrote: > > > > > > Tell me how much time you think it will take you. One month? > > > Two months? Three months?

Re: fix math toolbars

2016-09-10 Thread Guillaume Munch
Le 10/09/2016 à 17:29, Enrico Forestieri a écrit : On Fri, Sep 09, 2016 at 12:04:47PM +0200, Enrico Forestieri wrote: Tell me how much time you think it will take you. One month? Two months? Three months? I'll wait for that time. No response and no other nay. So, I am going ahead. Hi

Re: fix math toolbars

2016-09-10 Thread Enrico Forestieri
On Fri, Sep 09, 2016 at 12:04:47PM +0200, Enrico Forestieri wrote: > > Tell me how much time you think it will take you. One month? > Two months? Three months? I'll wait for that time. No response and no other nay. So, I am going ahead. -- Enrico

Re: fix math toolbars

2016-09-10 Thread Enrico Forestieri
On Fri, Sep 09, 2016 at 12:04:47PM +0200, Enrico Forestieri wrote: > On Fri, Sep 09, 2016 at 07:05:52AM +, Guenter Milde wrote: > > > I would appreciate if you could fix it. > > See http://www.lyx.org/trac/ticket/9616 > > This is your hitch. I am not motivated in scratching it. I did it at

Re: fix math toolbars

2016-09-10 Thread Enrico Forestieri
On Fri, Sep 09, 2016 at 12:43:27AM +0200, Enrico Forestieri wrote: > On Thu, Sep 08, 2016 at 10:13:27PM +, Guenter Milde wrote: > > > > * if I insert a literal degree-sign from the keyboard into mathed, LyX > > wraps it in \text while inserting, > > Yes, this was my doing after you

Re: fix math toolbars

2016-09-09 Thread Enrico Forestieri
On Fri, Sep 09, 2016 at 07:05:52AM +, Guenter Milde wrote: > > Yes, for me the hidden insertion of \ensuremath is already a step in the > wrong direction. Correcting it becomes more difficult with more "helpfull" > additions. These are opinions. Mine is different. > >> * if I insert a

Re: fix math toolbars

2016-09-09 Thread Enrico Forestieri
On Fri, Sep 09, 2016 at 10:38:05AM +0100, José Abílio Matos wrote: > On Friday, September 9, 2016 10:45:08 AM WEST Enrico Forestieri wrote: > > Sorry, I didn't even read your logorrheic answer. I think this a > > strategy for exhausting the opponent. > > This type of arguments does not help and

Re: fix math toolbars

2016-09-09 Thread José Abílio Matos
On Friday, September 9, 2016 10:45:08 AM WEST Enrico Forestieri wrote: > Sorry, I didn't even read your logorrheic answer. I think this a > strategy for exhausting the opponent. This type of arguments does not help and is detrimental in the long term for the community. It is OK to disagree and

Re: fix math toolbars

2016-09-09 Thread Enrico Forestieri
On Fri, Sep 09, 2016 at 07:05:52AM +, Guenter Milde wrote: [snip logorrheic answer] Sorry, I didn't even read your logorrheic answer. I think this a strategy for exhausting the opponent. I am in favor while you are contrary to the patch. The only way out is voting. So, unless I get a "no"

Re: fix math toolbars

2016-09-09 Thread Guenter Milde
On 2016-09-08, Enrico Forestieri wrote: > On Thu, Sep 08, 2016 at 10:13:27PM +, Guenter Milde wrote: >> On 2016-09-08, Enrico Forestieri wrote: >> > On Thu, Sep 08, 2016 at 04:42:30PM +, Guenter Milde wrote: >> >> I don't want blurring the distinction of text-mode and math-mode

Re: fix math toolbars

2016-09-08 Thread Enrico Forestieri
On Thu, Sep 08, 2016 at 10:13:27PM +, Guenter Milde wrote: > On 2016-09-08, Enrico Forestieri wrote: > > On Thu, Sep 08, 2016 at 04:42:30PM +, Guenter Milde wrote: > > > >> I don't want blurring the distinction of text-mode and math-mode commands. > > > I don't understand this

Re: fix math toolbars

2016-09-08 Thread Guenter Milde
On 2016-09-08, Enrico Forestieri wrote: > On Thu, Sep 08, 2016 at 04:42:30PM +, Guenter Milde wrote: >> I don't want blurring the distinction of text-mode and math-mode commands. > I don't understand this argument. For me (and others), LyX is also a way to learn LaTeX. Typing LaTeX macros

Re: fix math toolbars

2016-09-08 Thread Enrico Forestieri
On Thu, Sep 08, 2016 at 04:42:30PM +, Guenter Milde wrote: > On 2016-09-08, Enrico Forestieri wrote: > > On Thu, Sep 08, 2016 at 06:58:10AM +, Guenter Milde wrote: > > >> On 2016-09-08, Enrico Forestieri wrote: > >> > On Wed, Sep 07, 2016 at 09:45:31PM +, Guenter Milde wrote: > > >>

Re: fix math toolbars

2016-09-08 Thread Guenter Milde
On 2016-09-08, Enrico Forestieri wrote: > On Thu, Sep 08, 2016 at 06:58:10AM +, Guenter Milde wrote: >> On 2016-09-08, Enrico Forestieri wrote: >> > On Wed, Sep 07, 2016 at 09:45:31PM +, Guenter Milde wrote: >> >> Dear Developers, >> >> pending a decision about handling of text-mode

Re: fix math toolbars

2016-09-08 Thread Enrico Forestieri
On Thu, Sep 08, 2016 at 06:58:10AM +, Guenter Milde wrote: > On 2016-09-08, Enrico Forestieri wrote: > > On Wed, Sep 07, 2016 at 09:45:31PM +, Guenter Milde wrote: > > >> Dear Developers, > > >> pending a decision about handling of text-mode commands in mathed, is it > >> OK to submit

Re: fix math toolbars

2016-09-08 Thread Guenter Milde
On 2016-09-08, Enrico Forestieri wrote: > On Wed, Sep 07, 2016 at 09:45:31PM +, Guenter Milde wrote: >> Dear Developers, >> pending a decision about handling of text-mode commands in mathed, is it >> OK to submit the following minimal-invasive patch to prevent the math >> toolbars inserting

Re: fix math toolbars

2016-09-07 Thread Enrico Forestieri
On Wed, Sep 07, 2016 at 09:45:31PM +, Guenter Milde wrote: > Dear Developers, > > pending a decision about handling of text-mode commands in mathed, is it > OK to submit the following minimal-invasive patch to prevent the math > toolbars inserting symbols in a way that makes document