Re: Floats in layout files

2002-09-09 Thread Lars Gullik Bjønnes
Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: | Lars Gullik Bjønnes wrote: >> This is my patch for this. >> This is basic support, it can be enhanced with, NoFloat, CopyFloat >> etc. if wanted. > | A question: why have a LyXTextClass readFloat instead of Floating::read? | The later could also

Re: Simplify counter code (Was: Floats in layout files)

2002-09-05 Thread Lars Gullik Bjønnes
Martin Vermeer <[EMAIL PROTECTED]> writes: | On Thu, Sep 05, 2002 at 01:51:46PM +0200, Lars Gullik Bjønnes wrote: | | > Ok, thanks. | > | > How do this patch look to you then? | | Good... but you need to add algorithm (and plate, planotable) to the | list in Counters if you want these to wor

Re: Simplify counter code (Was: Floats in layout files)

2002-09-05 Thread Martin Vermeer
On Thu, Sep 05, 2002 at 01:51:46PM +0200, Lars Gullik Bjønnes wrote: > Ok, thanks. > > How do this patch look to you then? Good... but you need to add algorithm (and plate, planotable) to the list in Counters if you want these to work currently. I suspect you want to get rid of this altogethe

Simplify counter code (Was: Floats in layout files)

2002-09-05 Thread Lars Gullik Bjønnes
Martin Vermeer <[EMAIL PROTECTED]> writes: | On Thu, Sep 05, 2002 at 12:11:39PM +0300, Martin Vermeer wrote: | | > I suspect that your statement | > | > buf->counters().reset("enum"); | > | > may be too simple. Remember the non-standard pre-increment :-) | | Do it like this: | | //

Re: Floats in layout files

2002-09-05 Thread Lars Gullik Bjønnes
Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: | Lars Gullik Bjønnes wrote: | > This is my patch for this. | > This is basic support, it can be enhanced with, NoFloat, CopyFloat | > etc. if wanted. | | A question: why have a LyXTextClass readFloat instead of Floating::read? It was the minimal

Re: Floats in layout files

2002-09-05 Thread Martin Vermeer
On Thu, Sep 05, 2002 at 12:11:39PM +0300, Martin Vermeer wrote: > I suspect that your statement > > buf->counters().reset("enum"); > > may be too simple. Remember the non-standard pre-increment :-) Do it like this: // reset the enumeration counter. They are always resetted /

Re: Floats in layout files

2002-09-05 Thread Martin Vermeer
On Wed, Sep 04, 2002 at 06:20:15PM +0200, Lars Gullik Bjønnes wrote: > Martin Vermeer <[EMAIL PROTECTED]> writes: > > | On Wed, Sep 04, 2002 at 04:56:13PM +0200, Lars Gullik Bjønnes wrote: > | > | > Ok, but for Algorithm, this problem must have been there earlier as > | > well? > | > | Undou

Re: Floats in layout files

2002-09-05 Thread Jean-Marc Lasgouttes
Lars Gullik Bjønnes wrote: > This is my patch for this. > This is basic support, it can be enhanced with, NoFloat, CopyFloat > etc. if wanted. A question: why have a LyXTextClass readFloat instead of Floating::read? The later could also be used if we decided to save float definitions elsewhere.

Re: Floats in layout files

2002-09-04 Thread Lars Gullik Bjønnes
Martin Vermeer <[EMAIL PROTECTED]> writes: | On Wed, Sep 04, 2002 at 04:56:13PM +0200, Lars Gullik Bjønnes wrote: | | > Ok, but for Algorithm, this problem must have been there earlier as | > well? | | Undoubtedly... but I had no algorithm listings in my test files :-) I have a counters patch

Re: Floats in layout files

2002-09-04 Thread Martin Vermeer
On Wed, Sep 04, 2002 at 04:56:13PM +0200, Lars Gullik Bjønnes wrote: > Ok, but for Algorithm, this problem must have been there earlier as > well? Undoubtedly... but I had no algorithm listings in my test files :-) > -- > Lgb > Martin msg44033/pgp0.pgp Description: PGP signat

Re: Floats in layout files

