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] Question regarding links when chunking

> -----Original Message-----
> From: Andreas Goebel 
> Links are done like this in my document:
> <ulink
> url="#Ortsflaechen" >Orts&#xFB02;&#x00E4;chen</ulink>
> And the target is like this:
> <anchor
> id="Ortsflaechen" >
> If I translate the docbook to htmlhelp with no chunking (one 
> big file), 
> then the links continue to work.
> If however I do chunking (which is advisable in my case), the 
> links no 
> longer work.
> The links in the generated html-source look as follows:
> <a href="#Ortsflaechen" target="_top">
> which of course cannot work, as the target is in a differend 
> document now.

You are linking to an anchor within your document, so you should use

  <link linkend="Ortsflaechen">Orts&#xFB02;&#x00E4;chen</link> (without the
'#' character).

The ulink element is used for URLs, like this: 
  <ulink url="http://www.google.se";>Link to Google</ulink>

See http://docbook.org/tdg/en/html/ulink.html.


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