RE: SV: [PATCH] Change default mathbg and add mathhoverbg.

2007-06-11 Thread Darren Freeman
On Sat, 2007-06-09 at 12:43 +0200, Leuven, E. wrote:
> maybe we should disallow a space after a backslash in math?
> 
> or are there situations where this makes sense?

I was using it for a while before I was told about the siunits package.
I still use it sometimes. Please don't forbid that :)

I agree with empty math insets dissolving, but I'm abstaining on an
inset that only has a "\ ". Maybe in that case the space should be
displayed like a protected blank in the main text - little red underline
thing. You wouldn't miss it then :)

Have fun,
Darren



Re: SV: [PATCH] Change default mathbg and add mathhoverbg.

2007-06-10 Thread Andre Poenitz
On Fri, Jun 08, 2007 at 06:25:16PM +0200, Leuven, E. wrote:
> > I toss M$ Word because, among other overly clever features, it changes
> > i to I all the time.
>  
> (before we used the big nasty wolf to scare people, now it is the big nasty 
> M$)
>  
> > I would object, in general, any *automatic*
> > changes to what I entered without my agreement.
>  
> can u say D, can u say E, can u say P, can u say M
>  
> can u say DEPM?!

And DEPM is the feature that caused a lot of grieve so far (for
developers, not users in this case)

Andre'


Re: SV: [PATCH] Change default mathbg and add mathhoverbg.

2007-06-10 Thread Edwin Leuven

Jean-Marc Lasgouttes wrote:

Edwin> sure, perhaps latex permits this but when would you want to
Edwin> create an empty math inset?

There are always people who have good reasons to do weird things.
Which should not artificially forbid constructs.


we wouldn't, there is ert

...

signing off on this thread now.


Re: SV: [PATCH] Change default mathbg and add mathhoverbg.

2007-06-10 Thread Jean-Marc Lasgouttes
> "Edwin" == Leuven, E <[EMAIL PROTECTED]> writes:

Edwin> Jean-Marc Lasgouttes wrote:
>> It is completely different: dEPM disallows things that have _no_
>> meaning to LaTeX (like double space). And empty math inset is
>> acceptable, even if it is most of the times not wanted.

Edwin> sure, perhaps latex permits this but when would you want to
Edwin> create an empty math inset?

There are always people who have good reasons to do weird things.
Which should not artificially forbid constructs.

>> None of these solve the problem for an inset containing a hard
>> space, but those who ask for trouble deserve it.

Edwin> maybe we should disallow a space after a backslash in math?

Edwin> or are there situations where this makes sense?

"\ " is pretty useful in maths. It should definitely stay.

JMarc


RE: SV: [PATCH] Change default mathbg and add mathhoverbg.

2007-06-09 Thread Leuven, E.
Jean-Marc Lasgouttes wrote:
> It is completely different: dEPM disallows things that have _no_
> meaning to LaTeX (like double space). And empty math inset is
> acceptable, even if it is most of the times not wanted.

sure, perhaps latex permits this but when would you want to create an empty 
math inset?

> I see two solutions:
> 
> 1/ an _empty_ math inset (not $\ $!) is removed when leaving it with
> the cursor. This is already what happens with the script inset.
> 
> 2/ an _empty_ math inset (not $\ $!) does not get a preview.
> 
> None of these solve the problem for an inset containing a hard space,
> but those who ask for trouble deserve it.

maybe we should disallow a space after a backslash in math?

or are there situations where this makes sense?



Re: SV: [PATCH] Change default mathbg and add mathhoverbg.

2007-06-08 Thread Jean-Marc Lasgouttes
> "Edwin" == Leuven, E <[EMAIL PROTECTED]> writes:

>> I toss M$ Word because, among other overly clever features, it
>> changes i to I all the time.
 
Edwin> (before we used the big nasty wolf to scare people, now it is
Edwin> the big nasty M$)
 
>> I would object, in general, any *automatic* changes to what I
>> entered without my agreement.
 
Edwin> can u say D, can u say E, can u say P, can u say M
 
Edwin> can u say DEPM?!
 
It is completely different: dEPM disallows things that have _no_
meaning to LaTeX (like double space). And empty math inset is
acceptable, even if it is most of the times not wanted.

I see two solutions:

1/ an _empty_ math inset (not $\ $!) is removed when leaving it with
the cursor. This is already what happens with the script inset.

2/ an _empty_ math inset (not $\ $!) does not get a preview.

None of these solve the problem for an inset containing a hard space,
but those who ask for trouble deserve it.

JMarc


Re: SV: [PATCH] Change default mathbg and add mathhoverbg.

2007-06-08 Thread Alfredo Braunstein
Leuven, E. wrote:

>> I toss M$ Word because, among other overly clever features, it changes
>> i to I all the time.
>  
> (before we used the big nasty wolf to scare people, now it is the big
> nasty M$)
>  
>> I would object, in general, any *automatic*
>> changes to what I entered without my agreement.

I agree with Bo (about automatic changes). 
  
> can u say D, can u say E, can u say P, can u say M
>  
> can u say DEPM?!

I can say it, but I hate it. DEPM is a bad solution ui-wise.

> (off to bbq now, the weather is great in norway...)

Lucky you!

A/