docbook: Xref & Link


Previous by date: 17 Jan 2003 03:46:35 -0000 Re: Xref & Link, Tabatha Persad
Next by date: 17 Jan 2003 03:46:35 -0000 Re: Xref & Link, Tabatha Persad
Previous in thread: 17 Jan 2003 03:46:35 -0000 Re: Xref & Link, Tabatha Persad
Next in thread: 17 Jan 2003 03:46:35 -0000 Re: Xref & Link, Tabatha Persad

Subject: Re: Xref & Link
From: "Jacob C" ####@####.####
Date: 17 Jan 2003 03:46:35 -0000
Message-Id: <004801c2bddb$081a6430$0300a8c0@tdak.com>

Thanks Tabatha. It seems a little weird that it would be done like that. I
will try it but isn't the problem with referencing the section id and not
the title, or am I missing something in thinking that way?

Snippet of original post:

>> <xref linkend="storinglogs" endterm="storinglogs.title"></xref>
> >         <section id="storinglogs">
> >           <title id="storinglogs.title">Storing of Log Files
(NFS)</title>

The error that is produced:

>> XRef LinkEnd to missing ID 'storinglogs'

I also tried it w/out the period in the endterm and title is, as Greg
suggested but it didn't seem to make a difference.

Jacob


----- Original Message -----
From: "Tabatha Persad" ####@####.####
To: "Jacob C" ####@####.####
Cc: ####@####.####
Sent: Thursday, January 16, 2003 7:54 PM
Subject: Re: Xref & Link


> Hi Jacob,
>
> Know the feeling, still post here too when I have my blonde moments.
>
> Do you need to have the endterm?  Try this, make your ids look like:
> <section id="whatever">
> <title>The Whatever Section</title>
>
> Then when you want to cross ref to it, insert:
> <xref linkend="whatever" />
>
> This will give you the section number, rather than the name.  If you
> really must have the endterm, you have to make your section look like:
> <section id="whatever">
> <title>The Whatever Section</title>
> <titleabbrev id="sect_whatever">Whatever Section</titleabbrev>
>
> Then when you cross ref to it, insert:
> <xref linkend="whatever" endterm="sect_whatever" />
>
> This will then display what was in quotes for endterm instead of just
> "Section 1.1" (or whatever number is designated).
>
> Hope that helps!
>
> Tabatha
>
>
> On Thu, 2003-01-16 at 14:10, Jacob C wrote:
> > Hi All,
> >
> > My apologies for posting so much over the past few days but I am at that
stage in the laerning curve where it's the steepest and besides, you all
give such great advice :-)
> >
> > I am having a problem with establishing links to content within a
docbook. I have the following XML:
> >
> >         <section>
> >           <title>Error &amp; Parse Time Logging</title>
> >           <para>All logging in the system is file based. For further
information on how the logs are stored see <xref linkend="storinglogs"
endterm="storinglogs.title"></xref>.</para>
> >         </section>
> >         <section id="storinglogs">
> >           <title id="storinglogs.title">Storing of Log Files
(NFS)</title>
> >           <para></para>
> >         </section>
> >
> > I also tried:
> >
> > <link linkend="storinglogs" endterm="storinglogs.title"></link>
> >
> > I receive:
> >
> > XRef LinkEnd to missing ID 'storinglogs'
> >
> > I read somewhere that the ID needs to be defined in the DTD but that
doesn't make any sense to me.
> >
> > Your help is much appreciated,
> > Jacob
> --
> Tabatha Persad
> Web: www.merlinmonroe.com
> Linux Documentation Project Review Coordinator (http://www.tldp.org)
> Gnu Writing Movement Contributor (http://gwm.gnu.org)
> Linux Counter Area Manager US:wa (http://counter.li.org)
>
>
>



Previous by date: 17 Jan 2003 03:46:35 -0000 Re: Xref & Link, Tabatha Persad
Next by date: 17 Jan 2003 03:46:35 -0000 Re: Xref & Link, Tabatha Persad
Previous in thread: 17 Jan 2003 03:46:35 -0000 Re: Xref & Link, Tabatha Persad
Next in thread: 17 Jan 2003 03:46:35 -0000 Re: Xref & Link, Tabatha Persad


  ©The Linux Documentation Project, 2014. Listserver maintained by dr Serge Victor on ibiblio.org servers. See current spam statz.