Re: newfloat feature ...

2001-10-30 Thread Herbert Voss
Lars Gullik Bjønnes wrote: Herbert Voss [EMAIL PROTECTED] writes: | To me this looks ok. | (will be nice to remove the hardcoded floats from the souce). | | the floatlist has at default figure/float, so there is no | need for an extra code. I'd like it do have no defaults, and

Re: newfloat feature ...

2001-10-30 Thread Herbert Voss
Lars Gullik Bjønnes wrote: Herbert Voss [EMAIL PROTECTED] writes: | Lars Gullik Bjønnes wrote: | | Herbert Voss [EMAIL PROTECTED] writes: | | | To me this looks ok. | | (will be nice to remove the hardcoded floats from the souce). | | | | the floatlist has at default

Re: newfloat feature ...

2001-10-30 Thread Herbert Voss
Jean-Marc Lasgouttes wrote: Herbert == Herbert Voss [EMAIL PROTECTED] writes: Herbert you never declare \chapter! you declare chapter and Herbert that's different. and it's different from this problem here Herbert ... Herbert It's unimportant for figure/table if another class defines

Re: newfloat feature ...

2001-10-30 Thread Jean-Marc Lasgouttes
Herbert == Herbert Voss [EMAIL PROTECTED] writes: Yes, but a class could have _no_ figure/table floats (like slides.cls, for example). In this case, it will not declare them in layout file, and they will not be accessible in lyx GUI. Herbert it's no problem to say Herbert noFloatFigure

Re: newfloat feature ...

2001-10-30 Thread Herbert Voss
Lars Gullik Bjønnes wrote: > > Herbert Voss <[EMAIL PROTECTED]> writes: > > | > To me this looks ok. > | > (will be nice to remove the hardcoded floats from the souce). > | > | the floatlist has at default figure/float, so there is no > | need for an extra code. > > I'd like it do have no

Re: newfloat feature ...

2001-10-30 Thread Herbert Voss
Lars Gullik Bjønnes wrote: > > Herbert Voss <[EMAIL PROTECTED]> writes: > > | Lars Gullik Bjønnes wrote: > | > > | > Herbert Voss <[EMAIL PROTECTED]> writes: > | > > | > | > To me this looks ok. > | > | > (will be nice to remove the hardcoded floats from the souce). > | > | > | > | the

Re: newfloat feature ...

2001-10-30 Thread Herbert Voss
Jean-Marc Lasgouttes wrote: > > > "Herbert" == Herbert Voss <[EMAIL PROTECTED]> writes: > > Herbert> you never declare "\chapter"! you declare "chapter" and > Herbert> that's different. and it's different from this problem here > Herbert> ... > > Herbert> It's unimportant for figure/table

Re: newfloat feature ...

2001-10-30 Thread Jean-Marc Lasgouttes
> "Herbert" == Herbert Voss <[EMAIL PROTECTED]> writes: >> Yes, but a class could have _no_ figure/table floats (like >> slides.cls, for example). In this case, it will not declare them in >> layout file, and they will not be accessible in lyx GUI. Herbert> it's no problem to say Herbert>

Re: newfloat feature ...

2001-10-29 Thread Angus Leeming
On Saturday 27 October 2001 9:39 pm, Herbert Voss wrote: ok, the first problem is solved. now my last one: I have the new newfloats as lines and want to build the floatList with a loop. In fact of my very low knowledge in c++ I dont know, how I can give a Floating myFloat = (...,

Re: newfloat feature ...

2001-10-29 Thread Dekel Tsur
On Mon, Oct 29, 2001 at 03:10:35PM +0100, Jean-Marc Lasgouttes wrote: A question: are the advantage of ntheorem.sty vs. theorem.sty really striking in practice? Theorem.sty has the advantage of being in the required/ part of ctan, and we may want to support it anyway. Actually, for reLyX's

Re: newfloat feature ...

2001-10-29 Thread Herbert Voss
for the | # newfloat feature | # | # Herbert Voss [EMAIL PROTECTED] 2001-10-29 | # | | Float | Typealgorithm | Placement !h | Ext loa | Within subsection # numbering style | Caption Algorithm | Style

Re: newfloat feature ...

2001-10-29 Thread Herbert Voss
) that have their own floats. this way?? - # This file contains additional style definitions for the # newfloat feature # Input by newfloat.inc # Style LyX_Newfloat_ # should be special Type algorithm

Re: newfloat feature ...

