Re: Mathed sub/superscripts highlighting

2007-06-29 Thread Angus Leeming
Darren Freeman wrote: What I am most concerned about is being able to write chemical formulas with each element as a nucleus. I guess if I ensure the nucleus is math-text then it will work anyway but there must be others who would like this to work without brace insets. Maybe there should be a c

Re: Mathed sub/superscripts highlighting

2007-06-28 Thread Georg Baum
Darren Freeman wrote: > What I am most concerned about is being able to write chemical formulas > with each element as a nucleus. I guess if I ensure the nucleus is > math-text then it will work anyway but there must be others who would > like this to work without brace insets. > > Maybe there sh

Re: Mathed sub/superscripts highlighting

2007-06-28 Thread Georg Baum
Darren Freeman wrote: > The multi-char nucleus is saved and loaded properly by LyX, right? No, it becomes a single char nucleus. Try it. > So > why not export with braces? It shouldn't be that often that people > import LaTeX that was generated by LyX, right? They do that all the time they loa

Re: Mathed sub/superscripts highlighting

2007-06-27 Thread Darren Freeman
On Wed, 2007-06-27 at 20:37 +0200, Georg Baum wrote: > Am Mittwoch, 27. Juni 2007 17:39 schrieb Alfredo Braunstein: > > And there is an inconsistency: we pretend to have a multi-char > > nucleus internally but we output something else to latex. It's a pity > that > > there's no good solution. May

Re: Mathed sub/superscripts highlighting

2007-06-27 Thread Darren Freeman
On Wed, 2007-06-27 at 17:39 +0200, Alfredo Braunstein wrote: > Georg Baum wrote: > > Currently everything is working perfectly. There is only one drawback > > concerning the representation on screen: For things like {ab}^{c} the > > braces around {ab} are shown in red, and if you want to enter such

Re: Mathed sub/superscripts highlighting

2007-06-27 Thread Georg Baum
Am Mittwoch, 27. Juni 2007 17:39 schrieb Alfredo Braunstein: > Georg Baum wrote: > > >> Alfredo> From a quick research with svn I've found two seemingly > >> Alfredo> relevant (not sure really) entries. Seems we don't output > >> Alfredo> them because it's a problem reading them back? > > > > To

Re: Mathed sub/superscripts highlighting

2007-06-27 Thread Alfredo Braunstein
Georg Baum wrote: >> Alfredo> From a quick research with svn I've found two seemingly >> Alfredo> relevant (not sure really) entries. Seems we don't output >> Alfredo> them because it's a problem reading them back? > > To which braces do you refer? The one of the sub/superscript are AFAIK > alway

Re: Mathed sub/superscripts highlighting

2007-06-27 Thread Georg Baum
Jean-Marc Lasgouttes wrote: >> "Alfredo" == Alfredo Braunstein >> <[EMAIL PROTECTED]> writes: > > Alfredo> Darren Freeman wrote: >>> According to the View->Source panel, these both result in $Ge^{3}$. >>> >>> Did this get broken recently? I have been using this "feature" to >>> put my ch

Re: Mathed sub/superscripts highlighting

2007-06-27 Thread Jean-Marc Lasgouttes
> "Alfredo" == Alfredo Braunstein <[EMAIL PROTECTED]> writes: Alfredo> Darren Freeman wrote: >> According to the View->Source panel, these both result in $Ge^{3}$. >> >> Did this get broken recently? I have been using this "feature" to >> put my chemical elements as the nucleus of a subscript

Re: Mathed sub/superscripts highlighting

2007-06-27 Thread Alfredo Braunstein
Darren Freeman wrote: > According to the View->Source panel, these both result in $Ge^{3}$. > > Did this get broken recently? I have been using this "feature" to put my > chemical elements as the nucleus of a subscript for a while and I'd hate > to think it was for nothing. > > Also, shouldn't L

Re: Mathed sub/superscripts highlighting

2007-06-26 Thread Darren Freeman
On Mon, 2007-05-21 at 17:21 +0200, Jean-Marc Lasgouttes wrote: > > "Darren" == Darren Freeman <[EMAIL PROTECTED]> writes: > > Darren> On Mon, 2007-05-21 at 16:16 +0200, Herbert Voss wrote: > >> {Ge}^3 is different to > >> > >> Ge^3 and G^3 and e^3, which have all the same vertical height. >

Re: Mathed sub/superscripts highlighting

2007-05-22 Thread Enrico Forestieri
On Tue, May 22, 2007 at 07:49:44PM +0200, Andre Poenitz wrote: > On Tue, May 22, 2007 at 02:11:08AM +0200, Enrico Forestieri wrote: > > On Mon, May 21, 2007 at 07:28:40PM +0200, Andre Poenitz wrote: > > > > As I was asking, does this really mean anything? > > > > > > Sure. Just look at the output

Re: Mathed sub/superscripts highlighting

