Re: mathed backslash replace magic

2018-09-03 Thread Daniel
On 03/09/2018 17:21, Scott Kostyshak wrote: On Mon, Sep 03, 2018 at 12:07:14PM +0200, Jean-Marc Lasgouttes wrote: Le 02/09/2018 à 05:21, Scott Kostyshak a écrit : If I highlight "A" in mathed and type \mathbb, the "A" is replaced by \mathbb{A}. I like that. Would we want the same behavior if we

Re: mathed backslash replace magic

2018-09-03 Thread Scott Kostyshak
On Mon, Sep 03, 2018 at 12:07:14PM +0200, Jean-Marc Lasgouttes wrote: > Le 02/09/2018 à 05:21, Scott Kostyshak a écrit : > > If I highlight "A" in mathed and type \mathbb, the "A" is > > replaced by \mathbb{A}. I like that. Would we want the same behavior if > > we select something and type \not ?

Re: mathed backslash replace magic

2018-09-03 Thread Jean-Marc Lasgouttes
Le 02/09/2018 à 05:21, Scott Kostyshak a écrit : If I highlight "A" in mathed and type \mathbb, the "A" is replaced by \mathbb{A}. I like that. Would we want the same behavior if we select something and type \not ? Actu ally, \not is special: it is a zero width character. Type "=", put cursor

Re: mathed crash

2018-04-27 Thread Jean-Marc Lasgouttes
Le 27/04/2018 à 03:03, Richard Kimberly Heck a écrit : Yes, go ahead. It will let it get some testing before release. Done, thanks. No status.23x entry necessary, since this is new code. JMarc

Re: mathed crash

2018-04-26 Thread Richard Kimberly Heck
On 04/26/2018 05:33 PM, Jean-Marc Lasgouttes wrote: > Le 18/04/2018 à 14:18, Pavel Sanda a écrit : >> Jean-Marc Lasgouttes wrote: >>> Le 17/04/2018 ?? 11:52, Jean-Marc Lasgouttes a écrit : Sorry for being slow on this. As I understand it, the crash is related to the new painting arch

Re: mathed crash

2018-04-26 Thread Jean-Marc Lasgouttes
Le 18/04/2018 à 14:18, Pavel Sanda a écrit : Jean-Marc Lasgouttes wrote: Le 17/04/2018 ?? 11:52, Jean-Marc Lasgouttes a écrit : Sorry for being slow on this. As I understand it, the crash is related to the new painting architecture and therefore probably exists in 2.3.x too. This is the one I n

Re: mathed crash

2018-04-18 Thread Pavel Sanda
Jean-Marc Lasgouttes wrote: >> I will have to check with qt5 again but master is dead slow again for >> cursor >> movement (even without this patch). Perhaps we killed it in previous >> patches, >> 2.3. still looks ok. > > This is very bad. I'd appreciate a bisect if you can. I must take this pa

Re: mathed crash

2018-04-18 Thread Scott Kostyshak
On Wed, Apr 18, 2018 at 02:47:36PM +, Jean-Marc Lasgouttes wrote: > Le 18/04/2018 à 16:45, Scott Kostyshak a écrit : > > > Scott, I would be interested to know whether you can still reproduce the > > > Spanish keyboard issue. > > > > Yes, I still see it with current master + your patch. > > O

Re: mathed crash

2018-04-18 Thread Pavel Sanda
Jean-Marc Lasgouttes wrote: >>> Please test this experimental patch. It should cure the crash. >> I can confirm that the crash is gone with this patch. > > It had better be gone, I removed the relevant code :) The question is > whether cursor display is still OK. I saw tiny glitch, but might be t

Re: mathed crash

2018-04-18 Thread Jean-Marc Lasgouttes
Le 18/04/2018 à 16:45, Scott Kostyshak a écrit : Scott, I would be interested to know whether you can still reproduce the Spanish keyboard issue. Yes, I still see it with current master + your patch. OK, what do you mean by Spanish keyboard? A physical Spanish keyboard or the internal LyX ke

