docbook: Need more than 5 sects in an article ...
Subject:
Re: Need more than 5 sects in an article ...
From:
####@####.####
Date:
5 Jul 2001 13:37:23 -0000
Message-Id: <OF6C2ADB86.29AAACD8-ON85256A80.0049D0C9@torolab.ibm.com>
Wow--six nested levels of sections? That's a whole lot of hierarchy--but
if you don't want to flatten it out, instead of using <sect1>, <sect2>,
<sect3> you should just be able to use nested <section> elements; here's
what Norm says in DocBook: TDG (experimental V2.0.1):
Recursive Sections [...] are an alternative to the numbered sections and have unbounded
depth.
Another alternative would be to use a <formalpara> element (within which
you can include a <title> element).
Dan
--------------------------------------------------------------------------------
Dan Scott
Email: ####@####.####
Please respond to "Greg Ferguson" ####@####.####
To: Armin Herbert ####@####.#### ####@####.####
cc:
Subject: Re: Need more than 5 sects in an article ...
On Jul 5, 3:08pm, Armin Herbert wrote:
> Subject: Need more than 5 sects in an article ...
> Hi,
>
>
> I've just half-finished an article I wrote using DocBook V4.1. When
> parsing it jade says that 'element "SECT6" [is] undefined'. My article
> explains every single mouse click the reader has to do, and when I
> tried to restructure the document I couldn't manage to stuff it all in
> 5 sections ..
>
> It's not that I really want to see this depth in the index, but when
> reading the article without this heavy structure I myself become
> confused..
>
> Is there perhaps a hint you can give me? How can I keep the structure
> without changing the DTD?
I don't see how this can be done without extending the DTD.
I found an article on XML.com that discusses customizing the
DoocBook DTD -
http://www.xml.com/pub/a/1999/10/docbook/index.html
Page 3 of the article actually contains a section entitled
"Adding Elements: Adding a Sect6" -
http://www.xml.com/pub/a/1999/10/docbook/index.html?page=3
--
r,
Ferg
_________________________
http://list.linuxdoc.org/