[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: RE: [docbook-apps] HTML Help compiler question - Email found in subject
A reasonably simple solution is to use Apache Ant (ant.apache.org) to copy image files to the correct locations and build your outputs. The attached example assumes that you have a source document directory set up consistently (which you could change): -doc folder -images -icons When the batch file it runs it creates a new sub-directory in the doc folder with the date, copies the images over, and builds the outputs, so you have end up with something like this: -doc folder -images -icons -04-28-05 -html_chunk (the chm file is also built in this folder) -css -images -html -css -images The build.bat and build.xml go in the doc folder and need to be modified to point to the files and utilities on your system (eg Saxon, Ant, Java, etc). The key sections for copying files are the <mkdir dir="..."/> and <copy todir="..."></copy> sections. Let me know if you need more detailed info. Dave Lewis Technical Writer FDM Software Ltd dlewis@fdmsoft.com www.fdmsoft.com -----Original Message----- From: Mauritz Jeanson [mailto:mj@johanneberg.com] Sent: April 28, 2005 09:39 To: 'Kenneth Johansson'; 'DOCBOOK-APPS' Subject: [SPAM] - RE: [docbook-apps] HTML Help compiler question - Email found in subject From: Kenneth Johansson I've found out with the help of Bob Stayton that the MicroSoft HTML Help compiler can't handle image paths above the HTML Help project directory. I'd like to know if there are any other HTML Help compilers out there that does a better job than M$, and of course works with the DocBook stylesheets? For reference and more information see the following conversation between Bob and Jirka: ---- Bob Stayton wrote: > Do image paths that are above the HTML Help project directory work at all in > HTML Help? I have references like "../../images/myfile.jpg". I use the > $htmlhelp.enumerate.images parameter as you suggested, and the files are > listed in the project file, and there is no complaint during compile. But > when I view the Help file, those images are missing, while any in or below > the project directory are ok. Is this related to the bug about images not > being in or below the project directory? Is there any workaround? The workaround is to use $htmlhelp.enumerate.images and copy all images that are in directories above project file into the same directory as the project file is in. HTML Help compiler should correct broken image links this way and create proper CHM with images included. Not nice but could help if you can't rearange your directory structure. I'm sorry, but I have never heard of any other HTML Help compilers. You mention a workaround for the problem. Did you try it? What happened? /MJ --------------------------------------------------------------------- To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org The sender intends this message for a specific recipient and, as it may contain information that is privileged or confidential, any use, dissemination, forwarding, or copying by anyone without permission from the sender is prohibited. Personal e-mail may contain views that are not necessarily those of the company.
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]