This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: Cross references
- To: Dave Pawson <daveP at dpawson dot freeserve dot co dot uk>
- Subject: Re: DOCBOOK-APPS: Cross references
- From: Peter Eisentraut <peter_e at gmx dot net>
- Date: Tue, 20 Mar 2001 17:45:43 +0100 (CET)
- Cc: docbook-apps at lists dot oasis-open dot org
Dave Pawson writes:
> My general requirement, when producing html, is to have
> a hot link from the link content through to the idvalue
> shown in linkend attribute.
>
> E.g. <link linkend="idn">Hot content </link> linking through
> to whatever element has the corresponding 'idn' value as
> its id attribute.
>
> <example id="idn">This, to me, is a valid target, as might
> be a <para>, section, or <head> element.
>
> Am I in a minority with this one or would others like it
> extended.
> AFAIK, the only valid targets for linkend are 'major'
> wrapper elements, such as <sect1 <section etc.
AFAIK, <link>s work to anywhere. What doesn't work to everywhere is
<xref>, presumably because of the inability to generate appropriate "hot"
text. I generally avoid <link> altogether, because they don't show in
print versions.
--
Peter Eisentraut peter_e@gmx.net http://yi.org/peter-e/
------------------------------------------------------------------
To unsubscribe from this elist send a message with the single word
"unsubscribe" in the body to: docbook-apps-request@lists.oasis-open.org