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] Generating page numbers in xrefs to programlisitngs


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/.
>
>



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