Problems with limits and integrals
Hi, since 1.2.1 I experienced a strange behavior of the limits of integral. If I put the limits above and below the Integral either with \limits or with the M-m l shortcut it works fine till I save and reopen the document. After reopening the limit placement changed back to the normal placement like the one for exponents. Is this a known bug? Thanks Thorsten
Re: Problems with limits and integrals
On Wed, Dec 04, 2002 at 11:27:06AM +0100, Thorsten Fischer wrote: since 1.2.1 Does this include 1.3.0cvs? Is this a known bug? Yes, there have been bugs in that area, but I believed they have been squashed. Andre' -- Those who desire to give up Freedom in order to gain Security, will not have, nor do they deserve, either one. (T. Jefferson)
Re: Problems with limits and integrals
Andre == Andre Poenitz [EMAIL PROTECTED] writes: Andre On Wed, Dec 04, 2002 at 11:27:06AM +0100, Thorsten Fischer Andre wrote: since 1.2.1 Andre Does this include 1.3.0cvs? Is this a known bug? Andre Yes, there have been bugs in that area, but I believed they Andre have been squashed. Andre, I can confirm this bug in 1.2.2cvs. Do you have a fix in hand? JMarc
Re: Problems with limits and integrals
On Wed, Dec 04, 2002 at 11:49:28AM +0100, Jean-Marc Lasgouttes wrote: Andre Yes, there have been bugs in that area, but I believed they Andre have been squashed. Andre, I can confirm this bug in 1.2.2cvs. Do you have a fix in hand? No... but now. See attachment. Andre' -- Those who desire to give up Freedom in order to gain Security, will not have, nor do they deserve, either one. (T. Jefferson) Index: src/mathed/math_parser.C === RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/mathed/math_parser.C,v retrieving revision 1.197.2.4 diff -u -p -r1.197.2.4 math_parser.C --- src/mathed/math_parser.C11 Sep 2002 14:47:04 - 1.197.2.4 +++ src/mathed/math_parser.C4 Dec 2002 11:01:34 - @@ -1045,8 +1045,10 @@ void Parser::parse_into1(MathArray arr } p-ensure(up); parse_into(p-cell(up), FLAG_ITEM); - p-limits(limits); - limits = 0; + if (limits) { + p-limits(limits); + limits = 0; + } } else if (t.character() == ']' (flags FLAG_BRACK_END))
Re: Problems with limits and integrals
Thorsten Fischer wrote: Hi, since 1.2.1 I experienced a strange behavior of the limits of integral. If I put the limits above and below the Integral either with \limits or with the M-m l shortcut it works fine till I save and reopen the document. After reopening the limit placement changed back to the normal placement like the one for exponents. Is this a known bug? Thanks Thorsten I had this bug with 1.2.0. (I mentionned it a few months ago here) Sincerely, Olivier.
Re: Problems with limits and integrals
Andre == Andre Poenitz [EMAIL PROTECTED] writes: Andre On Wed, Dec 04, 2002 at 11:49:28AM +0100, Jean-Marc Lasgouttes Andre wrote: Yes, there have been bugs in that area, but I believed Andre they have been squashed. Andre, I can confirm this bug in 1.2.2cvs. Do you have a fix in hand? Andre No... Andre but now. See attachment. Thanks a lot. I commited it. JMarc
Problems with limits and integrals
Hi, since 1.2.1 I experienced a strange behavior of the limits of integral. If I put the limits above and below the Integral either with \limits or with the M-m l shortcut it works fine till I save and reopen the document. After reopening the limit placement changed back to the normal placement like the one for exponents. Is this a known bug? Thanks Thorsten
Re: Problems with limits and integrals
On Wed, Dec 04, 2002 at 11:27:06AM +0100, Thorsten Fischer wrote: since 1.2.1 Does this include 1.3.0cvs? Is this a known bug? Yes, there have been bugs in that area, but I believed they have been squashed. Andre' -- Those who desire to give up Freedom in order to gain Security, will not have, nor do they deserve, either one. (T. Jefferson)
Re: Problems with limits and integrals
Andre == Andre Poenitz [EMAIL PROTECTED] writes: Andre On Wed, Dec 04, 2002 at 11:27:06AM +0100, Thorsten Fischer Andre wrote: since 1.2.1 Andre Does this include 1.3.0cvs? Is this a known bug? Andre Yes, there have been bugs in that area, but I believed they Andre have been squashed. Andre, I can confirm this bug in 1.2.2cvs. Do you have a fix in hand? JMarc
Re: Problems with limits and integrals
On Wed, Dec 04, 2002 at 11:49:28AM +0100, Jean-Marc Lasgouttes wrote: Andre Yes, there have been bugs in that area, but I believed they Andre have been squashed. Andre, I can confirm this bug in 1.2.2cvs. Do you have a fix in hand? No... but now. See attachment. Andre' -- Those who desire to give up Freedom in order to gain Security, will not have, nor do they deserve, either one. (T. Jefferson) Index: src/mathed/math_parser.C === RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/mathed/math_parser.C,v retrieving revision 1.197.2.4 diff -u -p -r1.197.2.4 math_parser.C --- src/mathed/math_parser.C11 Sep 2002 14:47:04 - 1.197.2.4 +++ src/mathed/math_parser.C4 Dec 2002 11:01:34 - @@ -1045,8 +1045,10 @@ void Parser::parse_into1(MathArray arr } p-ensure(up); parse_into(p-cell(up), FLAG_ITEM); - p-limits(limits); - limits = 0; + if (limits) { + p-limits(limits); + limits = 0; + } } else if (t.character() == ']' (flags FLAG_BRACK_END))
Re: Problems with limits and integrals
Thorsten Fischer wrote: Hi, since 1.2.1 I experienced a strange behavior of the limits of integral. If I put the limits above and below the Integral either with \limits or with the M-m l shortcut it works fine till I save and reopen the document. After reopening the limit placement changed back to the normal placement like the one for exponents. Is this a known bug? Thanks Thorsten I had this bug with 1.2.0. (I mentionned it a few months ago here) Sincerely, Olivier.
Re: Problems with limits and integrals
Andre == Andre Poenitz [EMAIL PROTECTED] writes: Andre On Wed, Dec 04, 2002 at 11:49:28AM +0100, Jean-Marc Lasgouttes Andre wrote: Yes, there have been bugs in that area, but I believed Andre they have been squashed. Andre, I can confirm this bug in 1.2.2cvs. Do you have a fix in hand? Andre No... Andre but now. See attachment. Thanks a lot. I commited it. JMarc
Problems with limits and integrals
Hi, since 1.2.1 I experienced a strange behavior of the limits of integral. If I put the limits above and below the Integral either with \limits or with the M-m l shortcut it works fine till I save and reopen the document. After reopening the limit placement changed back to the "normal" placement like the one for exponents. Is this a known bug? Thanks Thorsten
Re: Problems with limits and integrals
On Wed, Dec 04, 2002 at 11:27:06AM +0100, Thorsten Fischer wrote: > since 1.2.1 Does this include 1.3.0cvs? > Is this a known bug? Yes, there have been bugs in that area, but I believed they have been squashed. Andre' -- Those who desire to give up Freedom in order to gain Security, will not have, nor do they deserve, either one. (T. Jefferson)
Re: Problems with limits and integrals
> "Andre" == Andre Poenitz <[EMAIL PROTECTED]> writes: Andre> On Wed, Dec 04, 2002 at 11:27:06AM +0100, Thorsten Fischer Andre> wrote: >> since 1.2.1 Andre> Does this include 1.3.0cvs? >> Is this a known bug? Andre> Yes, there have been bugs in that area, but I believed they Andre> have been squashed. Andre, I can confirm this bug in 1.2.2cvs. Do you have a fix in hand? JMarc
Re: Problems with limits and integrals
On Wed, Dec 04, 2002 at 11:49:28AM +0100, Jean-Marc Lasgouttes wrote: > Andre> Yes, there have been bugs in that area, but I believed they > Andre> have been squashed. > > Andre, I can confirm this bug in 1.2.2cvs. Do you have a fix in hand? No... but now. See attachment. Andre' -- Those who desire to give up Freedom in order to gain Security, will not have, nor do they deserve, either one. (T. Jefferson) Index: src/mathed/math_parser.C === RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/mathed/math_parser.C,v retrieving revision 1.197.2.4 diff -u -p -r1.197.2.4 math_parser.C --- src/mathed/math_parser.C11 Sep 2002 14:47:04 - 1.197.2.4 +++ src/mathed/math_parser.C4 Dec 2002 11:01:34 - @@ -1045,8 +1045,10 @@ void Parser::parse_into1(MathArray & arr } p->ensure(up); parse_into(p->cell(up), FLAG_ITEM); - p->limits(limits); - limits = 0; + if (limits) { + p->limits(limits); + limits = 0; + } } else if (t.character() == ']' && (flags & FLAG_BRACK_END))
Re: Problems with limits and integrals
Thorsten Fischer wrote: > Hi, > > since 1.2.1 I experienced a strange behavior of the limits of integral. If I > put the limits above and below the Integral either with \limits or with the > M-m l shortcut it works fine till I save and reopen the document. > After reopening the limit placement changed back to the "normal" placement > like the one for exponents. > > Is this a known bug? > > Thanks > > Thorsten I had this bug with 1.2.0. (I mentionned it a few months ago here) Sincerely, Olivier.
Re: Problems with limits and integrals
> "Andre" == Andre Poenitz <[EMAIL PROTECTED]> writes: Andre> On Wed, Dec 04, 2002 at 11:49:28AM +0100, Jean-Marc Lasgouttes Andre> wrote: Yes, there have been bugs in that area, but I believed Andre> they have been squashed. >> Andre, I can confirm this bug in 1.2.2cvs. Do you have a fix in >> hand? Andre> No... Andre> but now. See attachment. Thanks a lot. I commited it. JMarc