Re: Problem with the toclevel of chapter* in book.layout.

2007-11-23 Thread Jürgen Spitzmüller
Jean-Marc Lasgouttes wrote: > Actually, I plan to apply the following slightly better version. OK. Jürgen

Re: Problem with the toclevel of chapter* in book.layout.

2007-11-23 Thread Jean-Marc Lasgouttes
[EMAIL PROTECTED] (Jürgen Spitzmüller) writes: > Jean-Marc Lasgouttes wrote: >> But for 1.5 I think my patch is OK, although it can probably use some >> testing with other classes. > > Fine with me. Actually, I plan to apply the following slightly better version. JMarc svndiff lib/layouts/ Ind

Re: Problem with the toclevel of chapter* in book.layout.

2007-11-23 Thread Jürgen Spitzmüller
Jean-Marc Lasgouttes wrote: > But for 1.5 I think my patch is OK, although it can probably use some > testing with other classes. Fine with me. Jürgen

Re: Problem with the toclevel of chapter* in book.layout.

2007-11-22 Thread Jean-Marc Lasgouttes
Juergen Spitzmueller <[EMAIL PROTECTED]> writes: > Jean-Marc Lasgouttes wrote: > >> Here is my proposal. Since the style chapter is always suppressed in >> article, it is not a problem to update it in numarticle (which is not >> aptly named). > > How about renaming it aptly, then? This is 1.6 stu

Re: Problem with the toclevel of chapter* in book.layout.

2007-11-22 Thread Juergen Spitzmueller
Jean-Marc Lasgouttes wrote: > Here is my proposal. Since the style chapter is always suppressed in > article, it is not a problem to update it in numarticle (which is not > aptly named). How about renaming it aptly, then? Jürgen

Re: Problem with the toclevel of chapter* in book.layout.

2007-11-22 Thread Martin Vermeer
On Wed, 21 Nov 2007 11:37:45 +0100 Jean-Marc Lasgouttes <[EMAIL PROTECTED]> wrote: > "Bo Peng" <[EMAIL PROTECTED]> writes: > > > I think the problem is that we would like to use .inc files to reduce > > repeated definition, but we also need to address differences in > > different .layout files by

Re: Problem with the toclevel of chapter* in book.layout.

2007-11-21 Thread Bo Peng
> Coping with file inclusion is an _easy_ part of a layout editor. But how about writing?? If a layout can be defined, and modified in a number of files, how should the layout editor write further modification? > The layout editor can simply read in each included file as > it happens, building wh

Re: Problem with the toclevel of chapter* in book.layout.

2007-11-21 Thread Helge Hafting
Bo Peng wrote: I know it's been like that for a while :) http://bugzilla.lyx.org/show_bug.cgi?id=3888 I think the problem is that we would like to use .inc files to reduce repeated definition, but we also need to address differences in different .layout files by patching these layouts her

Re: Problem with the toclevel of chapter* in book.layout.

2007-11-21 Thread Jean-Marc Lasgouttes
Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: >> Considering that we may have a layout editor in the not-so-distant >> future, which will have trouble dealing with all these complexities, I >> would suggest that we remove inclusion, nostyle etc, and have a single >> .layout file for every class

Re: Problem with the toclevel of chapter* in book.layout.

2007-11-21 Thread Jean-Marc Lasgouttes
"Bo Peng" <[EMAIL PROTECTED]> writes: > I think the problem is that we would like to use .inc files to reduce > repeated definition, but we also need to address differences in > different .layout files by patching these layouts here and there. > > Considering that we may have a layout editor in th

Re: Problem with the toclevel of chapter* in book.layout.

2007-11-20 Thread Andre Poenitz
On Wed, Nov 21, 2007 at 01:10:32AM -0600, Bo Peng wrote: > > I know it's been like that for a while :) > > > > http://bugzilla.lyx.org/show_bug.cgi?id=3888 > > I think the problem is that we would like to use .inc files to reduce > repeated definition, but we also need to address differences in >

Re: Problem with the toclevel of chapter* in book.layout.

2007-11-20 Thread Bo Peng
> I know it's been like that for a while :) > > http://bugzilla.lyx.org/show_bug.cgi?id=3888 I think the problem is that we would like to use .inc files to reduce repeated definition, but we also need to address differences in different .layout files by patching these layouts here and there. Cons

Re: Problem with the toclevel of chapter* in book.layout.

2007-11-20 Thread Darren Freeman
On Wed, 2007-11-21 at 11:13 +, Bo Peng wrote: > Open tutorial, change the layout of the introduction chapter header to > chapter *, it disappear from Toc (and navigation menu). Anyone knows a > quick fix? I know it's been like that for a while :) http://bugzilla.lyx.org/show_bug.cgi?id=3888

Re: Problem with the toclevel of chapter* in book.layout.

2007-11-20 Thread Jürgen Spitzmüller
Jürgen Spitzmüller wrote: > It seems like a problem of the inclusion order. The attached patch fixes > the problem for me. but breaks the section counter :-( The attached (ugly) double-inclusion seems to do it. Better ideas welcome. Jürgen Index: lib/layouts/book.layout ==

Re: Problem with the toclevel of chapter* in book.layout.

2007-11-20 Thread Jürgen Spitzmüller
Bo Peng wrote: > The attached patch (against 1.5.x)  seems to fix the problem, layout > experts please confirm. This looks wrong (numarticle doesn't have chapters, see numreport). It seems like a problem of the inclusion order. The attached patch fixes the problem for me. Jürgen Index: lib/layo

Re: Problem with the toclevel of chapter* in book.layout.

2007-11-20 Thread Bo Peng
On Nov 21, 2007 11:13 AM, Bo Peng <[EMAIL PROTECTED]> wrote: > Open tutorial, change the layout of the introduction chapter header to > chapter *, it disappear from Toc (and navigation menu). Anyone knows a > quick fix? The attached patch (against 1.5.x) seems to fix the problem, layout experts p

Problem with the toclevel of chapter* in book.layout.

2007-11-20 Thread Bo Peng
Open tutorial, change the layout of the introduction chapter header to chapter *, it disappear from Toc (and navigation menu). Anyone knows a quick fix? Bo