Re: [PATCH] centering float contents

2003-09-18 Thread Jean-Marc Lasgouttes
> "Juergen" == Juergen Spitzmueller <[EMAIL PROTECTED]> writes: Juergen> Angus Leeming wrote: >> Nonsense. It is your cake with my icing. Please apply yourself. Juergen> If you insist... But you won't stop me adding you to the Juergen> changelogs. Before I apply, though, I want to have at lea

Re: New feature?

2003-09-18 Thread Andre Poenitz
On Thu, Sep 18, 2003 at 09:17:30PM +0300, Martin Vermeer wrote: > On Thu, Sep 18, 2003 at 05:29:39PM +0200, Andre Poenitz spake thusly: > > > On Thu, Sep 18, 2003 at 05:04:32PM +0200, Pascal Francq wrote: > > > Hi, I have a request that could perhaps be a future feature of LyX > > > concerning th

Re: new menu layout

2003-09-18 Thread Andre Poenitz
On Thu, Sep 18, 2003 at 05:02:39PM -0400, Kuba Ober wrote: > On czwartek 18 wrzesie? 2003 12:50 pm, Andre Poenitz wrote: > > Has anybody thought about how 'support' would look like if everybody has > > a differen UI? > > > > Q: How do I xxx? > > > > A1: Layout->Paragraph > > A2: Edit->Paragraph Set

Re: Support for boxes

2003-09-18 Thread Martin Vermeer
On Thu, Sep 18, 2003 at 10:35:00PM +0100, John Levon spake thusly: > > On Fri, Sep 19, 2003 at 12:30:18AM +0300, Martin Vermeer wrote: > > > + Item "[Boxed]|B" "note-insert Boxed" > > In my usual "trivial carping" mode - please don't. It's visually jarring > and potentially misleading.

Re: Support for boxes

2003-09-18 Thread Martin Vermeer
On Thu, Sep 18, 2003 at 10:51:21PM +, Angus Leeming spake thusly: > > Martin Vermeer wrote: > > > This patch adds support for rectangular frames containing one or more > > paragraphs of text, at the width of the column, using the Note > > infrastructure. > > > > It wouldn't be too hard to ex

Re: Support for boxes

2003-09-18 Thread Angus Leeming
Martin Vermeer wrote: > This patch adds support for rectangular frames containing one or more > paragraphs of text, at the width of the column, using the Note > infrastructure. > > It wouldn't be too hard to extend this to fancybox support. > > Does this look like the right thing to do? What ha

Re: Support for boxes

2003-09-18 Thread John Levon
On Fri, Sep 19, 2003 at 12:30:18AM +0300, Martin Vermeer wrote: > + Item "[Boxed]|B" "note-insert Boxed" In my usual "trivial carping" mode - please don't. It's visually jarring and potentially misleading. (The "correct" way to do something like this is with gnome-style menu icons)

Support for boxes

2003-09-18 Thread Martin Vermeer
This patch adds support for rectangular frames containing one or more paragraphs of text, at the width of the column, using the Note infrastructure. It wouldn't be too hard to extend this to fancybox support. Does this look like the right thing to do? - Martin Index: lib/ui/stdmenus.ui

Re: new menu layout

2003-09-18 Thread Kuba Ober
On czwartek 18 wrzesień 2003 12:50 pm, Andre Poenitz wrote: > Has anybody thought about how 'support' would look like if everybody has > a differen UI? > > Q: How do I xxx? > > A1: Layout->Paragraph > A2: Edit->Paragraph Setting > A3: ... > > This is creating confusion for no good reason. Consider

Re: New feature?

2003-09-18 Thread Martin Vermeer
On Thu, Sep 18, 2003 at 05:29:39PM +0200, Andre Poenitz spake thusly: > On Thu, Sep 18, 2003 at 05:04:32PM +0200, Pascal Francq wrote: > > Hi, I have a request that could perhaps be a future feature of LyX > > concerning the references. When the user inserts a label in a > > document, LyX automa

