[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: initial-page-number

Subject: RE: initial-page-number
From: KAATMAN Matthew <matthew.kaatman@xxxxxxxxxxxxxx>
Date: Mon, 29 Jul 2013 23:34:33 +0200
RE:  initial-page-number
Hey Ken,

Thanks for the reply. I think what I need to do is abandon
intial-page-number="1" so that I get normal 1-213 numbering. That fixes the
acrobat issue.

Then, maybe I need to start my own per chapter page counter for the footer
(that resets for each chapter).

I agree with you on the printing of 89 of 213. You'd think that would be the
underlying page but we were getting some crazy results.
Printing page 1 would give us 1-1 and not the front cover.
Printing page 3-1 which Acrobat sees as 1 (27 of 213) would give us the 27th
page of chapter 7 for example because it was the first chapter with 27 pages.
Because of this behavior, there were certain pages I couldn't even print
unless I selected "Current Page". I can upload an example if anyone wants to
see the madness.

Our group is converting documents from Framemaker to DITA and we had the
desired functionality in Frame. Hoping I can figure out a way to do it in FO.
(Is there a way to generate FO from Frame? Maybe comparing the two would be
revealing.)

I'll keep researching and if I make a significant discovery, I'll report
back.

Matt

-----Original Message-----
From: G. Ken Holman [mailto:g.ken.holman@xxxxxxxxx] On Behalf Of G. Ken
Holman
Sent: Monday, July 29, 2013 3:59 PM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx; xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re:  initial-page-number

Sorry not to be helpful for your first post, but I think this is an Acrobat
issue and not and XSL-FO issue.

There are no other workarounds or alternatives for the page numbering effect
you need in XSL-FO, so you are stuck with that to get the renumbering to
work.

Perhaps you can ask this question in an Acrobat forum, and I'm sure it would
help this list (myself included) if you posted your discoveries here.  Perhaps
there are syntax alternatives to interpreting page numbers specified in the
print dialogue ... I don't know and haven't tried.

I'm surprised when you say printing page 89 doesn't give you "89 of 213" ...
isn't the "89 of 213" the underlying page number in the PDF file?  If so, how
is it that another chapter has 89 pages before this 89th page?

Welcome to the list!

. . . . . . . . . . . Ken

At 2013-07-29 22:21 +0200, KAATMAN Matthew wrote:
>Hello Everyone,
>
>I have a situation where I'm using Chapter-Page numbering at the bottom
>of each page. Each Chapter resets numbering to one using
>initial-page-number="1".
>
>This works great, but the side effect is odd behavior in Acrobat, etc.
>For example, I end up with page: 1 (89 of 213). Then when you try to
>print page 1, you get page 1-1. If you try to print page 89, you'll get
>the page from the first chapter that has 89 pages.
>
>Looking for some guidance before I re-invent the wheel. These are my
>two goals.
>
>1. I'd like acrobat to use the raw page numbers: 1-213.
>2. I'd like to keep using Chapter-Page in my footer, where each chapter
>resets to page 1.
>
>As a side note, I'm working within the context of DITA based documentation.
>
>First post here, go easy on me!
>
>Thanks,
>Matt
>
>--~--


--
Public XSLT, XSL-FO, and UBL classes in the Netherlands     Oct 2013 |
Public XSLT, XSL-FO, UBL and code list classes in Australia Oct 2013 | Contact
us for world-wide XML consulting and instructor-led training | Free 5-hour
lecture: http://www.CraneSoftwrights.com/links/udemy.htm |
Crane Softwrights Ltd.            http://www.CraneSoftwrights.com/s/ |
G. Ken Holman                   mailto:gkholman@xxxxxxxxxxxxxxxxxxxx |
Google+ profile: https://plus.google.com/116832879756988317389/about |
Legal business disclaimers:    http://www.CraneSoftwrights.com/legal |


AVIS : Ce courrier et ses pieces jointes sont destines a leur seul
destinataire et peuvent contenir des informations confidentielles appartenant
a bioMerieux. Si vous n'etes pas destinataire, vous etes informe que toute
lecture, divulgation, ou reproduction de ce message et des pieces jointes est
strictement interdite. Si vous avez recu ce message par erreur merci d'en
prevenir l'expediteur et de le detruire, ainsi que ses pieces jointes.
NOTICE: This message and attachments are intended only for the use of their
addressee and may contain confidential information belonging to bioMerieux. If
you are not the intended recipient, you are hereby notified that any reading,
dissemination, distribution, or copying of this message, or any attachment, is
strictly prohibited. If you have received this message in error, please notify
the original sender immediately and delete this message, along with any
attachments.

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.