Jean-Marc Lasgouttes wrote:
Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes:

The following patch introduces LabelString for counters. This
labelstring will be used in several places:

Here is the updated version of the patch, the shortcoming have been
resolved and the layout files have been updated. For example floats
and footnotes are now correctly numbered by chapter for book and
report classes.

I updated the documentation too.

Note that the rest of the layut files should be updated. I do not
think they are broken by the patch, but they can be simplified.

Some cosmetics comments:

        (Counters::newCounter): add relevant arguments; allow to
        redefine an existing counter.

Why not Counters::new()? You already know are using the counters and are going to get a new Counter.

        (Counters::reset): reset the current float float.
        (Counters::theCounter): return a representation of a given
        counter using its labelstring

I'd write Counters::get() for the same reason as above.

Haven't read the code yet.

Abdel.

Reply via email to