Re: new menu layout

2003-09-18 Thread John Levon
On Thu, Sep 18, 2003 at 06:50:38PM +0200, Andre Poenitz wrote: > Has anybody thought about how 'support' would look like if everybody has > a differen UI? It's Friday *tomorrow* not today bud. > This is creating confusion for no good reason. I already get enough spam, thanks. -- Khendon's Law:

Re: Separate LyX RPMs and lyx-select.sh

2003-09-18 Thread Angus Leeming
Ling Li wrote: > Hi all, > > I didn't subscribe to the list since it has a huge volume of emails. I > might have missed some discussion on making LyX RPMs like lyx-common, > lyx-xforms and lyx-qt, though I did have checked the archive. > > I modified the lyx.spec file from lyx-1.3.2 source tree

new menu layout

2003-09-18 Thread Andre Poenitz
Has anybody thought about how 'support' would look like if everybody has a differen UI? Q: How do I xxx? A1: Layout->Paragraph A2: Edit->Paragraph Setting A3: ... This is creating confusion for no good reason. Andre' -- Those who desire to give up Freedom in order to gain Security, will not

Re: Qt-UI widget question

2003-09-18 Thread John Levon
On Thu, Sep 18, 2003 at 06:34:40PM +0200, Andre Poenitz wrote: > > in 1.4.0cvs, it's hidden by default under the Qt frontend, precisely > > because it's fairly useless. > > Who made that decision? I did. This was discussed at the time. It's trivial for you to turn in permanently on if you want.

Re: New feature?

2003-09-18 Thread Andre Poenitz
On Thu, Sep 18, 2003 at 05:04:32PM +0200, Pascal Francq wrote: > Hi, I have a request that could perhaps be a future feature of LyX > concerning the references. When the user inserts a label in a > document, LyX automatically adds a prefix (for example "cha:" for a > chapter). This means that ther

New feature?

2003-09-18 Thread Pascal Francq
Hi, I have a request that could perhaps be a future feature of LyX concerning the references. When the user inserts a label in a document, LyX automatically adds a prefix (for example "cha:" for a chapter). This means that there exists a sort of hierarchy between the labels. When you have a big

Re: Core dump on exit after pasting inset in inset

2003-09-18 Thread Angus Leeming
Martin Vermeer wrote: >> ps, see if you can trigger the bug with current cvs. Also the math one... > > Yes, the bug is gone. So is the math bug. Good news indeed. > These kind of bugs based upon unspecified compiler behaviour are hell > to hunt down. I think we did our good deed for this week!

Re: Core dump on exit after pasting inset in inset

2003-09-18 Thread Martin Vermeer
On Thu, Sep 18, 2003 at 12:57:40PM +, Angus Leeming spake thusly: > On Thursday 18 September 2003 11:58 am, Martin Vermeer wrote: > > > your patch and apply mine. Yours is a work around broken behaviour. > > > Mine cures the source of the breakage. > > > > I very much agree -- provided it work

Re: ParagraphList_fwd.h

2003-09-18 Thread Lars Gullik Bjønnes
Andre Poenitz <[EMAIL PROTECTED]> writes: | On Thu, Sep 18, 2003 at 04:09:01PM +0200, Lars Gullik Bjønnes wrote: >> Angus Leeming <[EMAIL PROTECTED]> writes: >> >> | Seems like your knowledge of C++ 'evolves'... >> >> Would you have it any other way? > > | BTW: The Guru oracle concluded that > |

Re: ParagraphList_fwd.h

2003-09-18 Thread Andre Poenitz
On Thu, Sep 18, 2003 at 04:09:01PM +0200, Lars Gullik Bjønnes wrote: > Angus Leeming <[EMAIL PROTECTED]> writes: > > | Seems like your knowledge of C++ 'evolves'... > > Would you have it any other way? BTW: The Guru oracle concluded that #include class T; typedef std

