Hi Dave,
You can certainly make this a customization for your stylesheet, but I don't
think it would make a very good general feature for the DocBook distro
because of the generated text in the TOC listing. Both caption and
textobject can contain any combination of block elements, which would not be
suitable for a TOC line. And just listing Mediaobject 1, Mediaobject2, etc.
would not seem to be particularly useful to a reader (assuming the reader
knew what a "Mediaobject" was). So I see this as a specialized application
for which a customization would be suitable.
Bob Stayton
Sagehill Enterprises
b...@sagehill.net
----- Original Message -----
From: "Dave Pawson" <da...@dpawson.co.uk>
To: "Bob Stayton" <b...@sagehill.net>
Cc: "Rowland, Larry" <larry.rowl...@hp.com>;
<docbook-apps@lists.oasis-open.org>
Sent: Friday, August 21, 2009 11:30 AM
Subject: Re: [docbook-apps] mediaobject in lots tocs
On 21/08/09 18:29, Bob Stayton wrote:
Hi Dave,
What text would you expect to display in a table of contents that lists
mediaobjects?
In my case I have a textobject and caption, too, but without that
perhaps what you have. mediobject 1, 2 etc?
Or some such depending on the type?
regards
Bob Stayton
Sagehill Enterprises
b...@sagehill.net
----- Original Message ----- From: "Dave Pawson" <da...@dpawson.co.uk>
To: "Rowland, Larry" <larry.rowl...@hp.com>
Cc: <docbook-apps@lists.oasis-open.org>
Sent: Friday, August 21, 2009 10:12 AM
Subject: Re: [docbook-apps] mediaobject in lots tocs
On 21/08/09 17:10, Rowland, Larry wrote:
Dave,
Figures are formal objects, that is, they have titles. Mediaobjects
are not, and thus do not have titles.
In general, only formal objects show up in lists of things that are
auto generated.
Well that works, but doesn't meet my need.
Thanks Larry
Why only formal objects? Arbitrary decision?
Anyone got the history?
regards
I have some SVG 'diagrams' in mediaobjects
<xsl:param name="generate.toc">
book toc, title, mediaobject
chapter toc, title, figure, table, mediobject
sect1 toc,title
</xsl:param>
Doesn't include them in the tocs?
Is this possible please?
db5, 1.75 stylesheets.
I see them as no different to figures?
regards
regards
--
Dave Pawson
XSLT XSL-FO FAQ.
http://www.dpawson.co.uk
---------------------------------------------------------------------
To unsubscribe, e-mail: docbook-apps-unsubscr...@lists.oasis-open.org
For additional commands, e-mail: docbook-apps-h...@lists.oasis-open.org
regards
--
Dave Pawson
XSLT XSL-FO FAQ.
http://www.dpawson.co.uk
---------------------------------------------------------------------
To unsubscribe, e-mail: docbook-apps-unsubscr...@lists.oasis-open.org
For additional commands, e-mail: docbook-apps-h...@lists.oasis-open.org