Re: mathed crash

2018-04-18 Thread Scott Kostyshak
On Wed, Apr 18, 2018 at 08:47:59AM +, Jean-Marc Lasgouttes wrote: > Le 17/04/2018 à 11:52, Jean-Marc Lasgouttes a écrit : > > Sorry for being slow on this. As I understand it, the crash is related > > to the new painting architecture and therefore probably exists in 2.3.x > > too. This is the o

Re: mathed crash

2018-04-18 Thread Jean-Marc Lasgouttes
Le 18/04/2018 à 14:18, Pavel Sanda a écrit : Jean-Marc Lasgouttes wrote: Le 17/04/2018 ?? 11:52, Jean-Marc Lasgouttes a écrit : Sorry for being slow on this. As I understand it, the crash is related to the new painting architecture and therefore probably exists in 2.3.x too. This is the one I n

Re: mathed crash

2018-04-18 Thread Pavel Sanda
Jean-Marc Lasgouttes wrote: > Le 17/04/2018 ?? 11:52, Jean-Marc Lasgouttes a écrit : >> Sorry for being slow on this. As I understand it, the crash is related to >> the new painting architecture and therefore probably exists in 2.3.x too. >> This is the one I need to fix first. I have an idea, bu

Re: mathed crash

2018-04-18 Thread Pavel Sanda
Pavel Sanda wrote: > Hi JMarc, > > we likely have new crash related to the latest mathed cursor patch: > > 1. load the document (I will send privately though) > 2. go to section 7.2, in the midst of paragraph there is last There is something weird going on with our section counters. When lyx cra

Re: mathed crash

2018-04-18 Thread Jean-Marc Lasgouttes
Le 17/04/2018 à 11:52, Jean-Marc Lasgouttes a écrit : Sorry for being slow on this. As I understand it, the crash is related to the new painting architecture and therefore probably exists in 2.3.x too. This is the one I need to fix first. I have an idea, but I have to see how it works. This sho

Re: mathed crash

2018-04-17 Thread Jean-Marc Lasgouttes
Le 06/04/2018 à 18:33, Pavel Sanda a écrit : Hi JMarc, we likely have new crash related to the latest mathed cursor patch: 1. load the document (I will send privately though) 2. go to section 7.2, in the midst of paragraph there is last CA^{2+} in mathed, put the cursor just behind it 3. no

Re: Mathed completion popup

2008-02-21 Thread Stefan Schimanski
Commited. Please report any problems with it. Thanks Stefan Am 21.02.2008 um 16:40 schrieb Stefan Schimanski: Am 21.02.2008 um 16:18 schrieb Abdelrazak Younes: Stefan Schimanski wrote: there are 2 problems in this: firstly this cause much more disturbing spaces of text begining in case

Re: Mathed completion popup

2008-02-21 Thread Stefan Schimanski
Am 21.02.2008 um 16:18 schrieb Abdelrazak Younes: Stefan Schimanski wrote: there are 2 problems in this: firstly this cause much more disturbing spaces of text begining in case no icon is available, secondly images are not the same width as you have already written. Maybe we can use a sp

Re: Mathed completion popup

2008-02-21 Thread Abdelrazak Younes
Edwin Leuven wrote: Abdelrazak Younes wrote: The first alpha is coming soon... hurry up! ;-) why not annouce an official freeze next week for example to give people like stefan (and tommaso perhaps) some time to commit their stuff? That would be sensible indeed. Abdel.

Re: Mathed completion popup

2008-02-21 Thread Edwin Leuven
Abdelrazak Younes wrote: The first alpha is coming soon... hurry up! ;-) why not annouce an official freeze next week for example to give people like stefan (and tommaso perhaps) some time to commit their stuff?

Re: Mathed completion popup

