On Wed, Jul 17, 2002 at 11:25:26AM +0100, Angus Leeming wrote: > On Tuesday 16 July 2002 9:12 pm, Martin Vermeer wrote: > > Let me make this perfectly clear: this just compiles. And looks > > beautiful (doesn't it?). And is believed to be politically correct. > > Thanks... I'm slowly getting this C++ philosophy :-) > > ;-) Well make it useful then!
Slowly, slowly... > What about this comment? Do you plan to address it? Not at this stage. As Lars commented, at some point this should become layout-driven. Addressing the problem in the proper way. > +Counters::Counters() > { > + // Ehh, should this take a textclass arg? > + > + // Sectioning counters: > + newCounter("part"); > + newCounter("chapter"); > + newCounter("section", "chapter"); > + newCounter("subsection", "section"); > + newCounter("subsubsection", "subsection"); > + newCounter("paragraph", "subsubsection"); > + newCounter("subparagraph", "paragraph"); > + > + // Enumeration counters: > + newCounter("emumi"); > + newCounter("emumii", "enumi"); > + newCounter("enumiii", "enumii"); > + newCounter("enumiv", "enumiii"); > + > + // Float counters: > + newCounter("figure"); > + newCounter("table"); > } > > If you did, then the ugliness that is numberlabel might become less horrible > and more beauiful. Actually it's better already. Don't see how it could be *much* better, given that the full syntax of printed headers must be described. Actually I think it could be more general... but yes, that would add ugliness. Wonder if this is something to describe/parametrize in the layout file as well. Not at this stage though, let's get this working first. > A suitable guest indeed at your summer cottage. The beautiful days are over again... nothing to clear the mind like wood-chopping and bird-watching. And a wood-fired sauna... would be some place for a LyX developers meeting. Only thing lacking is internet access. (And electicity. And running water.) But that's a detail! > Angus Martin
msg41895/pgp00000.pgp
Description: PGP signature