Re: [PATCH] centering float contents

2003-09-18 Thread Andre Poenitz
On Thu, Sep 18, 2003 at 04:05:56PM +0200, Juergen Spitzmueller wrote: > If you insist... But you won't stop me adding you to the changelogs. > Before I apply, though, I want to have at least a "go" or "needs further > discussion" from Jean-Marc and from Lars. Don't get ridiculous. Andre'

Re: ParagraphList_fwd.h

2003-09-18 Thread Lars Gullik Bjønnes
Angus Leeming <[EMAIL PROTECTED]> writes: | Seems like your knowledge of C++ 'evolves'... Would you have it any other way? -- Lgb

Re: [PATCH] centering float contents

2003-09-18 Thread Juergen Spitzmueller
Angus Leeming wrote: > Nonsense. It is your cake with my icing. Please apply yourself. If you insist... But you won't stop me adding you to the changelogs. Before I apply, though, I want to have at least a "go" or "needs further discussion" from Jean-Marc and from Lars. Juergen.

dvipng reports baseline

2003-09-18 Thread Jan-Åke Larsson
Jan-Åke Larsson wrote: > Angus Leeming wrote: > > I use it within LyX to calculate the 'ascent fraction' of the > > snippet. (A snippet whose base line was in the middle of the image > > would have an ascent fraction of 0.5.) The code that does this inside > > LyX is (stripped down): > > > > >

Re: [PATCH] centering float contents

2003-09-18 Thread Angus Leeming
Juergen Spitzmueller wrote: > Angus Leeming wrote: >> Jürgen, I think that the attached patch is conceptually the same as your >> original and (thanks to André) is easier to follow. Please review. > > Except for one typo (below): perfect. Many thanks! > Since I do not want to claim the credit for

Re: [PATCH] centering float contents

2003-09-18 Thread Juergen Spitzmueller
Angus Leeming wrote: > Jürgen, I think that the attached patch is conceptually the same as your > original and (thanks to André) is easier to follow. Please review. Except for one typo (below): perfect. Many thanks! Since I do not want to claim the credit for this undeservedly, I let you apply th

