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] internal linking


Hi,

On Sonntag, 4. März 2007, Dave Pawson wrote:
> I'm currently using
>
> see <xref linkend="modes.ex1" endterm="modes.ex1.s"/></para>
>
>
> <example xml:id="modes.ex">
>    <title></title>
>    <titleabbrev xml:id=""></titleabbrev>
>    <programlisting>
> ..
>
> to get a connection from body text to an example.
>
> Is it possible to *just* get the number, so that
> the link shows in html as
>
> see example 2.1  ....
>
> or whatever the number is?

Use the attribute xrefstyle, for example:

 <xref linkend="modes.ex1" xrefstyle="select:label"/>

Find more about the allowed content in xrefstyle here:

  http://www.sagehill.net/docbookxsl/CustomXrefs.html#Xrefstyle


Hope that helps,
Tom

-- 
Thomas Schraitle


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