This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: Generating CHM HTML Help files from DocBook?
- To: "Bradford, Denis" <denisb at rational dot com>,"docbook-apps at lists dot oasis-open dot org" <docbook-apps at lists dot oasis-open dot org>
- Subject: Re: DOCBOOK-APPS: Generating CHM HTML Help files from DocBook?
- From: Jirka Kosek <jirka at kosek dot cz>
- Date: Wed, 08 Aug 2001 22:06:32 +0200
- References: <3906C56A7BD1F54593344C05BD1374B10286E284@SUS-MA1IT01>
"Bradford, Denis" wrote:
>
> jeez, I only got htmlhelp.xsl working about a week ago. But since we're all
> flying by the seat of our pants - the operative word is 'flying' - attached
> is the entirety of my customizations so far. The code is commented
> throughout, hope the changes make sense.
>
> From: David Cramer [mailto:david_cramer@broadjump.com]
> Sent: Wednesday, August 08, 2001 11:20 AM
> To: Bradford, Denis
> Subject: RE: DOCBOOK-APPS: Generating CHM HTML Help files from DocBook?
>
> We're using Jirka's stylesheets to make chms and will want to do
> contextual help in the future. Do you forsee being able to share your
> stylesheet tweaks in that area with Jirka at some point? If not, any
> tips or details you could post would be appreciated.
I looked at your files and recognized, that some additional flexibility
in standard stylesheet may be good for your and also for others users.
I added 4 new parameters to HTML Help stylesheet. New version of
stylesheet is now in CVS, and will be part of next release of XSL
stylesheets.
Brief description of new parameters:
htmlhelp.chm (default value htmlhelp.chm) - name of output CHM file
htmlhelp.hhp (default value htmlhelp.hhp) - name of project file
htmlhelp.hhc (default value toc.hhc) - name of TOC file
htmlhelp.hhp.tail (default is empty) - user content for project file.
Denis, these should solve all problems which I saw in your file. If you
will use these parameters don't forget that when specifying string
literals in XSLT you must double enclose them:
<xsl:param name="htmlhelp.chm" select="'mycoolbook.chm'"/>
When specifying user content for project file, enter it as document
fragment:
<xsl:param name="htmlhelp.hhp.tail">
[ALIAS]
#include alias.h
[MAP]
#include context.h
</xsl:param>
Enjoy it.
Jirka
-----------------------------------------------------------------
Jirka Kosek
e-mail: jirka@kosek.cz
http://www.kosek.cz
------------------------------------------------------------------
To unsubscribe from this elist send a message with the single word
"unsubscribe" in the body to: docbook-apps-request@lists.oasis-open.org