2001-10-29 Thread Herbert Voss
Jean-Marc Lasgouttes wrote: Herbert no, it's not the same! the ntheorem has by default 10 (?) Herbert predefined styles, I'm not shure if it makes sense to give Herbert more support than with layout files. Maybe you're right. \usepackage[standard,noconfig]{ntheorem} gives %

Re: newfloat feature ...

2001-10-29 Thread Herbert Voss
Jean-Marc Lasgouttes wrote: Herbert == Herbert Voss [EMAIL PROTECTED] writes: Herbert Jean-Marc Lasgouttes wrote: Herbert no, it's not the same! the ntheorem has by default 10 (?) Herbert predefined styles, I'm not shure if it makes sense to give Herbert more support than with layout

Re: newfloat feature ...

2001-10-29 Thread Jean-Marc Lasgouttes
Lars == Lars Gullik Bjønnes [EMAIL PROTECTED] writes: Lars We must support both ways. What an interesting conclusion :) Yes, indeed, the floats should be defined in (at least two places): 1/ the layout files, for classes (no necessarily user-defined) that have their own floats. 2/ the

Re: newfloat feature ...

2001-10-29 Thread Angus Leeming
On Saturday 27 October 2001 9:39 pm, Herbert Voss wrote: > ok, the first problem is solved. now my last one: > I have the new newfloats as lines and want to > build the floatList with a loop. In fact of > my very low knowledge in c++ I dont know, how > I can give a > > Floating myFloat = ("...",

Re: newfloat feature ...

2001-10-29 Thread Dekel Tsur
On Mon, Oct 29, 2001 at 03:10:35PM +0100, Jean-Marc Lasgouttes wrote: > A question: are the advantage of ntheorem.sty vs. theorem.sty really > striking in practice? Theorem.sty has the advantage of being in the > required/ part of ctan, and we may want to support it anyway. > Actually, for

Re: newfloat feature ...

2001-10-29 Thread Herbert Voss
> | # This file contains additional style definitions for the > | # newfloat feature > | # > | # Herbert Voss <[EMAIL PROTECTED]> 2001-10-29 > | # > | > | Float > | Typealgorithm > | Placement "!h" > | Ext

Re: newfloat feature ...

2001-10-29 Thread Herbert Voss
: > > 1/ the layout files, for classes (no necessarily user-defined) that > have their own floats. this way?? ----- # This file contains additional style definitions for the # newfloat feature # Input by newfloat.inc # Sty

Re: newfloat feature ...

2001-10-29 Thread Herbert Voss
Jean-Marc Lasgouttes wrote: > > > Herbert> no, it's not the same! the ntheorem has by default 10 (?) > Herbert> predefined styles, I'm not shure if it makes sense to give > Herbert> more support than with layout files. > > Maybe you're right. \usepackage[standard,noconfig]{ntheorem} gives %

Re: newfloat feature ...

2001-10-29 Thread Herbert Voss
Jean-Marc Lasgouttes wrote: > > > "Herbert" == Herbert Voss <[EMAIL PROTECTED]> writes: > > Herbert> Jean-Marc Lasgouttes wrote: > >> > Herbert> no, it's not the same! the ntheorem has by default 10 (?) > Herbert> predefined styles, I'm not shure if it makes sense to give > Herbert> more

Re: newfloat feature ...

2001-10-29 Thread Jean-Marc Lasgouttes
> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: Lars> We must support both ways. What an interesting conclusion :) Yes, indeed, the floats should be defined in (at least two places): 1/ the layout files, for classes (no necessarily user-defined) that have their own floats. 2/

Re: newfloat feature ...

2001-10-28 Thread Dekel Tsur
On Sun, Oct 28, 2001 at 01:45:27AM +0200, Lars Gullik Bjønnes wrote: | How this is organised on the locel box is one thing, but when you want | to distribute everything have to be in the document. | | And what prevent you from distributing the layout file ? distributing a new

Re: newfloat feature ...

2001-10-28 Thread Dekel Tsur
On Sun, Oct 28, 2001 at 02:04:25PM +0100, Lars Gullik Bjønnes wrote: Dekel Tsur [EMAIL PROTECTED] writes: | | The only difference between our suggestions is that I want to keep a single | | common layout file for all the lyx files that use the same style. | | And why is that a good

Re: newfloat feature ...

2001-10-28 Thread Dekel Tsur
On Sun, Oct 28, 2001 at 01:45:27AM +0200, Lars Gullik Bjønnes wrote: > | > How this is organised on the locel box is one thing, but when you want > | > to distribute everything have to be in the document. > | > | And what prevent you from distributing the layout file ? > > distributing a new

