This is the mail archive of the
docbook@lists.oasis-open.org
mailing list for the DocBook project.
Bug at SGML DTD? Or at DSSSL stylesheets?
- To: docbook at lists dot oasis-open dot org
- Subject: DOCBOOK: Bug at SGML DTD? Or at DSSSL stylesheets?
- From: Jorge Godoy <godoy at conectiva dot com>
- Date: Wed, 10 Jan 2001 14:19:21 -0200
- Organization: Conectiva S.A. / Conectiva Inc.
Hi!
Looking at the TDG, I see <figure> being allowed inside a <para>
and the DTD allows me to put that in there, as expected. Even the
stylesheets handle that case correctly. BUT, if we have a construction
such as:
<orderedlist>
<listitem><para><figure>.....</figure></para></listitem>
<listitem><para>...</para></listitem>
...
</orderedlist>
The <figure> inside the <para> doesn't appear in the LoF. If I put it
out of the <para>, everything goes fine.
(We checked that with <itemizedlist>s and <orderedlist>s, but I think
it happens for other lists as well)
I think that <para> shouldn't allow elements such as <figure> and
<table> within it. The same for <mediaobject> and other similar
elements.
Back to the problem, is this a bug in the DTD or at the DSSSL
stylesheets (figures not appearing in LoF)? What can I do to correct
it?
See you,
--
Godoy. <godoy@conectiva.com>
Departamento de Publicações Conectiva S.A.
Publishing Department Conectiva Inc.