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] Get total page

Did you look at Bob Stayton's write-up on consecutive page numbers (it includes a bit on "page x of y"):


If you are going to do much with DocBook, Bob's reference is pretty much essential.

Larry Rowland

-----Original Message-----
From: rabarivelo solofo [mailto:rabasolofo@yahoo.fr] 
Sent: Friday, August 20, 2010 1:49 AM
To: docbook-apps@lists.oasis-open.org
Subject: [docbook-apps] Get total page

Hi all,

I was trying to get the total page of a document(book) for few days but I 
couldn't have the result.

I want to have something like 1/4, 2/4...Actually, I have got 1, 2 ,..... just 
the page number.

Is there someone who can help me?

My code is as bellow:
                <xsl:when test="$double.sided = 0 and $position ='right'">
                    <xsl:text> of </xsl:text>
                        <fo:page-number-citation ref-id="last-page"/>
                            <fo:block id="last-page"/> 
                        <fo:page-number-citation ref-id="last-page"/>
                    <xsl:when test="$position ='left'">
Best regards,



To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org

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