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] Para with ID and references with pagenumber

Actually, this is pretty odd.  There are quite a few element templates in
fo/block.xsl that don't call the template named "anchor" that outputs the id
into the XSL-FO.  So there is nothing for the FO processor to connect with.
I think this is just an oversight.  Can you file a bug report about this on

In the meantime, you could use this:

<xsl:template match="formalpara">
  <fo:block xsl:use-attribute-sets="normal.para.spacing">
    <xsl:call-template name="anchor"/>

Bob Stayton
Sagehill Enterprises
DocBook Consulting

----- Original Message ----- 
From: "Steffen Glückselig" <glueckselig@gungfu.de>
To: <docbook-apps@lists.oasis-open.org>
Sent: Sunday, February 20, 2005 8:41 AM
Subject: [docbook-apps] Para with ID and references with pagenumber

> Hello,
> I'd like to reference a paragraph including the number of the page it
appears in.
> Somewhere in my document I have a
> <formalpara id="someid"><title>sometitle</title>some text...</formalpara>
> which gets referenced thus: <xref linkend="someid" role="select:
quotedtitle pageabbrev"/>
> In the pdf-output this will result in
> "sometitle" (p. ?)
> I couldn't get the pagenumber in there. How could I achieve this?
> thanks
> best regards
> Steffen Glückselig

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