View Single Post
Old 05-26-2009, 06:13 AM   #1
ckirchho
Member
ckirchho is on a distinguished road
 
Posts: 18
Karma: 62
Join Date: Mar 2009
Device: none
Sony Reader jumps one page back when supposed to go forward

Hello,

we are producing EPUBs out of DTBOOK XML. In one of our files there is a strange problem with the pagination of the book. There is one particular page, and when one tries to go to the next page from there, the reader opens the previous page. Pressing the next page button (either the one at the right side of the display or the other one) again lets the reader jump forward to the problematic page again.
If you type in the page number of the page AFTER the problematic page, the reader is able to go there. If you then go back one page to the problematic page and press one of the buttons for the next page, the reader jumps to the next page.
I guess you have to let the reader display some of the pages before the problematic page in order to get into the aforementioned circle.

This is what the page numbers say (I begin a few pages before the problematic page):
- in the footer it says: 151-152 of 384; margin shows 152
- in the footer it says: 152-153 of 384; margin shows 153
- in the footer it says: 152-154 of 384; margin shows 153 and 154, the 154 is kind of hidden under the 153 (here it starts to get weird)
- in the footer it says: 152-155 of 384; margin shows 153, the 154 is still overlayed by the 153, and in addition it now shows 155 just 5 lines under the 153

The last one is the problematic page, that will jump to the previous page when you press "next page".

When I enter "156" and jump to the appropriate page, and then press "previous page", I land on the problematic page. But between the page 156 and the problematic page there should be some text. If I press "next page", I land on the page with the missing text, "next page" leads to page 156 again. This is repeatable. "Back" jumps back two pages, "forth" reveals overjumped text, another "forth" lands on page 156.

Page 156 is in a new xhtml file by the way.

In Adobe Digital Editions there are no such problems, except for that in the area where the problematic page is, the margin page number 153 appears after the page number 154. First comes 154, then a couple of lines of text below 153, and even lower 155.

My guess is that somehow the pagination algorithm goes wrong there.

But what might trigger such problems? Does anyone now the cause? Or a cure/solution?

Best regards,

Christian Kirchhoff
ckirchho is offline   Reply With Quote