This is the mail archive of the
docbook@lists.oasis-open.org
mailing list for the DocBook project.
Re: Re: Including an element's content without generatinghyperlink
On Fri, Jul 19, 2002 at 12:20:36PM -0400, Phil Glaser wrote:
> Hi,
>
> > / Phil Glaser <StillSmallVoice@DirectvInternet.com> was heard to say:
> > | wanted. Is there some other mechanism for repeating the
> > contents of another
> > | element but that does not cross-reference it so as to create a
> > hyperlink?
> >
> > There's no element with the semantic you want. I suggest that you use
> > <xref role="nolink" ...> and tweak the stylesheets to suppress
> > the linkiness
> > of xrefs with a role of nolink.
>
> There's another wrinkle in this: I subsequently noticed that in PDF although
> the section headings themslves come out ok, they do not show up properly in
> the TOC. What happens is that the section numbers show up but not the names
> of the sections. I'm guessing that the processor (xsltproc) is generating
> the TOC before resolving xrefs. Is there any way to control that behavior
> from the XSL side, or am I SOL?
>
What about going the other direction?
Put the text into the section <title>s and build
your table with <xref>s to them?
Then tweak the stylesheet to turn off the
links, as Norm suggested.
--
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