2002-09-04 Thread Lars Gullik Bjønnes
Martin Vermeer <[EMAIL PROTECTED]> writes: | On Mon, Sep 02, 2002 at 11:09:32PM +0200, Lars Gullik Bjønnes wrote: | | > This is my patch for this. | > This is basic support, it can be enhanced with, NoFloat, CopyFloat | > etc. if wanted. | > | > The fileformat changed slightly after the exampl

Re: Floats in layout files

2002-09-04 Thread Martin Vermeer
On Mon, Sep 02, 2002 at 11:09:32PM +0200, Lars Gullik Bjønnes wrote: > This is my patch for this. > This is basic support, it can be enhanced with, NoFloat, CopyFloat > etc. if wanted. > > The fileformat changed slightly after the example I posted ealier. > > Comments please. > After setting

Re: Floats in layout files

2002-09-03 Thread Angus Leeming
On Tuesday 03 September 2002 10:43 am, Martin Vermeer wrote: > On Tue, Sep 03, 2002 at 12:34:06PM +0300, Martin Vermeer wrote: > > I agree with Angus though: why not use the sh convertDefault.sh syntax? > > > > > > Martin > > Here's the patch. Tested and works (for convertDefault at least). > > 03

Re: Floats in layout files

2002-09-03 Thread Andre Poenitz
On Tue, Sep 03, 2002 at 12:53:33PM +0200, Lars Gullik Bjønnes wrote: > Andre Poenitz <[EMAIL PROTECTED]> writes: > > | On Mon, Sep 02, 2002 at 11:09:32PM +0200, Lars Gullik Bjønnes wrote: > | > This is my patch for this. > | > This is basic support, it can be enhanced with, NoFloat, CopyFloat > |

Re: Floats in layout files

2002-09-03 Thread Lars Gullik Bjønnes
Andre Poenitz <[EMAIL PROTECTED]> writes: | On Mon, Sep 02, 2002 at 11:09:32PM +0200, Lars Gullik Bjønnes wrote: | > This is my patch for this. | > This is basic support, it can be enhanced with, NoFloat, CopyFloat | > etc. if wanted. | > | > The fileformat changed slightly after the example I p

Re: Floats in layout files

2002-09-03 Thread Andre Poenitz
On Mon, Sep 02, 2002 at 11:09:32PM +0200, Lars Gullik Bjønnes wrote: > This is my patch for this. > This is basic support, it can be enhanced with, NoFloat, CopyFloat > etc. if wanted. > > The fileformat changed slightly after the example I posted ealier. > > Comments please. Looks ok. No way t

Re: Floats in layout files

2002-09-03 Thread Martin Vermeer
On Tue, Sep 03, 2002 at 12:34:06PM +0300, Martin Vermeer wrote: > I agree with Angus though: why not use the sh convertDefault.sh syntax? > > > Martin Here's the patch. Tested and works (for convertDefault at least). 03-09-2002 Martin Vermeer <[EMAIL PROTECTED]> * graphics/Gra

Re: Floats in layout files

2002-09-03 Thread Martin Vermeer
On Tue, Sep 03, 2002 at 12:00:05PM +0300, Martin Vermeer wrote: > I do have a problem with graphics though. Every time I try to latex an > eps, I get this, undoubtedly unrelated: > > > execvp of "/home/mv/lyx-devel/lib/scripts/convertDefault.sh > /home/mv/lyx-devel/lib/scripts/convertDefault.s

Re: Floats in layout files

2002-09-03 Thread Martin Vermeer
On Mon, Sep 02, 2002 at 11:09:32PM +0200, Lars Gullik Bjønnes wrote: > This is my patch for this. > This is basic support, it can be enhanced with, NoFloat, CopyFloat > etc. if wanted. > > The fileformat changed slightly after the example I posted ealier. > > Comments please. > Works fine as

Floats in layout files

2002-09-02 Thread Lars Gullik Bjønnes
This is my patch for this. This is basic support, it can be enhanced with, NoFloat, CopyFloat etc. if wanted. The fileformat changed slightly after the example I posted ealier. Comments please. stdfloats.inc Description: Binary data Index: FloatList.C ==