View Full Version : Glitch with page numbers (!) in Digital Editions


GraciousMe
01-09-2013, 08:29 AM
A friend just showed me how my recently published epub-book looks in his computer. He runs Digital Editions and told me he had a problem with footnotes.

Actually the problem was not foonotes (they are in blue and easily recognizable) but with something looking like page numbers!

These numbers, as far as I could see progressing just like page numbers, collided with my text, sitting on top of the text so to speak.

How can this be?

DiapDealer
01-09-2013, 09:01 AM
That's the way it's always been on the desktop version of ADE, AKAIK. I believe that's what people used the special Adobe template file to remedy (among other things). The only other solution is to hardcode margins into the ePub (not really very desireable, though) to keep from overlapping the page numbers (which just happen).

AnotherCat
01-09-2013, 05:13 PM
If I understand the problem correctly they can be turned off in the menu path Reading>Hide Page Numbers.

It is a toggle which switches between "Hide Page Numbers" and "Show Page Numbers" and if I recall correctly the default upon installation of ADE is for them to be shown.

DiapDealer
01-09-2013, 05:42 PM
Must be on the newest version of ADE. I have no such option on v1.7. I may have to break down and upgrade to 2.0 before they force me to. ;)

AnotherCat
01-10-2013, 04:57 AM
Must be on the newest version of ADE. I have no such option on v1.7...

When the page numbers popped up in ADE 2.0 I could not recall ever having to have turned them off in earlier editions, but at the time I was not sure if that was so :).

So, you have confirmed that they are indeed an ADE 2.0 "enhancement" :rolleyes:. As GraciousMe says, they float over the text which appeared weird to me too.

mzmm
01-10-2013, 08:39 AM
i know ADE had/has a feature to write page numbers to an epub that would correspond to the print copy via a page-map.xml file, so it could be that?

there's some info here (http://wiki.mobileread.com/wiki/Adobe_Digital_Editions#Page-map) and here (http://www.mobileread.com/forums/archive/index.php/t-53195.html) about Adobe's page-map

JeanneLaska
01-10-2013, 01:27 PM
That sounds very similar to a problem I've had.

The problem appeared on a Kobo reader: not only were there arbitrary page numbers (following a set number of words rather than the layout chosen by the Kobo's owner), but those page numbers were literally on the text, as GraciousMe reported.

My ePub was created with Sigil (and this problem has not been reported yet on other ePub reading devices). Owner of Kobo said he's never seen this problem before (other ebooks were mostly purchased on the Kobo site).

Any chance either he or I can do something about it? Does that sound like a feature of Kobo, or something I can tell my ePub not to do? I'm really at a loss.

theducks
01-10-2013, 03:24 PM
That sounds very similar to a problem I've had.

The problem appeared on a Kobo reader: not only were there arbitrary page numbers (following a set number of words rather than the layout chosen by the Kobo's owner), but those page numbers were literally on the text, as GraciousMe reported.

My ePub was created with Sigil (and this problem has not been reported yet on other ePub reading devices). Owner of Kobo said he's never seen this problem before (other ebooks were mostly purchased on the Kobo site).

Any chance either he or I can do something about it? Does that sound like a feature of Kobo, or something I can tell my ePub not to do? I'm really at a loss.

for ADE 1.7, I do 2 things
1)in my body class
.calibre {
display: block;
font-size: 1.2em;
margin-bottom: 0;
margin-left: 2pt;
margin-right: 16pt;
margin-top: 0;
padding-left: 0;
padding-right: 0;
text-align: justify
}

2) I read with a zoom level 3, thus shrinking the page number so that 3 digits fit within the now right margin.

JSWolf
01-11-2013, 02:24 AM
Any chance either he or I can do something about it? Does that sound like a feature of Kobo, or something I can tell my ePub not to do? I'm really at a loss.

He (the owner of Kobo) can do something about it. He can have his programmers update the firmware such that it is using the latest version of ADE that does not have the page number on the right side of the screen.

While he's getting his programmers to do that, can you also get him to get his programmers to fix the embedded font bug where it ignores the font-family CSS directive to use a specific embedded font if the font-family is placed in the body style. See the code box for an example.

body {
font-family: Charis;
widows: 0;
orphans: 0
}

The font-family above is supposed to use the font labeled Charis (elsewhere in the CSS would be the font definition). But All Kobo Readers ignore this and it breaks a lot of embedded fonts in a lot of ePub as most publishers put the font-family for the main embedded font in the body style.

theducks
01-13-2013, 02:17 PM
He (the owner of Kobo) can do something about it. He can have his programmers update the firmware such that it is using the latest version of ADE that does not have the page number on the right side of the screen.

While he's getting his programmers to do that, can you also get him to get his programmers to fix the embedded font bug where it ignores the font-family CSS directive to use a specific embedded font if the font-family is placed in the body style. See the code box for an example.

body {
font-family: Charis;
widows: 0;
orphans: 0;
}

The font-family above is supposed to use the font labeled Charis (elsewhere in the CSS would be the font definition). But All Kobo Readers ignore this and it breaks a lot of embedded fonts in a lot of ePub as most publishers put the font-family for the main embedded font in the body style.

It ignores this because the style is malformed (red), :smack:
for consistency I always include the optional last semicolon (blue) :thumbsup:

JSWolf
01-13-2013, 06:31 PM
It ignores this because the style is malformed (red), :smack:
for consistency I always include the optional last semicolon (blue) :thumbsup:

Ooops! I left out the semicolon when typing in that CSS. My mistake. I'll go fix it now. Thanks for catching it.

Now my turn to catch an error with your semicolon. Your blue one is actually green.

JeanneLaska
01-15-2013, 09:07 PM
OK, all written down! :thanks:

meeera
01-21-2013, 02:12 AM
That sounds very similar to a problem I've had.

The problem appeared on a Kobo reader: not only were there arbitrary page numbers (following a set number of words rather than the layout chosen by the Kobo's owner), but those page numbers were literally on the text, as GraciousMe reported.

They're not exactly arbitrary page numbers, they're page numbers based on an ADE definition of a "page" in a reflowable epub ebook being 1024 btyes. (Everyone uses a different font, font size, margin, etc - we have to agree on what constitutes a "page" somehow.)

You can simply turn their display off in page 2 of the Reading Settings, "Page Numbers In Margins". Alternatively, if you prefer to see them, you could set your margin a little wider.

JSWolf
01-22-2013, 01:44 PM
They're not exactly arbitrary page numbers, they're page numbers based on an ADE definition of a "page" in a reflowable epub ebook being 1024 btyes. (Everyone uses a different font, font size, margin, etc - we have to agree on what constitutes a "page" somehow.)

Why not just use the ADE method? It doesn't change with different fonts, different margins, different font sizes, etc. It's a good method. It's not perfect, but it works.