Re: Towards LyX 1.3.3 (status update #2)

2003-09-18 Thread Ronald Florence
On Thursday, September 18, 2003, at 06:56 AM, Jean-Marc Lasgouttes wrote: OK, I tried a less intrusive approach for now. Patch attached. Ronald, I would appreciate if you could find time to check that this patch works as intended, so that I can include it in 1.3.3. The patch works fine: the \su

Re: Towards LyX 1.3.3 (status update #2)

2003-09-18 Thread Jean-Marc Lasgouttes
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: Angus> Multiplication by zero? Yes, I know. However, I decided not to pretend that I understand this code, and thus decided to keep it as-is. The real problem is probably that our fonts are broken, anyway... What I wonder is whether we c

Re: Core dump on exit after pasting inset in inset

2003-09-18 Thread Angus Leeming
On Thursday 18 September 2003 11:58 am, Martin Vermeer wrote: > > your patch and apply mine. Yours is a work around broken behaviour. > > Mine cures the source of the breakage. > > I very much agree -- provided it works. (Do you mean the dialogs.diff > patch you posted here much earlier? But you ca

Re: Core dump on exit after pasting inset in inset

2003-09-18 Thread Martin Vermeer
On Thu, Sep 18, 2003 at 09:05:57AM +, Angus Leeming spake thusly: > Martin Vermeer wrote: > > Here's the patch. > > And I understand how it is triggered. We have a sort of 'race' > condition between the destruction of two static variables. > > In gettext.C: > Messages & getLyXMessages() {

Re: Towards LyX 1.3.3 (status update #2)

2003-09-18 Thread Angus Leeming
Jean-Marc Lasgouttes wrote: > +#if defined(__APPLE__) && defined(__GNUC__) > +if (sym_->inset == "cmex") { > +h_ = 4 * dim_.d / 5; > +dim_.a += 0*h_; Multiplication by zero? -- Angus

Re: Towards LyX 1.3.3 (status update #2)

2003-09-18 Thread Jean-Marc Lasgouttes
> "John" == John Levon <[EMAIL PROTECTED]> writes: John> On Tue, Sep 16, 2003 at 06:37:19PM +0200, Jean-Marc Lasgouttes John> wrote: >> My problem is, how do I do that? I do not have access to such >> information in mathed... So what would be a good place? John> lyx_gui::is_qt_mac() John> I

Re: ParagraphList_fwd.h

2003-09-18 Thread Angus Leeming
Lars Gullik Bjønnes wrote: > Angus Leeming <[EMAIL PROTECTED]> writes: > | The use is that we can forward declare a ParagraphList without > | #including "paragraph.h" in the header file. > It is the legality of this I question. Incidentally, the code in ParagraphList_fwd.h is conceptually identica

Re: [PATCH] centering float contents

2003-09-18 Thread Angus Leeming
Andre Poenitz wrote: > On Thu, Sep 18, 2003 at 10:55:53AM +, Angus Leeming wrote: >> Suitably abashed, I attach the patch. > Some whitespace issues... > Andre' To paraphrase King Henry in T.S.Eliot's Murder in the Cathedral, "Who will rid me of this pedantic German? Jürgen, I think

Re: 1.3.3CVS lyx2lyx

2003-09-18 Thread Angus Leeming
On Wednesday 17 September 2003 8:18 pm, Jean-Marc Lasgouttes wrote: > > "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: > > Angus> Lars Gullik Bjønnes wrote: > >> | Garst> | > >> > >> http://www.mail-archive.com/[EMAIL PROTECTED]/msg60797.html > >> > >> | Thanks. Unfortunately, the patch i

Re: [PATCH] centering float contents

2003-09-18 Thread Andre Poenitz
On Thu, Sep 18, 2003 at 10:55:53AM +, Angus Leeming wrote: > Suitably abashed, I attach the patch. Some whitespace issues... Andre'

Re: [PATCH] centering float contents

2003-09-18 Thread Angus Leeming
Andre Poenitz wrote: > On Thu, Sep 18, 2003 at 10:01:44AM +, Angus Leeming wrote: >> So, the remaining task is to ascertain which correction to apply. >> Something like this (I have more energy this morning ;-) should do >> it: > > Gosh. > > Too much C++ consumption is bad for your mental hea

Re: ParagraphList -> LyXText

2003-09-18 Thread Andre Poenitz
On Thu, Sep 18, 2003 at 11:07:54AM +0200, Lars Gullik Bjønnes wrote: > | Afterall, it's a cache. No more. The only purpose of a cache is to speed > | up things not to cobble things together. > > yes. but we know that if we have a rowcache we will need one for each > BufferView LyXText combo. i.e.

Re: [PATCH] centering float contents

2003-09-18 Thread Andre Poenitz
On Thu, Sep 18, 2003 at 10:01:44AM +, Angus Leeming wrote: > So, the remaining task is to ascertain which correction to apply. > Something like this (I have more energy this morning ;-) should do > it: Gosh. Too much C++ consumption is bad for your mental health. > typedef std::pair StrPai

Re: ParagraphList -> LyXText

2003-09-18 Thread Lars Gullik Bjønnes
Andre Poenitz <[EMAIL PROTECTED]> writes: | On Thu, Sep 18, 2003 at 10:41:05AM +0200, Lars Gullik Bjønnes wrote: >> No. That is exacly it. You are not willing to lift your eyes off the >> ground and see that we want this, and we should not make solutoins now >> that makes this harder. >> >> IMHO

Re: [PATCH] centering float contents

2003-09-18 Thread Angus Leeming
Juergen Spitzmueller wrote: > this looks very sophisticated :-) > I have vaguely thought about something like this, but then I was not > shure if it was worth the effort. Probably it is, though. I will > happily adapt this (if we agree on the fix as such). > > Some question out of interest: > 1. w

Re: Core dump on exit after pasting inset in inset

2003-09-18 Thread Andre Poenitz
On Thu, Sep 18, 2003 at 09:45:06AM +, Angus Leeming wrote: > Andre Poenitz wrote: > > As the destruction order is the reversed construction order you > > could specify a certain order if you need to. > > Let's just not go there in the first place. Fine with me. Andre'

Re: ParagraphList -> LyXText

2003-09-18 Thread Andre Poenitz
On Thu, Sep 18, 2003 at 10:41:05AM +0200, Lars Gullik Bjønnes wrote: > No. That is exacly it. You are not willing to lift your eyes off the > ground and see that we want this, and we should not make solutoins now > that makes this harder. > > IMHO you have already added coded that makes this harde

Re: [patch] counters 3

2003-09-18 Thread Angus Leeming
Lars Gullik Bjønnes wrote: >>> and you should have kept the changes in separate patches. >> > | That is a case of "the pot calling the kettle black" if ever I > | heard one. Witness Garst's request for the lyx2lyx temporary file > | patch to be backported to 1.3.x. A 5 line patch wrapped up in a >

Re: Core dump on exit after pasting inset in inset

2003-09-18 Thread Angus Leeming
Andre Poenitz wrote: > As the destruction order is the reversed construction order you > could specify a certain order if you need to. Let's just not go there in the first place. -- Angus

Re: ParagraphList -> LyXText

2003-09-18 Thread Lars Gullik Bjønnes
Andre Poenitz <[EMAIL PROTECTED]> writes: | On Thu, Sep 18, 2003 at 10:31:57AM +0200, Andre' Poenitz wrote: >> On Thu, Sep 18, 2003 at 10:27:42AM +0200, Lars Gullik Bjønnes wrote: >> > Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: >> > >> > >> "Andre" == Andre Poenitz <[EMAIL PROTECTED]> w

Re: ParagraphList -> LyXText

2003-09-18 Thread Lars Gullik Bjønnes
Andre Poenitz <[EMAIL PROTECTED]> writes: | On Thu, Sep 18, 2003 at 10:27:42AM +0200, Lars Gullik Bjønnes wrote: >> Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: >> >> >> "Andre" == Andre Poenitz <[EMAIL PROTECTED]> writes: >> > >> | Andre> A ParIterator gives me a stack of the ParagraphLi

Re: ParagraphList -> LyXText

2003-09-18 Thread Andre Poenitz
On Thu, Sep 18, 2003 at 10:31:57AM +0200, Andre' Poenitz wrote: > On Thu, Sep 18, 2003 at 10:27:42AM +0200, Lars Gullik Bjønnes wrote: > > Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: > > > > >> "Andre" == Andre Poenitz <[EMAIL PROTECTED]> writes: > > > > > | Andre> A ParIterator gives me

Re: ParagraphList -> LyXText

2003-09-18 Thread Andre Poenitz
On Thu, Sep 18, 2003 at 10:27:42AM +0200, Lars Gullik Bjønnes wrote: > Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: > > >> "Andre" == Andre Poenitz <[EMAIL PROTECTED]> writes: > > > | Andre> A ParIterator gives me a stack of the ParagraphLists involved. > > > | Andre> I want a stack of the

Re: [patch] counters 3

2003-09-18 Thread Lars Gullik Bjønnes
Angus Leeming <[EMAIL PROTECTED]> writes: | Lars Gullik Bjønnes wrote: > >> Andre Poenitz <[EMAIL PROTECTED]> writes: >> >> | On Mon, Sep 15, 2003 at 04:16:37PM +0200, Lars Gullik Bjønnes >> | wrote: | Not from me. Too much effort than I can afford right now. Then _why_ did you be

Re: ParagraphList -> LyXText

2003-09-18 Thread Lars Gullik Bjønnes
Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: >> "Andre" == Andre Poenitz <[EMAIL PROTECTED]> writes: > | Andre> A ParIterator gives me a stack of the ParagraphLists involved. > | Andre> I want a stack of the LyXTexts. Going from the LyXText to the | Andre> ParagraphList 'below' is easy by

Re: Core dump on exit after pasting inset in inset

2003-09-18 Thread Andre Poenitz
On Thu, Sep 18, 2003 at 09:25:41AM +, Angus Leeming wrote: > Alfredo Braunstein wrote: > > > Martin Vermeer wrote: > > > >> 3) I discovered a new (?) bug: > >> > >> a) create an inset, e.g., note; > >> b) insert a math inset into it; > >> c) copy and paste the math inset to inside the note i

