OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]

Subject: Re: [docbook-apps] CSS background image missing in CHM

Just to complete this thread, I ended up following Bob's advice of using a stylesheet parameter to supply the filename and then modified the hhp-main template to use the new parameter.

Thank you!

On Wed, Sep 30, 2009 at 4:15 PM, Bob Stayton <bobs@sagehill.net> wrote:
This will require a customization.  You could supply the image filename(s) with a stylesheet parameter, and then customize the templates that generate the list.  In htmlhelp/htmlhelp-common.xsl there is a template named 'hhp.main', and starting on this line it generates the image list:
<xsl:if test="$htmlhelp.enumerate.images">
You'll have to trace through the process and figure out how to add your extra images to the list by customizing that template.
Bob Stayton
Sagehill Enterprises
----- Original Message -----
From: Ken Morse
Sent: Wednesday, September 30, 2009 12:54 PM
Subject: Re: [docbook-apps] CSS background image missing in CHM

We could do that but the I believe the hhp file is rebuilt from scratch every time the stylesheet process is run; it would be better if there was some other way to add image files.


On Wed, Sep 30, 2009 at 2:44 PM, Richard Quadling <rquadling@googlemail.com> wrote:
Assuming that the hhp file is in the same directory as the images
directory, then you can add ...


to the [Files] section of the hhp file.

You can do this via the hhw.exe or by editing the plain text hhp file.


Richard Quadling
"Standing on the shoulders of some very clever giants!"
EE : http://www.experts-exchange.com/M_248814.html
Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&r=213474731
ZOPA : http://uk.zopa.com/member/RQuadling

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]