2007-05-22 Thread Andre Poenitz
On Tue, May 22, 2007 at 02:11:08AM +0200, Enrico Forestieri wrote: > On Mon, May 21, 2007 at 07:28:40PM +0200, Andre Poenitz wrote: > > > As I was asking, does this really mean anything? > > > > Sure. Just look at the output of {Ge}^1 and Ge^1. > > > > The superscript is in different heights abov

Re: Mathed sub/superscripts highlighting

2007-05-22 Thread Angus Leeming
Darren Freeman <[EMAIL PROTECTED]> writes: > Hmmm... I recently reported a bug in which I couldn't generate output if > I had math-text with special chars in it, but I think my report wasn't > dealt with. So I ended up leaving them for later in the hopes the bug > would be fixed. > > I like to do

Re: Mathed sub/superscripts highlighting

2007-05-21 Thread Herbert Voss
Enrico Forestieri wrote: > On Mon, May 21, 2007 at 07:28:40PM +0200, Andre Poenitz wrote: > >> On Mon, May 21, 2007 at 11:12:33PM +1000, Darren Freeman wrote: >>> On Mon, 2007-05-21 at 14:52 +0200, Abdelrazak Younes wrote: Darren Freeman wrote: > Is this sensible? Does it have meaning at

Re: Mathed sub/superscripts highlighting

2007-05-21 Thread Herbert Voss
Enrico Forestieri wrote: > On Mon, May 21, 2007 at 05:21:51PM +0200, Jean-Marc Lasgouttes wrote: > >>> "Darren" == Darren Freeman <[EMAIL PROTECTED]> writes: >> Darren> On Mon, 2007-05-21 at 16:16 +0200, Herbert Voss wrote: {Ge}^3 is different to Ge^3 and G^3 and e^3, which have

Re: Mathed sub/superscripts highlighting

2007-05-21 Thread Darren Freeman
On Mon, 2007-05-21 at 19:23 +0200, Andre Poenitz wrote: > On Mon, May 21, 2007 at 10:34:54PM +1000, Darren Freeman wrote: > > Does it have meaning at the LaTeX level but perhaps > > shouldn't be shown to the user? (Such as LyX automatically determining > > who to hang each subscript off at output t

Re: Mathed sub/superscripts highlighting

2007-05-21 Thread Enrico Forestieri
On Mon, May 21, 2007 at 07:28:40PM +0200, Andre Poenitz wrote: > On Mon, May 21, 2007 at 11:12:33PM +1000, Darren Freeman wrote: > > On Mon, 2007-05-21 at 14:52 +0200, Abdelrazak Younes wrote: > > > Darren Freeman wrote: > > > > Is this sensible? Does it have meaning at the LaTeX level but perhaps

Re: Mathed sub/superscripts highlighting

2007-05-21 Thread Enrico Forestieri
On Mon, May 21, 2007 at 05:26:19PM +0200, Abdelrazak Younes wrote: > Jean-Marc Lasgouttes wrote: > >> "Darren" == Darren Freeman <[EMAIL PROTECTED]> writes: > > > > Darren> On Mon, 2007-05-21 at 16:16 +0200, Herbert Voss wrote: > >>> {Ge}^3 is different to > >>> > >>> Ge^3 and G^3 and e^3, wh

Re: Mathed sub/superscripts highlighting

2007-05-21 Thread Enrico Forestieri
On Mon, May 21, 2007 at 05:21:51PM +0200, Jean-Marc Lasgouttes wrote: > > "Darren" == Darren Freeman <[EMAIL PROTECTED]> writes: > > Darren> On Mon, 2007-05-21 at 16:16 +0200, Herbert Voss wrote: > >> {Ge}^3 is different to > >> > >> Ge^3 and G^3 and e^3, which have all the same vertical hei

Re: Mathed sub/superscripts highlighting

2007-05-21 Thread Andre Poenitz
On Mon, May 21, 2007 at 05:37:33PM +0200, Edwin Leuven wrote: > Helge Hafting wrote: > >The only difference here is that one _33 hangs off Ge, and > >the other _33 hangs off Ge^44. Notice how they end up > >at different heights. > > selecting Ge and clicking on superscript put the Ge in the supers

Re: Mathed sub/superscripts highlighting

2007-05-21 Thread Andre Poenitz
On Mon, May 21, 2007 at 11:12:33PM +1000, Darren Freeman wrote: > On Mon, 2007-05-21 at 14:52 +0200, Abdelrazak Younes wrote: > > Darren Freeman wrote: > > > Is this sensible? Does it have meaning at the LaTeX level but perhaps > > > shouldn't be shown to the user? (Such as LyX automatically determ

Re: Mathed sub/superscripts highlighting

2007-05-21 Thread Andre Poenitz
On Mon, May 21, 2007 at 10:34:54PM +1000, Darren Freeman wrote: > Hi all, > > Let's say I enter something in a math insert other than an equation (as > I often do). Pick "Ge33As12Se55" as an example, a chemical formula. > (numbers are subscripts) > > When I'm editing a subscript, the four little

Re: Mathed sub/superscripts highlighting

