On 2016-09-08, Enrico Forestieri wrote:
> On Thu, Sep 08, 2016 at 06:58:10AM +0000, Guenter Milde wrote:

>> On 2016-09-08, Enrico Forestieri wrote:
>> > On Wed, Sep 07, 2016 at 09:45:31PM +0000, 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 uncompilable or
>> >> leads to wrong output?

>> > http://www.lyx.org/trac/ticket/9742

>> #9742 is the undecided ticket about handling of text-mode commands
>> in mathed.

>> The proposed patch 

>> * solves the problem with inserting symbols from the math panel, as
>>   described in http://www.lyx.org/trac/ticket/10349,

>> * does this similar to the current handling of the Å and Ø text symbols
>>   in the "misc" toolbar.

>> * does not change the handling of text-mode commands in mathed discussed
>>   in #9742.


>> +1 fix toolbars pending a fundamental decision about text-mode in mathed

>> -0 no fix for existing documents ("bug for bug backwards compatibility")

> I think that the last patch attached to #9742 is a step forward and I am
> considering to commit it. Then, you can start from there.

I appreciate your work and interest. However, I think that even the last
patch is a step in the wrong direction. 

Starting from there is a longer way to where I want to go:

I don't want blurring the distinction of text-mode and math-mode commands.

It is far more difficult to restore this distinction after starting to
support commands in the wrong mode with "silent additions".

This is why I strongly prefer a clear specification of the desired behaviour
and LyX format before any changes of text-in-math support.


Günter

Reply via email to