2008-02-21 Thread Abdelrazak Younes
Stefan Schimanski wrote: there are 2 problems in this: firstly this cause much more disturbing spaces of text begining in case no icon is available, secondly images are not the same width as you have already written. Maybe we can use a space-holder icon, and scale others to the same size? Sol

Re: Mathed completion popup

2008-02-21 Thread Stefan Schimanski
there are 2 problems in this: firstly this cause much more disturbing spaces of text begining in case no icon is available, secondly images are not the same width as you have already written. Maybe we can use a space-holder icon, and scale others to the same size? Solved it already. With a t

Re: Mathed completion popup

2008-02-21 Thread Bo Peng
> there are 2 problems in this: firstly this cause much more disturbing > spaces of text begining in case no icon is available, secondly images > are not the same width as you have already written. Maybe we can use a space-holder icon, and scale others to the same size? Bo

Re: Mathed completion popup

2008-02-21 Thread Pavel Sanda
> > i see. imho images should be after text, so all text items are aligned to > > the left > > border. > > It would be better if images have the same size, and be kept to the > left. This can avoid irregular spaces after short symbol names. there are 2 problems in this: firstly this cause much

Re: Mathed completion popup

2008-02-20 Thread Abdelrazak Younes
Stefan Schimanski wrote: Am 20.02.2008 um 12:11 schrieb Pavel Sanda: A small progress report of the patch: I made it very generic now and am on the way to implement completion for the text mode as well. You can see a tiny screencast here: just a crazy idea... would it be hard to add the ima

Re: Mathed completion popup

2008-02-20 Thread Bo Peng
> i see. imho images should be after text, so all text items are aligned to > the left > border. It would be better if images have the same size, and be kept to the left. This can avoid irregular spaces after short symbol names. Bo

Re: Mathed completion popup

2008-02-20 Thread Pavel Sanda
> > Am 20.02.2008 um 12:11 schrieb Pavel Sanda: > >>> A small progress report of the patch: I made it very generic now and am >>> on >>> the way to implement completion for the text mode as well. You can see a >>> tiny screencast here: >> >> just a crazy idea... would it be hard to add the image o

Re: Mathed completion popup

2008-02-20 Thread Stefan Schimanski
Am 20.02.2008 um 12:11 schrieb Pavel Sanda: A small progress report of the patch: I made it very generic now and am on the way to implement completion for the text mode as well. You can see a tiny screencast here: just a crazy idea... would it be hard to add the image of the symbols to

Re: Mathed completion popup

2008-02-20 Thread Richard Heck
Stefan Schimanski wrote: Also, users may prefer 1. disable this at all, 2. completion on request (shortcut), or 3. automatic completion list. Sure, I added a preference section for those things. I am aware that everybody has his own taste concerning completion. The preference I'd most like t

Re: Mathed completion popup

2008-02-20 Thread Bo Peng
> Very simple at the moment. I just add words with length > 5 to a > std::set during typing. Of course something more clever is > needed here. As long as you abstract the logic of this to an independent class, it can be improved later. Also, users may prefer 1. disable this at all, 2. completi

Re: Mathed completion popup

2008-02-20 Thread Stefan Schimanski
Am 20.02.2008 um 17:05 schrieb Bo Peng: Very simple at the moment. I just add words with length > 5 to a std::set during typing. Of course something more clever is needed here. As long as you abstract the logic of this to an independent class, it can be improved later. The logic for adding

Re: Mathed completion popup

2008-02-20 Thread Stefan Schimanski
Am 20.02.2008 um 16:47 schrieb Bo Peng: ... and am on the way to implement completion for the text mode as well. Done. Good night! Ohhm, what is the algorithm to determine the candidate word list? Very simple at the moment. I just add words with length > 5 to a std::set during typing.

Re: Mathed completion popup

2008-02-20 Thread Bo Peng
> > ... and am on the way to implement completion for the text mode as well. > > Done. Good night! Ohhm, what is the algorithm to determine the candidate word list? Bo

