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: DOCBOOK-APPS: Re: Adding [WINDOWS] to htmlhelp xsls


David Cramer wrote:

> Here's my question: Is there a way I can add features to the chm output
> that apparently require you to create a [WINDOWS] section in the hhp?
> Perhaps there's a command line option to the html help compiler that I
> can use to cause it to generate an Index.hhk file? If not, should I
> submit a feature request that htmlhelp.xsl also generate an index.hhk
> file along with its toc.hhc file so that I can have my [WINDOWS] section
> point to it.

You can enable additional features in HTML Help Workshop and see what is
in generated project file. By using copy and paste approach you can add
[Windows] and other sections to .hhp by setting following parameter for
HTML Help stylesheet:

<xsl:param name="htmlhelp.hhp.tail">
[WINDOWS]
...
</xsl:param>

 
> If I could get this working, it should be possible to add parameters to
> htmlhelp.xsl like "include.textzoom.button", "show.favorites.tab" and so
> on.

Yes it would. But I hadn't enough courage to study nasty hex-codes and
reengeener what they mean and how they are composed. Setting these
parametrs in Workshop and adding them via htmlhelp.hhp.tail is the
fastest solution.
 
> If I use FAR to generate an Index.hhk file, I can modify the tail to
> point to it, and get bells, whistles, and an index:

You don't need Index.hhk file when producing HTML Help from DocBook.
Index entries are spread over HTML files as ActiveX components and HTML
Help Compiler collects them and create index for you.

		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