OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Subject: Re: DOCBOOK-APPS: Generating CHM HTML Help files from DocBook?


"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


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Powered by eList eXpress LLC