This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Converting man page references to links


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]