El 17/08/2003 a las 23:44, David Goodger <goodger@...> dijo, en
su mensaje "[Docutils-develop] Dificulties creating writer":
> What is the next level called? SubSubSection?
> >Is there a limit?
SubSubsection is the last one. However, that varies depending on the
document type. In the "slides" type, for example, it has only
"@Lecture" and "@Overhead", and in the "book" type there is a previous
For the missing levels I will just add a @Heading, so I have to check
if I still have headers available.
> So you need a container around all sections of a given level?
> Sections are always grouped at the end of their parent element, so you
> could check each section start to see if it's the first section
> element in its parent, and each section end to see if it's the last.
> That's a bit expensive though (lots of lookups); a cheaper way would
> be to keep track::
Ok, this is *similar* to what I tried, but it didn't occur to me to
have a second counter. I'll try it out and let you know what happened.
Thanks a lot.
o-=< Marcelo >=-o
alabatros. Ave elogiadora.