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

From
Bob Stayton <>
Date
2009-09-30T20:16:01+00:00
ID
076201ca420a$cc6afbf0$0a00a8c0@pazu
Thread
Re: [docbook-apps] CSS background image missing in CHM


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 

  
To: DocBook Apps 

  
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.

Ken

  
On Wed, Sep 30, 2009 at 2:44 PM, Richard Quadling <> 
  wrote:

  
 

  Assuming 
    that the hhp file is in the same directory as the images
directory, then 
    you can add ...

images/bg-side.png

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.

--
-----
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