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: links in index


Ah, I was just about to go crazy, then I searched the archives. So if I prefer to forgo linking to the exact spot on the page in return for descriptive titles in the "Topics Found" box, is this change safe? It seems to work, but I'm not exactly sure how mode="chunk-filename" works:

<xsl:template name="write.indexterm.hhk">
  <xsl:param name="text"/>
  <xsl:param name="seealso"/>
  <![CDATA[<LI> <OBJECT type="text/sitemap">
        <param name="Name" value="]]><xsl:value-of select="$text"/><xsl:text><![CDATA[">]]></xsl:text>
      <xsl:if test="not(seealso)">
        <xsl:variable name="href">
		<xsl:apply-templates mode="chunk-filename"/>
          <!--xsl:call-template name="href.target.with.base.dir"/-->

Thanks,
David

> -----Original Message-----
> From: Jirka Kosek [mailto:jirka@kosek.cz]
> Sent: Saturday, August 24, 2002 7:57 AM
> To: Sven Kitschke
> Cc: docbook-apps@lists.oasis-open.org
> Subject: Re: DOCBOOK-APPS: htmlhelp.xsl: links in index
> 
> 
> Sven Kitschke wrote:
> 
> > > Currently used method to generate indexes is completely 
> relying on HTML
> > > Help Workshop. So this is fault of HTML Help Workshop. I 
> plan to rewrite
> > > index code to use HHK files which could overcome this problem. But
> > > doesn't expect it soon.
> > >
> > >                               Jirka
> > 
> > Some weeks ago i initially started to produce the attached
> > customization. I've rounded it up to some degree. It was 
> tricky but it
> > works now. It may still contain bugs.
> > You possibly find it worth to include it in the stylesheets 
> or to use
> > it as a starting point for further development.
> 
> htmlhelp-common.xsl in CVS now supports index.hhk. You must set
> parameter htmlhelp.use.hhk to 1 in order to use this feature. Index
> generated by this way points to exact locations of terms. 
> Unfortunately
> there are other problems. If there are multiple occurences of 
> some term,
> list of term occurences contains term name instead of name of relevant
> topic. This is bug in HTML Help and only way to overcome this issue
> which I know is to disable possibility to go to the exact place where
> index term was defined not just to the beggining of topic. :-(
> 
> 					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