This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: Converting man page references to links
- From: Bob Stayton <bobs at caldera dot com>
- To: "Bradford, Denis" <denisb at rational dot com>, docbook-apps at lists dot oasis-open dot org
- Date: Tue, 19 Mar 2002 12:29:53 -0800
- Subject: Re: DOCBOOK-APPS: Converting man page references to links
- References: <3906C56A7BD1F54593344C05BD1374B1053EB549@SUS-MA1IT01>
On Tue, Mar 19, 2002 at 12:15:59PM -0500, Bradford, Denis wrote:
> Running chunk.html v 1.48 I'm trying to generate a link from the following
> citerefentry code:
>
> <citerefentry><refentrytitle>file</refentrytitle></citerefentry>
>
> The target seems to be coded okay:
>
> <refentry><refnamediv><refname>file</refname>
> ...
>
> This generates a link, but the target is empty: <a href="">file</a>
>
> The strange thing is, when I look at inline.xsl, the template that's
> supposed to do the work is a nop:
>
> <xsl:template name="generate.citerefentry.link">
> <!-- nop -->
> </xsl:template>
>
> Anybody know what's wrong with this picture?
My reading of the XSL stylesheets and the HTML parameter
reference for the 'citerefentry.link' parameter suggests
that <citerefentry> is intended to generate a web link,
not an internal link. And you get to write the template
that generates that link. A little do-it-yourself project. 8^)
For internal links, you might try using <xref> or <link> to
the refentry page id instead.
--
Bob Stayton 400 Encinal Street
Publications Architect Santa Cruz, CA 95060
Technical Publications voice: (831) 427-7796
Caldera International, Inc. fax: (831) 429-1887
email: bobs@caldera.com