Re: newfloat feature ...

2001-10-28 Thread Dekel Tsur
On Sun, Oct 28, 2001 at 02:04:25PM +0100, Lars Gullik Bjønnes wrote: > Dekel Tsur <[EMAIL PROTECTED]> writes: > > | > | The only difference between our suggestions is that I want to keep a single > | > | common layout file for all the lyx files that use the same style. > | > > | > And why is

newfloat feature ...

2001-10-27 Thread Herbert Voss
sorry, it's me again with a feature, what else ... I have the newfloat feature run, which was started by Lars. I can create new floats with lists of them locally for documents and/or globally for all. anyway, there is one major problem which I solved through a hack. the menus for insert

Re: newfloat feature ...

2001-10-27 Thread Herbert Voss
Lars Gullik Bjønnes wrote: Hmm... I thought I almost completed it also... except the gui part needed to create new floats. (and the issue of where to store the new floats). maybe, that I missed something, but you don't add them to the menu ... | the menus for insert-floats and

Re: newfloat feature ...

2001-10-27 Thread Dekel Tsur
On Sat, Oct 27, 2001 at 08:33:50PM +0200, Lars Gullik Bjønnes wrote: Herbert Voss [EMAIL PROTECTED] writes: | We never really finished the discussion about where the floats should | be stored: In the document, in a global file, preferences ... | | this is not important for the code,

Re: newfloat feature ...

2001-10-27 Thread Herbert Voss
ok, the first problem is solved. now my last one: I have the new newfloats as lines and want to build the floatList with a loop. In fact of my very low knowledge in c++ I dont know, how I can give a Floating myFloat = (..., ...,...); in FloatList.C new values, because the number of newfloats is

Re: newfloat feature ...

2001-10-27 Thread Dekel Tsur
On Sat, Oct 27, 2001 at 10:12:44PM +0200, Lars Gullik Bjønnes wrote: | And what happens if you use your own environments defined in the | .layout file ? You never should. You are far into undefined behaviour land when you do that. Why. If it was not meant for the user to create their own

Re: newfloat feature ...

2001-10-27 Thread Dekel Tsur
On Sat, Oct 27, 2001 at 11:28:41PM +0200, Lars Gullik Bjønnes wrote: | And what happen if you want to make a change in the layout ? I have a feeling that you haven't thought this through we want .lyx files to be distributable. How can we make that happen without having to distribute a

newfloat feature ...

2001-10-27 Thread Herbert Voss
sorry, it's me again with a feature, what else ... I have the newfloat feature run, which was started by Lars. I can create new floats with lists of them locally for documents and/or globally for all. anyway, there is one major problem which I solved through a hack. the menus for insert

Re: newfloat feature ...

2001-10-27 Thread Herbert Voss
Lars Gullik Bjønnes wrote: > > Hmm... I thought I almost completed it also... except the gui part > needed to create new floats. (and the issue of where to store the new > floats). maybe, that I missed something, but you don't add them to the menu ... > | the menus for insert->floats and

Re: newfloat feature ...

2001-10-27 Thread Dekel Tsur
On Sat, Oct 27, 2001 at 08:33:50PM +0200, Lars Gullik Bjønnes wrote: > Herbert Voss <[EMAIL PROTECTED]> writes: > | > We never really finished the discussion about where the floats should > | > be stored: In the document, in a global file, preferences ... > | > | this is not important for the

Re: newfloat feature ...

2001-10-27 Thread Herbert Voss
ok, the first problem is solved. now my last one: I have the new newfloats as lines and want to build the floatList with a loop. In fact of my very low knowledge in c++ I dont know, how I can give a Floating myFloat = ("...", "...","..."); in FloatList.C new values, because the number of

Re: newfloat feature ...

2001-10-27 Thread Dekel Tsur
On Sat, Oct 27, 2001 at 10:12:44PM +0200, Lars Gullik Bjønnes wrote: > | And what happens if you use your own environments defined in the > | .layout file ? > > You never should. You are far into undefined behaviour land when you > do that. Why. If it was not meant for the user to create their

Re: newfloat feature ...

2001-10-27 Thread Dekel Tsur
On Sat, Oct 27, 2001 at 11:28:41PM +0200, Lars Gullik Bjønnes wrote: > | And what happen if you want to make a change in the layout ? > > I have a feeling that you haven't thought this through we want > .lyx files to be distributable. How can we make that happen without > having to