Re: Mathed completion popup

2008-02-20 Thread Stefan Schimanski
Am 20.02.2008 um 12:11 schrieb Pavel Sanda: A small progress report of the patch: I made it very generic now and am on the way to implement completion for the text mode as well. You can see a tiny screencast here: just a crazy idea... would it be hard to add the image of the symbols to

Re: Mathed completion popup

2008-02-20 Thread Pavel Sanda
> A small progress report of the patch: I made it very generic now and am on > the way to implement completion for the text mode as well. You can see a > tiny screencast here: just a crazy idea... would it be hard to add the image of the symbols to the menu? we already have symbols and their ma

Re: Mathed completion popup

2008-02-20 Thread Martin Vermeer
On Tue, 19 Feb 2008 21:38:24 +0100 Stefan Schimanski <[EMAIL PROTECTED]> wrote: > Hi! > > A small progress report of the patch: I made it very generic now and > am on the way to implement completion for the text mode as well. You > can see a tiny screencast here: > >http://www.youtube.co

Re: Mathed completion popup

2008-02-19 Thread Stefan Schimanski
Am 19.02.2008 um 21:38 schrieb Stefan Schimanski: ... and am on the way to implement completion for the text mode as well. Done. Good night! Stefan <>

Re: Mathed completion popup

2008-02-19 Thread Abdelrazak Younes
Stefan Schimanski wrote: Hi! A small progress report of the patch: I made it very generic now and am on the way to implement completion for the text mode as well. You can see a tiny screencast here: http://www.youtube.com/watch?v=vf3zSa9x2F4 That is impressive stuff Stefan! Abdel.

Re: Mathed completion popup

2008-02-19 Thread Stefan Schimanski
Hi! A small progress report of the patch: I made it very generic now and am on the way to implement completion for the text mode as well. You can see a tiny screencast here: http://www.youtube.com/watch?v=vf3zSa9x2F4 Stefan Am 06.02.2008 um 00:49 schrieb Stefan Schimanski: Hi! I was

Re: Mathed completion popup

2008-02-06 Thread Andre Poenitz
On Wed, Feb 06, 2008 at 12:49:02AM +0100, Stefan Schimanski wrote: > Hi! > > I was wondering today how complicated it would be to add a completion popup > to mathed. Well, it took me three hours and here it is. Of course here and > there, there are some rough edges and it has to be cleaned up, bu

Re: Mathed completion popup

2008-02-06 Thread Jean-Marc Lasgouttes
Abdelrazak Younes <[EMAIL PROTECTED]> writes: > Everybody should realize that and try to bring some "bling bling" to > our application. Tu quoque, mi fili ! JMarc

Re: Mathed completion popup

2008-02-06 Thread Abdelrazak Younes
Stefan Schimanski wrote: Am 06.02.2008 um 09:18 schrieb Abdelrazak Younes: Stefan Schimanski wrote: Hi! I was wondering today how complicated it would be to add a completion popup to mathed. Well, it took me three hours and here it is. This looks very useful Stefan. Could you try to make t

Re: Mathed completion popup

2008-02-06 Thread Stefan Schimanski
Am 06.02.2008 um 09:18 schrieb Abdelrazak Younes: Stefan Schimanski wrote: Hi! I was wondering today how complicated it would be to add a completion popup to mathed. Well, it took me three hours and here it is. This looks very useful Stefan. Could you try to make the GUI implementation

Re: Mathed completion popup

2008-02-06 Thread Abdelrazak Younes
Stefan Schimanski wrote: Hi! I was wondering today how complicated it would be to add a completion popup to mathed. Well, it took me three hours and here it is. This looks very useful Stefan. Could you try to make the GUI implementation generic enough so that it could be used within texted

Re: Mathed completion popup