2007-05-21 Thread Edwin Leuven
Helge Hafting wrote: The only difference here is that one _33 hangs off Ge, and the other _33 hangs off Ge^44. Notice how they end up at different heights. selecting Ge and clicking on superscript put the Ge in the superscript and puts the cursor there: ^{Ge|} perhaps it makes more sense to

Re: Mathed sub/superscripts highlighting

2007-05-21 Thread Abdelrazak Younes
Jean-Marc Lasgouttes wrote: "Darren" == Darren Freeman <[EMAIL PROTECTED]> writes: Darren> On Mon, 2007-05-21 at 16:16 +0200, Herbert Voss wrote: {Ge}^3 is different to Ge^3 and G^3 and e^3, which have all the same vertical height. Darren> So how does one enter {Ge}^3 in LyX other than ERT?

Re: Mathed sub/superscripts highlighting

2007-05-21 Thread Helge Hafting
Jean-Marc Lasgouttes wrote: "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes: As I was asking, does this really mean anything? Abdelrazak> I _don't_ know. But I guess that if the TeX source is Abdelrazak> different, there should be a reason. The vertical

Re: Mathed sub/superscripts highlighting

2007-05-21 Thread Jean-Marc Lasgouttes
> "Darren" == Darren Freeman <[EMAIL PROTECTED]> writes: Darren> On Mon, 2007-05-21 at 16:16 +0200, Herbert Voss wrote: >> {Ge}^3 is different to >> >> Ge^3 and G^3 and e^3, which have all the same vertical height. Darren> So how does one enter {Ge}^3 in LyX other than ERT? Once you have yo

Re: Mathed sub/superscripts highlighting

2007-05-21 Thread Stefan Schimanski
Am 21.05.2007 um 16:48 schrieb Darren Freeman: On Mon, 2007-05-21 at 16:16 +0200, Herbert Voss wrote: {Ge}^3 is different to Ge^3 and G^3 and e^3, which have all the same vertical height. So how does one enter {Ge}^3 in LyX other than ERT? Using \{ maybe? Stefan PGP.sig Description: Si

Re: Mathed sub/superscripts highlighting

2007-05-21 Thread Darren Freeman
On Mon, 2007-05-21 at 16:16 +0200, Herbert Voss wrote: > {Ge}^3 is different to > > Ge^3 and G^3 and e^3, which have all the same vertical height. So how does one enter {Ge}^3 in LyX other than ERT? Have fun, Darren

Re: Mathed sub/superscripts highlighting

2007-05-21 Thread Herbert Voss
Jean-Marc Lasgouttes wrote: >> "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes: > >>> As I was asking, does this really mean anything? > > Abdelrazak> I _don't_ know. But I guess that if the TeX source is > Abdelrazak> different, there should be a reason. > > The vertical align

Re: Mathed sub/superscripts highlighting

2007-05-21 Thread Jean-Marc Lasgouttes
> "Abdelrazak" == Abdelrazak Younes <[EMAIL PROTECTED]> writes: >> As I was asking, does this really mean anything? Abdelrazak> I _don't_ know. But I guess that if the TeX source is Abdelrazak> different, there should be a reason. The vertical alignment depends on the ascent/descent of the

Re: Mathed sub/superscripts highlighting

2007-05-21 Thread Stefan Schimanski
Am 21.05.2007 um 15:12 schrieb Darren Freeman: On Mon, 2007-05-21 at 14:52 +0200, Abdelrazak Younes wrote: Darren Freeman wrote: Is this sensible? Does it have meaning at the LaTeX level but perhaps shouldn't be shown to the user? (Such as LyX automatically determining who to hang each su

Re: Mathed sub/superscripts highlighting

2007-05-21 Thread Abdelrazak Younes
Darren Freeman wrote: On Mon, 2007-05-21 at 14:52 +0200, Abdelrazak Younes wrote: Darren Freeman wrote: Is this sensible? Does it have meaning at the LaTeX level but perhaps shouldn't be shown to the user? (Such as LyX automatically determining who to hang each subscript off at output time inst

Re: Mathed sub/superscripts highlighting

2007-05-21 Thread Darren Freeman
On Mon, 2007-05-21 at 14:52 +0200, Abdelrazak Younes wrote: > Darren Freeman wrote: > > Is this sensible? Does it have meaning at the LaTeX level but perhaps > > shouldn't be shown to the user? (Such as LyX automatically determining > > who to hang each subscript off at output time instead). > > T

Re: Mathed sub/superscripts highlighting

2007-05-21 Thread Abdelrazak Younes
Darren Freeman wrote: Hi all, Let's say I enter something in a math insert other than an equation (as I often do). Pick "Ge33As12Se55" as an example, a chemical formula. (numbers are subscripts) When I'm editing a subscript, the four little corner marks that highlight the subscript will include

Mathed sub/superscripts highlighting

2007-05-21 Thread Darren Freeman
Hi all, Let's say I enter something in a math insert other than an equation (as I often do). Pick "Ge33As12Se55" as an example, a chemical formula. (numbers are subscripts) When I'm editing a subscript, the four little corner marks that highlight the subscript will include the lower-case letter o