This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]