On Friday 09 August 2002 7:24 pm, Martin Vermeer wrote: > Float counters fail to count, but that is quite unrelated to this: I > believe it is due to float captions not being part of the same > linked list of paragraphs (as linear text with sectioning headers, or > even nested enumerated lists, are). I have to think of some other > copy-over mechanism than from previous().
Hmmmmmm. The more I look at this code, the less I follow it. Let's start at the beginning. Why does a Paragraph own a Counters varaible not a single Counter? I can imagine a Paragraph owning a Counter of type Section and that it could ascertain the value of this Counter by interrogating the Buffer that owned a Counters variable. It seems daft to have a list in each paragraph when the paragraph uses only a single element of the list. No doubt I'm confused and the current design is Good. Angus