This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: [docbook-apps] How to encode HTMLHelp topic alias: <?dbhh topicname="some_title" topicid="42"?>
- From: Taro Ikai <tikai at ABINITIO dot COM>
- To: Jirka Kosek <jirka at kosek dot cz>
- Cc: docbook-apps at lists dot oasis-open dot org
- Date: Mon, 14 Jul 2003 18:27:41 -0400
- 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
the
> > 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>
element?
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.
Taro
---------------------------------------------------------------------
To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org