Re: DOCBOOK-APPS: Cover Art

From
Bob Stayton <>
Date
2001-08-21T09:15:51+00:00
ID
Thread
Re: DOCBOOK-APPS: Cover Art
> From: Michael Cortez <>
> 
> I am having difficulty in getting Cover Art to show up on documents rendered
> via XSL for HTML or PDF...
> 
> I took a look at the source XML for "DocBook: The Definitive Guide" and saw
> that the title image was placed in the <BookInfo> section -- that is where I
> added mine.  
> 
> But, it doesn't show up in the resulting HTML or PDF documents 8-(

Looking at the titlepage templates in XSL 1.42, it
appears there is no template for mediaobject or graphic.
So you aren't doing anything wrong, it just doesn't
work yet.

I recommend you file that omission as a bug in sourceforge.
Of course, it isn't immediately clear to me where such
a graphic would appear, relative to title, author, etc.
Different people may want it in different places.
Perhaps it was not included because that is a designer
issue that requires customization.  It could be
handled with a parameter that specifies which element
it should appear before, something like:

<xsl:param name="place.bookinfo.graphic.before"
	select="'title'"/>

or some such.

bobs
Bob Stayton                                 400 Encinal Street
Publications Architect                      Santa Cruz, CA  95060
Technical Publications                      voice: (831) 427-7796
Caldera International, Inc.                 fax:   (831) 429-1887
                                            email: