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?
> | 
> | Undoubtedly... but I had no algorithm listings in my test files :-)
> 
> I have a counters patch for you, it is the first patch in the series
> to push the counters out into the layout files. Please test it and
> check that it works as expected with your test files. Other comments
> are of course welcome as well.
 
Works great for the floats... provided I define
them as 

    newCounter("figure");

i.e. lower case, in the c'tor. That's your change name->type, of course.


With the enumeration counters I have a problem in the following situation:

1. the first case
[
| a standard paragraph that
| has been "depth'ed"
[
1. the second case gets the counter reset!
2. the third case

I suspect that your statement 

 buf->counters().reset("enum");

may be too simple. Remember the non-standard pre-increment :-)

With the sectioning counters I have a problem in "book": the chapter
counter starts at (number-of-chapters)+1. Otherwise OK.

(Høh? I loaded this doc a second time, and now everything is OK. Strange.)

> 
> -- 
>       Lgb

Martin


Attachment: msg44087/pgp00000.pgp
Description: PGP signature

Reply via email to