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] | [List Home]

Subject: Re: [docbook-apps] How to encode HTMLHelp topic alias: <?dbhh topicname="some_title" topicid="42"?>

> > My second question: In the .hhp project file for HTML Help, what is 
> > semantic of the part following # in the [ALIAS] section?
> > 
> > i.e. 
> > 
> > [ALIAS]
> > IDH_TUTORIAL = online_t.htm#1041352
> It is a fragment identifier. It is autogenerated in a case that you 
> don't have id attribute on corresponding element (typically chapter or 
> section).
>          Jirka

In my document, chap1.xml, I put:

  <para id="foo">la la la</para>
  <?dbhh topicname="foo" topicid="777"?>

When I run this through xsltproc --nonet 
/usr/share/docbook-xsl/htmlhelp/htmlhelp.xsl mydocbook.xml
I get the following in my alias.h file that's included in my alias.h file:

  foo=ch01.html    (I can't find any use of '#' or a fragment identifier).

In the ch01.html, I find:

  <p><a name="foo"></a></p>

There is no mention of "777" anywhere, either in the alias.h file or the 
intermediate .html file.

So my question is this. How is the "topicid" attribute used inside <?dbhh> 
What do I have to do to make HTML Help jump to the correct SPOT on the 
page for a topic?

Thanks again in advance.


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