2008-02-05 Thread rgheck
Stefan Schimanski wrote: Hi! I was wondering today how complicated it would be to add a completion popup to mathed. Well, it took me three hours and here it is. Of course here and there, there are some rough edges and it has to be cleaned up, but it's easier than I expected. Well, I can se

Re: mathed display broken?

2007-10-03 Thread Abdelrazak Younes
Andre Poenitz wrote: On Wed, Oct 03, 2007 at 08:42:31AM +0200, Abdelrazak Younes wrote: Andre Poenitz wrote: Mathed does not display anymore those blue boxes for empty cells. Anybody feeling responsible? I think I do... where is the code that draws those blue boxes? MathData.cpp:296 Thanks

Re: mathed display broken?

2007-10-03 Thread Andre Poenitz
On Wed, Oct 03, 2007 at 08:42:31AM +0200, Abdelrazak Younes wrote: > Andre Poenitz wrote: > >Mathed does not display anymore those blue boxes for empty cells. > >Anybody feeling responsible? > > I think I do... where is the code that draws those blue boxes? MathData.cpp:296 Andre'

Re: mathed display broken?

2007-10-02 Thread Abdelrazak Younes
Andre Poenitz wrote: Mathed does not display anymore those blue boxes for empty cells. Anybody feeling responsible? I think I do... where is the code that draws those blue boxes? Abdel.

Re: Mathed bug?

2007-08-30 Thread Martin Vermeer
On Thu, 30 Aug 2007 08:14:21 +0200 Andre Poenitz <[EMAIL PROTECTED]> wrote: > On Thu, Aug 30, 2007 at 07:39:32AM +0300, Martin Vermeer wrote: > > On Wed, Aug 29, 2007 at 08:13:42PM +0300, Martin Vermeer wrote: > > > When doing the localization, I found a funny looking string in > > > InsetMathCas

Re: Mathed bug?

2007-08-29 Thread Andre Poenitz
On Thu, Aug 30, 2007 at 07:39:32AM +0300, Martin Vermeer wrote: > On Wed, Aug 29, 2007 at 08:13:42PM +0300, Martin Vermeer wrote: > > When doing the localization, I found a funny looking string in > > InsetMathCases. I think it is a mistake, and should be like the > > attached. OK? > > > > - Mart

Re: Mathed bug?

2007-08-29 Thread Martin Vermeer
On Wed, Aug 29, 2007 at 08:13:42PM +0300, Martin Vermeer wrote: > When doing the localization, I found a funny looking string in > InsetMathCases. I think it is a mistake, and should be like the > attached. OK? > > - Martin > > Index: InsetMathCases.cpp > ===

Re: Mathed bug?

2007-08-29 Thread Andre Poenitz
On Wed, Aug 29, 2007 at 08:13:42PM +0300, Martin Vermeer wrote: > When doing the localization, I found a funny looking string in > InsetMathCases. I think it is a mistake, and should be like the > attached. OK? Doesn't look wrong. Andre'

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

Re: mathed plain text output

2007-02-24 Thread Georg Baum
Am Samstag, 24. Februar 2007 16:12 schrieb Michael Gerz: > Georg Baum schrieb: > > No. Can you show me how the code path is? I don't understand it. AFAIK the > > only interface between text and math is InsetMathHull (even for macros). > > Therefore I don't understand why any other math inset need

Re: mathed plain text output

2007-02-24 Thread Michael Gerz
Georg Baum schrieb: No. Can you show me how the code path is? I don't understand it. AFAIK the only interface between text and math is InsetMathHull (even for macros). Therefore I don't understand why any other math inset needs a plaintext method (it is never called in mathed, only from outside).

Re: mathed plain text output

2007-02-23 Thread Andre Poenitz
On Fri, Feb 23, 2007 at 08:32:24AM +0100, Jean-Marc Lasgouttes wrote: > > "Michael" == Michael Gerz <[EMAIL PROTECTED]> writes: > > Michael> Georg, it turned out that InsetMathHull is not the only place > Michael> where plaintext() is needed. Math macros are output in - > Michael> surprise, su

