This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: [docbook-apps] Generating page numbers in xrefs to programlisitngs
- From: "Bob Stayton" <bobs at sagehill dot net>
- To: "Joachim Ziegler" <ziegler at mpi-sb dot mpg dot de>,"DocBook-Apps" <docbook-apps at lists dot oasis-open dot org>
- Date: Mon, 12 Jan 2004 10:09:49 -0800
- Subject: Re: [docbook-apps] Generating page numbers in xrefs to programlisitngs
- References: <40029D08.2060807@mpi-sb.mpg.de>
This appears to be a bug in the stylesheet. The verbatim elements
are creating a $id variable, but they never actually output it to the FO.
Can you file a bug report on SourceForge for this?
In the meantime, you can work around the problem by moving the id
from the programlisting element to an anchor element inside the
programlisting:
<programlisting><anchor id="prg.Conway"
xreflabel="Conways Game of Life"/><textobject ...
Bob Stayton
Sagehill Enterprises
bobs@sagehill.net
----- Original Message -----
From: "Joachim Ziegler" <ziegler@mpi-sb.mpg.de>
To: "DocBook-Apps" <docbook-apps@lists.oasis-open.org>
Sent: Monday, January 12, 2004 5:11 AM
Subject: [docbook-apps] Generating page numbers in xrefs to programlisitngs
> When I give an xreflabel to a programlisting like in the following
>
> <programlisting id="prg.Conway" xreflabel="Conways Game of
> Life"><textobject><textdata
> fileref="Code/ConwaysGameOfLife.C"/></textobject></programlisting>
>
> and later I reference this by
>
> "...like we have seen in <xref linkend="prg.Conway"/>..."
>
> then, while transforming to pdf, XEP says
>
> {?unresolved internal destination: 'prg.Conway'}
>
> and in the pdf output I see
>
> "...like we have seen in Conways Game of Life [?]..."
>
> Is ist not possible to generate page numbers to cross references other
> than component and sectioning elements?
>
> Greetings,
> Joachim
>
>
> --
> Joachim Ziegler Stuhlsatzenhausweg 85
> Max-Planck-Institut für Informatik 66123 Saarbrücken, Germany
> Email: ziegler@mpi-sb.mpg.de Tel.: (+49) 0681 9325-127
>
>
> To unsubscribe from this list, send a post to
docbook-apps-unsubscribe@lists.oasis-open.org, or visit
http://www.oasis-open.org/mlmanage/.
>
>
To unsubscribe from this list, send a post to docbook-apps-unsubscribe@lists.oasis-open.org, or visit http://www.oasis-open.org/mlmanage/.