This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: [docbook-apps] HTMLHelp: links to explicitly named anchors seembroken
- From: Jens Stavnstrup <js at ddre dot dk>
- To: "Paul A. Hoadley" <paulh at logicsquad dot net>
- Cc: docbook-apps at lists dot oasis-open dot org
- Date: Tue, 6 May 2003 09:45:48 +0200 (CEST)
- Subject: Re: [docbook-apps] HTMLHelp: links to explicitly named anchors seembroken
- Reply-to: Jens Stavnstrup <js at ddre dot dk>
Paul,
I assume your id is called sec:notepad. This might be a legal Docbook id,
but maybee not a legal HTMLHelp id ?
It might work if yo rename the id to e.g. sec-notepad - just a qualified
guess, bu I can't see any other explanation !
Regards,
Jens
On Tue, 6 May 2003, Paul A. Hoadley wrote:
> Hello,
>
> I am part-way through debugging this, but I thought I'd see if anyone
> else had observed this and knows the fix.
>
> I'm generating HTMLHelp with htmlhelp/htmlhelp.xsl (from the 1.60.1
> stylesheet distribution). In the TOC panel of the Windows Help
> browser, any links which should point at an explicitly named anchor
> (the auto-generated IDs are fine) seem to send the browser searching
> somewhere non-local -- seems to be handing some malformed URL to the
> browser.
>
> Here is an excerpt from the generated toc.hhc:
>
> <param name="Name" value="Utilities">
> <param name="Local" value="ch02s02.html#id2978761">
> </OBJECT><UL><LI> <OBJECT type="text/sitemap">
> <param name="Name" value="Notepad">
> <param name="Local" value="ch02s02.html#sec:notepad">
>
> As an example, the TOC link to 'Utilities' is fine, but the link to
> the explicitly named 'Notepad' sends the browser searching for a
> non-local URL. Debugging is not straightforward, since the HTML Help
> browser doesn't give much away about what it's doing.
>
> Any thoughts?
>
>
> --
> Paul.
>
> mailto:paulh@logicsquad.net
> mailto:phoadley@maths.adelaide.edu.au
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
> For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org