[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] Embed images in HTMLHelp file
> > How do I embed images in the resulting HTMLHelp file (.chm)? I use xsltproc > > to transform my docbook XML file and then compiles the resulting > > htmlhelp.hhp using hhc.exe. > > > > I don't want separate image files because: > > > > 1. I want to distribute the HTMLHelp file > > 2. The images are located on a network drive and thus I get absolute > > path's in my HTMLHelp file, which points to somewhere not accessible > > by the > > users of the HTMLHelp file > > You must use relative paths to images if you want to embed them into > HTML Help. Thanks, but then I would have to copy all the images from the server holding the images. I found another solution, which is kind of a hack but works better in my situation. Btw. will that automatically make the files getting embedded? If true I think that information would be nice - e.g. at http://www.sagehill.net/docbookxsl/HtmlHelp.html and somewhere at http://www.dpawson.co.uk/docbook/. At least that's some of the main locations I've been searching and reading. My hack: When generating the docbook XML I create relative image paths. After the XSLT translation I append the list of absolute file paths to the images in the [FILES] section of the htmlhelp.hhp file. /Carpalia
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]