|
View:
New views
9 Messages
—
Rating Filter:
Alert me
|
|
|
mediaobject in lots tocsI 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 -- Dave Pawson XSLT XSL-FO FAQ. http://www.dpawson.co.uk --------------------------------------------------------------------- To unsubscribe, e-mail: docbook-apps-unsubscribe@... For additional commands, e-mail: docbook-apps-help@... |
|
|
RE: mediaobject in lots tocsDave,
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. If you want a mediaobject to show up in a list, the general practice is to wrap it in a figure. Larry Rowland -----Original Message----- From: Dave Pawson [mailto:davep@...] Sent: Friday, August 21, 2009 2:10 AM To: docbook-apps@... Subject: [docbook-apps] mediaobject in lots tocs 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 -- Dave Pawson XSLT XSL-FO FAQ. http://www.dpawson.co.uk --------------------------------------------------------------------- To unsubscribe, e-mail: docbook-apps-unsubscribe@... For additional commands, e-mail: docbook-apps-help@... --------------------------------------------------------------------- To unsubscribe, e-mail: docbook-apps-unsubscribe@... For additional commands, e-mail: docbook-apps-help@... |
|
|
Re: mediaobject in lots tocsOn 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-unsubscribe@... For additional commands, e-mail: docbook-apps-help@... |
|
|
Re: mediaobject in lots tocsHi Dave,
What text would you expect to display in a table of contents that lists mediaobjects? Bob Stayton Sagehill Enterprises bobs@... ----- Original Message ----- From: "Dave Pawson" <davep@...> To: "Rowland, Larry" <larry.rowland@...> Cc: <docbook-apps@...> 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-unsubscribe@... > For additional commands, e-mail: docbook-apps-help@... > > > --------------------------------------------------------------------- To unsubscribe, e-mail: docbook-apps-unsubscribe@... For additional commands, e-mail: docbook-apps-help@... |
|
|
RE: mediaobject in lots tocsThe LOT element means "List of Titles." If you are going to provide a list of things, having a title of them makes it much more usable. If there is no title, you end up with a list of page numbers, which makes knowing which one to go to pretty difficult. IMHO.
LRR -----Original Message----- From: Dave Pawson [mailto:davep@...] Sent: Friday, August 21, 2009 11:13 AM To: Rowland, Larry Cc: docbook-apps@... 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-unsubscribe@... For additional commands, e-mail: docbook-apps-help@... |
|
|
Re: mediaobject in lots tocsOn 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 > bobs@... > > > ----- Original Message ----- From: "Dave Pawson" <davep@...> > To: "Rowland, Larry" <larry.rowland@...> > Cc: <docbook-apps@...> > 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-unsubscribe@... >> For additional commands, e-mail: docbook-apps-help@... >> >> >> > > regards -- Dave Pawson XSLT XSL-FO FAQ. http://www.dpawson.co.uk --------------------------------------------------------------------- To unsubscribe, e-mail: docbook-apps-unsubscribe@... For additional commands, e-mail: docbook-apps-help@... |
|
|
Re: mediaobject in lots tocsOn 21/08/09 18:35, Rowland, Larry wrote:
> The LOT element means "List of Titles." If you are going to provide a list of things, having a title of them makes it much more usable. >If there is no title, you end up with a list of page numbers, which makes knowing which one to go to pretty difficult. IMHO. List of graphs in my case. SVG wrapped in mediaobjects. No more difficult than spotting figures, or anything else in the http://docbook.sourceforge.net/release/xsl/current/doc/html/generate.toc.html listing? it's just an element name. If it's there, include it. regards -- Dave Pawson XSLT XSL-FO FAQ. http://www.dpawson.co.uk --------------------------------------------------------------------- To unsubscribe, e-mail: docbook-apps-unsubscribe@... For additional commands, e-mail: docbook-apps-help@... |
|
|
Re: mediaobject in lots tocsHi 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 bobs@... ----- Original Message ----- From: "Dave Pawson" <davep@...> To: "Bob Stayton" <bobs@...> Cc: "Rowland, Larry" <larry.rowland@...>; <docbook-apps@...> 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 >> bobs@... >> >> >> ----- Original Message ----- From: "Dave Pawson" <davep@...> >> To: "Rowland, Larry" <larry.rowland@...> >> Cc: <docbook-apps@...> >> 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-unsubscribe@... >>> For additional commands, e-mail: docbook-apps-help@... >>> >>> >>> >> >> > > > > regards > > -- > Dave Pawson > XSLT XSL-FO FAQ. > http://www.dpawson.co.uk > > --------------------------------------------------------------------- To unsubscribe, e-mail: docbook-apps-unsubscribe@... For additional commands, e-mail: docbook-apps-help@... |
|
|
Re: mediaobject in lots tocsOn 21/08/09 20:12, Bob Stayton wrote:
> 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. OK, I'll do that. regards -- Dave Pawson XSLT XSL-FO FAQ. http://www.dpawson.co.uk --------------------------------------------------------------------- To unsubscribe, e-mail: docbook-apps-unsubscribe@... For additional commands, e-mail: docbook-apps-help@... |
| Free embeddable forum powered by Nabble | Forum Help |