Re: textcommands in math mode

2015-09-19 Thread Guenter Milde
On 2015-09-18, Enrico Forestieri wrote: > On Fri, Sep 18, 2015 at 01:19:16PM +, Guenter Milde wrote: > I don't think that we will arrive at a conclusion by continuing this > discussion. It is clear that your view is irreconcilable with mine. > To proceed any farther, this issue has to be

Re: textcommands in math mode

2015-09-18 Thread Enrico Forestieri
On Fri, Sep 18, 2015 at 01:19:16PM +, Guenter Milde wrote: > On 2015-09-17, Enrico Forestieri wrote: > > On Fri, Sep 18, 2015 at 12:30:36AM +0200, Enrico Forestieri wrote: > > ... > > > But, if \AA is entered in a math mode environment, no replacement takes > > place. > > * without patch,

Re: textcommands in math mode

2015-09-18 Thread Guenter Milde
On 2015-09-17, Enrico Forestieri wrote: > On Fri, Sep 18, 2015 at 12:30:36AM +0200, Enrico Forestieri wrote: ... > But, if \AA is entered in a math mode environment, no replacement takes > place. * without patch, - it would be replaced by a blue *italic Å* symbol, · similar to

Re: textcommands in math mode

2015-09-18 Thread Guenter Milde
Dear Enrico, On 2015-09-17, Enrico Forestieri wrote: > On Wed, Sep 16, 2015 at 09:02:23PM +, Guenter Milde wrote: >> On 2015-09-14, Enrico Forestieri wrote: > Please note that the patch you propose is not changing anything. Both our suggestions handle the problem that mathed currently

Re: textcommands in math mode

2015-09-17 Thread Enrico Forestieri
On Fri, Sep 18, 2015 at 12:30:36AM +0200, Enrico Forestieri wrote: > > Please note that the patch you propose is not changing anything. > You simply force the use of unicode symbols through the math panels. > However, if a user directly inputs \AA this is now displayed in red, > even if it is

Re: textcommands in math mode

2015-09-17 Thread Enrico Forestieri
On Wed, Sep 16, 2015 at 09:02:23PM +, Guenter Milde wrote: > Dear Enrico, > > On 2015-09-14, Enrico Forestieri wrote: > > On Mon, Sep 14, 2015 at 12:52:34PM +, Guenter Milde wrote: > > >> >> A complete discussion and patch are at > >> >> http://www.lyx.org/trac/ticket/9742 > > >> > I

Re: textcommands in math mode

2015-09-16 Thread Guenter Milde
Dear Enrico, On 2015-09-14, Enrico Forestieri wrote: > On Mon, Sep 14, 2015 at 12:52:34PM +, Guenter Milde wrote: >> >> A complete discussion and patch are at >> >> http://www.lyx.org/trac/ticket/9742 >> > I think that all is needed is the attached patch. >> While the patch fixes the

Re: textcommands in math mode

2015-09-14 Thread Guenter Milde
Dear Enrico, thanks for the patch. I tested it and unfortunately, it solves only part of the problem: On 2015-09-12, Enrico Forestieri wrote: > On Thu, Sep 10, 2015 at 02:14:26PM +, Guenter Milde wrote: >> LyX mis-handles some text commands in math mode. >> Try: >> * open LyX, >> * open a

Re: textcommands in math mode

2015-09-14 Thread Guenter Milde
On 2015-09-13, Georg Baum wrote: > Enrico Forestieri wrote: > I like it very much. I did not test it, but if the autocompletion > problem does still exist after applying it, then we should implement a > general mechanism to restrict autocompletion in mathed to the currently > active mode: If

Re: textcommands in math mode

2015-09-14 Thread Enrico Forestieri
On Mon, Sep 14, 2015 at 12:52:34PM +, Guenter Milde wrote: > Dear Enrico, > > thanks for the patch. I tested it and unfortunately, it solves only part of > the problem: > > On 2015-09-12, Enrico Forestieri wrote: > > On Thu, Sep 10, 2015 at 02:14:26PM +, Guenter Milde wrote: > > >> LyX

Re: textcommands in math mode

2015-09-13 Thread Georg Baum
Enrico Forestieri wrote: > I think that all is needed is the attached patch. I like it very much. I did not test it, but if the autocompletion problem does still exist after applying it, then we should implement a general mechanism to restrict autocompletion in mathed to the currently active

Re: textcommands in math mode

2015-09-12 Thread Enrico Forestieri
On Thu, Sep 10, 2015 at 02:14:26PM +, Guenter Milde wrote: > Dear LyX developers, > > LyX mis-handles some text commands in math mode. > > Try: > > * open LyX, > * open a new document, > * open a math box (CTRL-M) > * write \text\AA > > This looks completely OK (a letter A-with-ring (Å)

textcommands in math mode

2015-09-10 Thread Guenter Milde
Dear LyX developers, LyX mis-handles some text commands in math mode. Try: * open LyX, * open a new document, * open a math box (CTRL-M) * write \text\AA This looks completely OK (a letter A-with-ring (Å) appears) but fails to compile. The source panel shows the reason - LyX believes this is