[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Subject: Re: DOCBOOK: xref text
Camille, To display the title of say a Chapter you would have to amend your source in the following way: [...] <preface><title>préface</title> <para> See <link linkend="samba" endterm="samba.title"> 'Change here </para> </preface> <chapter id="samba"><title id="samba.title">SAMBA</title> 'Change here <sect1><title>What is samba?</title> [...] I changed the xref element into a link element just because it's the way I do it. I suspect it works the same for xref but I can't remember off the top of my head. Can anyone confirm this ? Notice the change in the link element and in the chapter/title element. An id has been added to the title element of the chapter. Your cross-reference now references the chapter id as the linkend and the chapter title id as the link endterm (text if you will). Hope this helps, Stéphane Bline. ----- Original Message ----- From: Camille Begnis <camille@mandrakesoft.com> To: DocBookList <docbook@lists.oasis-open.org> Sent: Tuesday, February 29, 2000 12:21 AM Subject: DOCBOOK: xref text > The doc says that: > > "A straight link generates the cross-reference text: Chapter 2, "The > Second Chapter"" > > Though in my case, the quoted title is not shown > The following example just says: > See Chapter 1. > > Is there a parameter to change? I couldn't find it. > > Thanks, Camille. > > ---------------- > > [...] > <preface><title>préface</title> > <para> > See <xref linkend="samba">. > </para> > </preface> > <chapter id="samba"><title>SAMBA</title> > > <sect1><title>What is samba?</title> > [...]
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Powered by eList eXpress LLC