Re: Core dump on exit after pasting inset in inset

2003-09-18 Thread Angus Leeming
Alfredo Braunstein wrote: > Martin Vermeer wrote: > >> 3) I discovered a new (?) bug: >> >> a) create an inset, e.g., note; >> b) insert a math inset into it; >> c) copy and paste the math inset to inside the note inset; >> d) exit without saving. > > I don't see it. No, it's going to be a com

Re: [patch] counters 3

2003-09-18 Thread Angus Leeming
Lars Gullik Bjønnes wrote: > Andre Poenitz <[EMAIL PROTECTED]> writes: > > | On Mon, Sep 15, 2003 at 04:16:37PM +0200, Lars Gullik Bjønnes > | wrote: >>> | Not from me. Too much effort than I can afford right now. >>> >>> Then _why_ did you begin cleanup at all? >> > | The same reason why I star

Re: Core dump on exit after pasting inset in inset

2003-09-18 Thread Angus Leeming
Martin Vermeer wrote: > Here's the patch. And I understand how it is triggered. We have a sort of 'race' condition between the destruction of two static variables. In gettext.C: Messages & getLyXMessages() { static Messages lyx_messages; return lyx_messages; } In Dialogs.C names

Re: ParagraphList -> LyXText

2003-09-18 Thread Jean-Marc Lasgouttes
> "Andre" == Andre Poenitz <[EMAIL PROTECTED]> writes: Andre> A ParIterator gives me a stack of the ParagraphLists involved. Andre> I want a stack of the LyXTexts. Going from the LyXText to the Andre> ParagraphList 'below' is easy by using 'ownerParagraphs'. I Andre> need the other direction.

