This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Cover Art


> From: Michael Cortez <mcortez@fullcoll.edu>
> 
> 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: bobs@caldera.com

----------------------------------------------------------------
To subscribe or unsubscribe from this elist use the subscription
manager: <http://lists.oasis-open.org/ob/adm.pl>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]