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] xref when page number prefixes are enabled


Sean Wheller wrote:
> Hi,
> 
> My page numbering is prefixed by the chapter number as so
> 1-1
> 1-2
> 1-3
> 1-4
> 
> When I use xref the page number is shown as
> See the section called "bla bla", [2]
> 
> when it should show as
> See the section called "bla bla", [1-2]
> 
> Is there some nice way to fix this? A hint will do.

Try:

<xsl:template match="*" mode="pagenumber.markup">
   <xsl:apply-templates mode="page-number-prefix" select="."/>
   <fo:page-number-citation ref-id="{@id}"/>
</xsl:template>

I'm supposing that you are using page number prefixes code from 
(http://wiki.docbook.org/topic/PageNumberPrefixes) :-D

			Jirka

-- 
------------------------------------------------------------------
   Jirka Kosek     e-mail: jirka@kosek.cz     http://www.kosek.cz
------------------------------------------------------------------
   Profesionální školení a poradenství v oblasti technologií XML.
      Podívejte se na náš nově spuštěný web http://DocBook.cz
        Podrobný přehled školení http://xmlguru.cz/skoleni/
------------------------------------------------------------------
                    Nejbližší termíny školení:
        ** DocBook 15.-17.5.2006 ** XSL-FO 12.-13.6.2006 **
     ** XSLT 23.-26.10.2006 ** XML schémata 13.-15.11.2006 **
------------------------------------------------------------------
   http://xmlguru.cz    Blog mostly about XML for English readers
------------------------------------------------------------------

S/MIME Cryptographic Signature



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