Re: Core dump on exit after pasting inset in inset

2003-09-18 Thread Alfredo Braunstein
Martin Vermeer wrote: > 3) I discovered a new (?) bug: > > a) create an inset, e.g., note; > b) insert a math inset into it; > c) copy and paste the math inset to inside the note inset; > d) exit without saving. I don't see it. Alfredo

Re: Core dump on exit after pasting inset in inset

2003-09-18 Thread Martin Vermeer
On Wed, Sep 17, 2003 at 06:35:10PM +0100, Angus Leeming spake thusly: > > Martin Vermeer wrote: > > Yes! This does the trick. > > Great! I wonder what changed between 13x and 14x in this regard. > > > Shall I prepare a patch? > > Why not. Here's the patch. Notes: 1) To suppress the bug, it w

Re: ParagraphList -> LyXText

2003-09-18 Thread Andre Poenitz
On Wed, Sep 17, 2003 at 07:55:48PM +0200, Lars Gullik Bjønnes wrote: > [EMAIL PROTECTED] (Lars Gullik Bjønnes) writes: > > | Andre Poenitz <[EMAIL PROTECTED]> writes: > > > | | On Wed, Sep 17, 2003 at 07:38:14PM +0200, Andre' Poenitz wrote: > >>> On Wed, Sep 17, 2003 at 07:32:52PM +0200, Lars Gull