Re: mathed plain text output

2007-02-23 Thread Georg Baum
Michael Gerz wrote: > Georg, > > it turned out that InsetMathHull is not the only place where plaintext() > is needed. Math macros are output in - surprise, surprise - > InsetMathDim. Does this make sense to you? No. Can you show me how the code path is? I don't understand it. AFAIK the only int

Re: mathed plain text output

2007-02-22 Thread Jean-Marc Lasgouttes
> "Michael" == Michael Gerz <[EMAIL PROTECTED]> writes: Michael> Georg, it turned out that InsetMathHull is not the only place Michael> where plaintext() is needed. Math macros are output in - Michael> surprise, surprise - InsetMathDim. Does this make sense to Michael> you? Michael> I am temp

Re: mathed naming

2006-09-09 Thread Andre Poenitz
On Fri, Sep 08, 2006 at 10:25:44AM +0200, Jean-Marc Lasgouttes wrote: > Andre> With Inset unification being the big goal math insets are > Andre> 'real' insets. > > There has to be some difference between insets that live in some > wrappers (math insets, insettext in some way) and insets that can

Re: mathed naming

2006-09-08 Thread Jean-Marc Lasgouttes
> "Andre" == Andre Poenitz <[EMAIL PROTECTED]> writes: >> Well, since math insets are not really insets that can be used in >> the rest of LyX, it may make more sense to only rename the ones >> that derive from InsetOld (and maybe even move them to src/insets/ >> directory?) Andre> With Inse

Re: mathed naming

2006-09-06 Thread Andre Poenitz
On Tue, Sep 05, 2006 at 12:23:34PM +0200, Jean-Marc Lasgouttes wrote: > > "Andre" == Andre Poenitz <[EMAIL PROTECTED]> writes: > > Andre> I plan to do some cosmetic changes to mathed/*. > > Andre> (1) Rename MathSqrtInset to InsetSqrt (in line with insets/*) > Andre> (2) Rename the files into

Re: mathed naming

2006-09-05 Thread Jean-Marc Lasgouttes
> "Andre" == Andre Poenitz <[EMAIL PROTECTED]> writes: Andre> I plan to do some cosmetic changes to mathed/*. Andre> (1) Rename MathSqrtInset to InsetSqrt (in line with insets/*) Andre> (2) Rename the files into InsetSqrt.{h,C} (3) put everything Andre> into namespace lyx Andre> Objections?

Re: [PATCH] Re: mathed script oddity (also bug 2139)

2005-12-02 Thread Helge Hafting
Juergen Spitzmueller wrote: Helge Hafting wrote: Mathed can be brought into a strange state where the keys ^ and _ doesn't work as expected. 1. Activate math, type the word test 2. Press ^ to get superscript 3. Press space, this ought to cancel superscript 4. Press ^ again, note that inst

Re: [PATCH] Re: mathed script oddity (also bug 2139)

2005-12-01 Thread Jean-Marc Lasgouttes
Please apply the patch. JMarc

Re: [PATCH] Re: mathed script oddity (also bug 2139)

2005-12-01 Thread Juergen Spitzmueller
Georg Baum wrote: > > Please test. > > It fixes 2139 for me, and I could not find problems (I did not test this > one). Thanks. The fix is obvious. The cursor tries (in both bug 2139 and Helge's case) to enter a cell of the scriptinset which does not yet (or no longer) exist, and fails. MathScri

Re: [PATCH] Re: mathed script oddity (also bug 2139)

2005-12-01 Thread Georg Baum
Juergen Spitzmueller wrote: > Yes, this is a regression. The attached patch fixes it, so that the > expected script is inserted (the corners are still there, indicating that > the last letter "t" is the base of the script inset). > > This also fixes bug 2139 (No exponent and subscript in Sum, Pro

  1   2   3   4   5   6   >