Re: [docbook-apps] mediaobject in lots tocs

From
Bob Stayton <>
Date
2009-08-21T19:12:30+00:00
ID
067601ca2293$4b1848a0$0a00a8c0@pazu
Thread
Re: [docbook-apps] mediaobject in lots tocs
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



----- Original Message ----- 
From: "Dave Pawson" <>
To: "Bob Stayton" <>
Cc: "Rowland, Larry" <>; 
<>
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
>> 
>>
>>
>> ----- Original Message ----- From: "Dave Pawson" <>
>> To: "Rowland, Larry" <>
>> Cc: <>
>> 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: 
>>> For additional commands, e-mail: 
>>>
>>>
>>>
>>
>>
>
>
>
> regards
>
> -- 
> Dave Pawson
> XSLT XSL-FO FAQ.
> http://www.dpawson.co.uk
>
>