docbook-apps

  • 1.  CSS background image missing in CHM

    Posted 09-30-2009 18:13
    Hello,

    I'm using the 1.7.20 htmlhelp stylesheets to build a .CHM (HTML Help) file.
    Recently I added a background image via the separate CSS file:

    body {
    ...
    background: #fff url(images/bg-side.png) repeat-y;
    ...
    }

    Even though I have the *htmlhelp.enumerate.images* option turned on though,
    the background image is not included in the either the generated hhp file
    nor the chm file. I suspect the css file is not searched for references to
    graphics files. Has anyone found a way to work around this? Perhaps some
    method to give an additional list of graphics files that should be included?

    Thanks,
    Ken



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

    Posted 09-30-2009 18:45
    2009/9/30 Ken Morse <kenneth.morse@gmail.com>:
    > Hello,
    >
    > I'm using the 1.7.20 htmlhelp stylesheets to build a .CHM (HTML Help) file.
    > Recently I added a background image via the separate CSS file:
    >
    > body {
    > ...
    > background: #fff url(images/bg-side.png) repeat-y;
    > ...
    > }
    >
    > Even though I have the htmlhelp.enumerate.images option turned on though,
    > the background image is not included in the either the generated hhp file
    > nor the chm file. I suspect the css file is not searched for references to
    > graphics files. Has anyone found a way to work around this? Perhaps some
    > method to give an additional list of graphics files that should be included?
    >
    > Thanks,
    > Ken
    >
    >

    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



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

    Posted 09-30-2009 19:54
    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
    <rquadling@googlemail.com>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
    >