Re: [patch] fix layout2layout

2006-04-03 Thread Jean-Marc Lasgouttes
> "Georg" == Georg Baum <[EMAIL PROTECTED]> writes: Georg> Am Freitag, 31. März 2006 14:40 schrieb Jean-Marc Lasgouttes: >> I tested it and it seems to work and I think you should apply it to >> 1.4. The best would be to ask people who reported bugs to test it. >> It is only one file to put un

Re: [patch] fix layout2layout

2006-04-01 Thread Georg Baum
Am Freitag, 31. März 2006 14:40 schrieb Jean-Marc Lasgouttes: > I tested it and it seems to work and I think you should apply it to > 1.4. The best would be to ask people who reported bugs to test it. It > is only one file to put un user directory, after all. I just did that. > I propose to apply

Re: [patch] fix layout2layout

2006-03-31 Thread Jean-Marc Lasgouttes
> "Georg" == Georg Baum <[EMAIL PROTECTED]> writes: Georg> That would be like the attached then. I will put this in trunk Georg> tomorrow if nobody objects, but I would really like somebody to Georg> test it. I tested it and it seems to work and I think you should apply it to 1.4. The best wo

Re: [patch] fix layout2layout

2006-03-29 Thread Jean-Marc Lasgouttes
> "Georg" == Georg Baum <[EMAIL PROTECTED]> writes: Georg> Am Dienstag, 28. März 2006 21:01 schrieb Georg Baum: >> That would be like the attached then. I will put this in trunk >> tomorrow if >> nobody objects, but I would really like somebody to test it. Georg> I did that now. Thanks, I wi

Re: [patch] fix layout2layout

2006-03-29 Thread Georg Baum
Am Dienstag, 28. März 2006 21:01 schrieb Georg Baum: > That would be like the attached then. I will put this in trunk tomorrow if > nobody objects, but I would really like somebody to test it. I did that now. Log: * lib/scripts/layout2layout.py (concatenate_label): new, concate

Re: [patch] fix layout2layout

2006-03-28 Thread Georg Baum
Am Dienstag, 28. März 2006 12:24 schrieb Jean-Marc Lasgouttes: > > "Georg" == Georg Baum <[EMAIL PROTECTED]> writes: > > Georg> Here comes the patch. It was a bit more work than I thought, > Georg> but seems to work now. I also discovered and fixed a bug in the > Georg> process: counter names

Re: [patch] fix layout2layout

2006-03-28 Thread Jean-Marc Lasgouttes
> "Georg" == Georg Baum <[EMAIL PROTECTED]> writes: Georg> Here comes the patch. It was a bit more work than I thought, Georg> but seems to work now. I also discovered and fixed a bug in the Georg> process: counter names must be in lowercase. People with custom Georg> layout files, please test

Re: [patch] fix layout2layout

2006-03-25 Thread Georg Baum
Am Freitag, 24. März 2006 15:23 schrieb Georg Baum: > Jean-Marc Lasgouttes wrote: > > >> "Georg" == Georg Baum > >> <[EMAIL PROTECTED]> > >> writes: > > Georg> Is that the default behaviour in 1.3? > > > > In 1.3, article-like numbering is hardcoded. If a labelstring exists, > > it is

Re: [patch] fix layout2layout

2006-03-24 Thread Jean-Marc Lasgouttes
> "Georg" == Georg Baum <[EMAIL PROTECTED]> writes: Georg> As I wrote in the bug report: I will have a look why this was Georg> separated in the first place. I remember that in Anre's initial version, the ToCLevel were different between article and report class. I guess this is why they got

Re: [patch] fix layout2layout

2006-03-24 Thread Georg Baum
Jean-Marc Lasgouttes wrote: >> "Georg" == Georg Baum >> <[EMAIL PROTECTED]> >> writes: > Georg> Is that the default behaviour in 1.3? > > In 1.3, article-like numbering is hardcoded. If a labelstring exists, > it is prepended to the numbering. For example, for chapter: > > LabelStrin

Re: [patch] fix layout2layout

2006-03-24 Thread Jean-Marc Lasgouttes
> "Georg" == Georg Baum <[EMAIL PROTECTED]> writes: Georg> Jean-Marc Lasgouttes wrote: >> It looks good. Are you sure that MaxCounter can be Counter_enumi+? Georg> I don't know. I simply looked up the valid counter names. These Georg> maxcounter levels are not used lateron anyway, but I added

Re: [patch] fix layout2layout

2006-03-24 Thread Georg Baum
Jean-Marc Lasgouttes wrote: > It looks good. Are you sure that MaxCounter can be Counter_enumi+? I don't know. I simply looked up the valid counter names. These maxcounter levels are not used lateron anyway, but I added them because I wanted to have something else than 0 in this case. > Other th

Re: [patch] fix layout2layout

2006-03-24 Thread Jean-Marc Lasgouttes
> "Georg" == Georg Baum <[EMAIL PROTECTED]> writes: Georg> The attached patch is the outcome of a discussion with Georg> Jean-Marc at http://bugzilla.lyx.org/show_bug.cgi?id=2355. The Georg> problem is that I did not realize that TocLevel was a new Georg> keyword when I wrote layout2layout. G

[patch] fix layout2layout

2006-03-23 Thread Georg Baum
The attached patch is the outcome of a discussion with Jean-Marc at http://bugzilla.lyx.org/show_bug.cgi?id=2355. The problem is that I did not realize that TocLevel was a new keyword when I wrote layout2layout. This patch adds this keyword for sectioning styles. Comments? Georg Index: lib/scri

Re: [patch] fix layout2layout

2005-10-25 Thread Jose' Matos
On Monday 24 October 2005 15:13, Georg Baum wrote: > line[-1:] If you know that _line_ is not empty then line[-1] is enough. As you already know line[-1:-1] is always empty, that was why the test failled. The advantage of using slices over array indices is that slices will work always wh

[patch] fix layout2layout

2005-10-24 Thread Georg Baum
This small patch fixes a problem in the layout file converter which was discovered by Helge Hafting: It add an empty line after each line. This fix is going in right now. GeorgIndex: lib/ChangeLog === RCS file: /usr/local/lyx/cvsroot