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: htmlhelp.xsl and index


Did you check the tabs too? I remember when I wrote Omnimark code to
generate the toc and index files for input to HTML Help compiler, I had to
put in the correct number of tabs too. I suggest you do a diff between the
file generated by the stylesheets and the file created by the HTML Help
Workshop. There must be some subtle differences there, otherwise it would
work as expected.

HTH,

Gershon


On Fri, 17 Aug 2001, Bradford, Denis wrote:

> I'm having trouble autogenerating HTML Help index entries with htmlhelp.xsl.
> Here's the sequence:
>
> 1. Create a two-level <indexterm> in the XML source:
>
> <indexterm id="xmldiffmrg_opencontribs_indexterm_1749905">
> 	<primary>contributors</primary>
> 	<secondary>choosing</secondary>
> </indexterm>
>
> 2. Run htmlhelp.xsl (using Saxon 6.4.3). The style sheet generates this in
> the topic HTML file:
>
> <OBJECT type="application/x-oleobject"
> classid="clsid:1e2a7bd0-dab9-11d0-b93a-00c04fc99f9e">
> <param name="Keyword" value="contributors, choosing">
> </OBJECT>
>
>
> 3. Run the HTML Help compiler to "include keywords from HTML files." Should
> generate this in the Index tab:
>
> contributors
>     choosing
>
> Unfortunately what it generates is:
>
>    choosing
>
> The link actually works fine, it's just missing the primary term in the line
> above!  I don't know why. According to the MS documentation, the style sheet
> is coding the keyword correctly.
>
> FWIW, the only way I can get a multi-level index to render correctly is by
> editing one in the HH workshop. In that case, there is no control embedded
> in the HTML topics, and probably no way to use the <indexterm> elements in
> the source.
>



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


Powered by eList eXpress LLC