Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Formats > ePub

Notices

Reply
 
Thread Tools Search this Thread
Old 08-14-2009, 07:49 AM   #46
Jellby
frumious Bandersnatch
Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.
 
Jellby's Avatar
 
Posts: 7,549
Karma: 19500001
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
Quote:
Originally Posted by HarryT View Post
There's a "1" in the margin, but a "5 of 24" on the status bar, so the "goto" is agreeing with the status bar numbers, not the margin numbers.
OK, that's a sensible solution.
Jellby is offline   Reply With Quote
Old 08-14-2009, 07:53 AM   #47
WillAdams
Wizard
WillAdams ought to be getting tired of karma fortunes by now.WillAdams ought to be getting tired of karma fortunes by now.WillAdams ought to be getting tired of karma fortunes by now.WillAdams ought to be getting tired of karma fortunes by now.WillAdams ought to be getting tired of karma fortunes by now.WillAdams ought to be getting tired of karma fortunes by now.WillAdams ought to be getting tired of karma fortunes by now.WillAdams ought to be getting tired of karma fortunes by now.WillAdams ought to be getting tired of karma fortunes by now.WillAdams ought to be getting tired of karma fortunes by now.WillAdams ought to be getting tired of karma fortunes by now.
 
WillAdams's Avatar
 
Posts: 1,258
Karma: 3439432
Join Date: Feb 2008
Device: Amazon Kindle Paperwhite (300ppi), Samsung Galaxy Book 12
FWIW, the old tradition of using roman numerals for frontmatter, then arabic for the balance was done so that new editions of a book could be issued w/o re-numbering the main text block if only a page or two was added to the frontmatter.

While the expense argument doesn't apply to ebooks, having page numbers be invariant between editions does have a certain appeal and could probably be handled better in the reader interface, say have a dialog which pops up when one begins to enter a page number:

FM ____ Text ____ Print edition ____

Where entering a folio in the first field would take one to the roman numeraled frontmatter sections, the middle to the text block, the last could be the pages as they are in the printed edition.

William
WillAdams is offline   Reply With Quote
Advert
Old 08-14-2009, 08:17 AM   #48
frabjous
Wizard
frabjous can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterfrabjous can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterfrabjous can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterfrabjous can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterfrabjous can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterfrabjous can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterfrabjous can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterfrabjous can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterfrabjous can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterfrabjous can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterfrabjous can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameter
 
frabjous's Avatar
 
Posts: 1,213
Karma: 12890
Join Date: Feb 2009
Location: Amherst, Massachusetts, USA
Device: Sony PRS-505
Quote:
Originally Posted by Jellby View Post
That's similar to what Acrobat Reader does with PDFs: it will show "100 (107 of 234)".
Sort of. The difference is that the goto box in Acrobat Reader works the other way, which I find preferable. If I enter 107 into the Goto box, I'll end up at "107 (114 of 234)", which is far preferable than ending up at "100 (107 of 234)", which is how it works on my Sony with ePubs like this.

Edit: Ah, I see you've covered this.

Does anyone know offhand what Stanza does with these?

Last edited by frabjous; 08-14-2009 at 08:28 AM.
frabjous is offline   Reply With Quote
Old 08-14-2009, 08:23 AM   #49
HarryT
eBook Enthusiast
HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.
 
HarryT's Avatar
 
Posts: 85,544
Karma: 93383099
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
Quote:
Originally Posted by frabjous View Post
Sort of. The difference is that the goto box in Acrobat Reader works the other way, which I find preferable. If I enter 107 into the Goto box, I'll end up at "107 (114 of 234)", which is far preferable than ending up at "100 (107 of 234)", which is how it works on my Sony with ePubs like this.
Does Acrobat Reader allow you to "goto" non-Arabic numerals, then? Eg, could you goto page "iv"?
HarryT is offline   Reply With Quote
Old 08-14-2009, 08:32 AM   #50
Jellby
frumious Bandersnatch
Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.
 
Jellby's Avatar
 
Posts: 7,549
Karma: 19500001
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
Quote:
Originally Posted by HarryT View Post
Does Acrobat Reader allow you to "goto" non-Arabic numerals, then? Eg, could you goto page "iv"?
I can't say for sure, but I seem to remember it does. You can also go to page "100 (107 of 234)" by writing the "(107)" inside the parentheses, so you can choose the page by absolute number or by label.
Jellby is offline   Reply With Quote
Advert
Old 08-14-2009, 08:43 AM   #51
Abecedary
Exwyzeeologist
Abecedary could sell banana peel slippers to a Deveel.Abecedary could sell banana peel slippers to a Deveel.Abecedary could sell banana peel slippers to a Deveel.Abecedary could sell banana peel slippers to a Deveel.Abecedary could sell banana peel slippers to a Deveel.Abecedary could sell banana peel slippers to a Deveel.Abecedary could sell banana peel slippers to a Deveel.Abecedary could sell banana peel slippers to a Deveel.Abecedary could sell banana peel slippers to a Deveel.Abecedary could sell banana peel slippers to a Deveel.Abecedary could sell banana peel slippers to a Deveel.
 
Abecedary's Avatar
 
Posts: 535
Karma: 3261
Join Date: Jun 2009
Device: :PRS-505::iPod touch:
Quote:
Originally Posted by HarryT View Post
Does Acrobat Reader allow you to "goto" non-Arabic numerals, then? Eg, could you goto page "iv"?
Yes, Acrobat and the desktop ADE client both handle non-Arabic numerals in the same way. If you have the Heroic Measures PDF from the Oprah giveaway from last month, you can see how it works.
Abecedary is offline   Reply With Quote
Old 08-14-2009, 01:19 PM   #52
DaleDe
Grand Sorcerer
DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.
 
DaleDe's Avatar
 
Posts: 11,470
Karma: 13095790
Join Date: Aug 2007
Location: Grass Valley, CA
Device: EB 1150, EZ Reader, Literati, iPad 2 & Air 2, iPhone 7
Thanks for the Pictures of Dorian Gray book. It is nicely formatted. As to the behavior of my EZ Reader. It displays each number on the upper right corner of the starting page. Since each number is a chapter and starts a new screen that is as it should be. It displays roman numerals and arabic numbers ok. the Cover screen does not display anything.

The page progress display shows x/24 where x is a number from 1 to 24. 1 is the cover page and 2 to 4 are the roman numerals (i to iii). The book proper starts on page 5. The goto command on this unit goes to the progress display numbers. That is, to go to the first page of the book you have to enter 5.

Dale
DaleDe is offline   Reply With Quote
Old 08-15-2009, 01:41 AM   #53
HarryT
eBook Enthusiast
HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.
 
HarryT's Avatar
 
Posts: 85,544
Karma: 93383099
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
Quote:
Originally Posted by DaleDe View Post
The page progress display shows x/24 where x is a number from 1 to 24. 1 is the cover page and 2 to 4 are the roman numerals (i to iii). The book proper starts on page 5. The goto command on this unit goes to the progress display numbers. That is, to go to the first page of the book you have to enter 5.

Dale
Same as the Opus - as one would expect, since both are using the same ADE reader.
HarryT is offline   Reply With Quote
Old 08-15-2009, 05:49 AM   #54
Jellby
frumious Bandersnatch
Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.
 
Jellby's Avatar
 
Posts: 7,549
Karma: 19500001
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
Quote:
Originally Posted by DaleDe View Post
Thanks for the Pictures of Dorian Gray book. It is nicely formatted.
I'm glad you liked it, but please download the one in ePUB Books forum, as it has a real title and not these silly pages
Jellby is offline   Reply With Quote
Old 08-15-2009, 10:38 AM   #55
DaleDe
Grand Sorcerer
DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.
 
DaleDe's Avatar
 
Posts: 11,470
Karma: 13095790
Join Date: Aug 2007
Location: Grass Valley, CA
Device: EB 1150, EZ Reader, Literati, iPad 2 & Air 2, iPhone 7
Quote:
Originally Posted by Jellby View Post
I'm glad you liked it, but please download the one in ePUB Books forum, as it has a real title and not these silly pages
Ah yes, but I appreciate the effort to make the one posted here to illustrate this discussion.
DaleDe is offline   Reply With Quote
Old 08-15-2009, 03:23 PM   #56
frabjous
Wizard
frabjous can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterfrabjous can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterfrabjous can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterfrabjous can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterfrabjous can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterfrabjous can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterfrabjous can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterfrabjous can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterfrabjous can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterfrabjous can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterfrabjous can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameter
 
frabjous's Avatar
 
Posts: 1,213
Karma: 12890
Join Date: Feb 2009
Location: Amherst, Massachusetts, USA
Device: Sony PRS-505
Has anyone tried any of the following?
  • Repeating page numbers/names?
  • Having them go backwards?
  • Using words rather than numerals of either sort?
  • Linking to extra documents not in the manifest or toc?
(For the last couple, I imagine trying to create a kind of ADE ePub "Easter Egg" where the only way to access certain content in the book is to type "xanadu" in the "Go to" box or similar.)

Probably this is all asking for trouble.

My experiments suggest that it's a bad idea to skip certain subdocs from the page-map... I tried to avoid the roman numerals problem just by skipping those pages in the page-map, but on my Sony, it just made the front-matter inaccessible entirely.
frabjous is offline   Reply With Quote
Old 08-15-2009, 09:05 PM   #57
wallcraft
reader
wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.
 
wallcraft's Avatar
 
Posts: 6,977
Karma: 5183568
Join Date: Mar 2006
Location: Mississippi, USA
Device: Kindle 3, Kobo Glo HD
Quote:
Originally Posted by Jellby View Post
Well, here is a test book (The Picture of Dorian Gray) modified with a simple page-map. I just make each chapter a page, and named them: (empty) the cover, i-iii the title, contents and preface, and 1-20 the chapters. So there are 24 pages; in ADE the Preface is "iii (4/24)" and Chapter 10 is "10 (14/24)" (you can edit the "iii" and the "10").
This basic approach, making each chapter (each item in the spine?) a "page" seems to me the best approach for those who want to get rid of the annoying page numbers over text. This is because a page number at the start of a chapter will rarely, if ever, cover up anything important.

If you don't want numbers over text at all, then exactly the same approach with all the names blank does this (see that attached version). On a mobile ADE device, this still allows you to use "goto page 14" to get chapter 10, but under Desktop ADE page numbers are then inactive (the page is always 1/24).

Like frabjous, I tried leaving some entries out of the page-map but this seems to be a bad idea in practice.

In a program like Calibre, it would be possible to produce an explicit synthetic page map that would be more consistent than the one used by Adobe. Adobe bases its synthetic page count on the compressed file size, so pages are not equal size. FBReader, for example, uses a similar scheme but based on uncompressed letter counts. In any case, if Calibre (say) produced a page-map of any kind it could have the option of either including the page number or a blank. In the latter case, the count would still be available to mobile ADE but there would be no page numbers overlaying the text on the screen.
Attached Files
File Type: epub test_pagenum2.epub (258.1 KB, 288 views)
wallcraft is offline   Reply With Quote
Old 08-16-2009, 04:30 AM   #58
Jellby
frumious Bandersnatch
Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.
 
Jellby's Avatar
 
Posts: 7,549
Karma: 19500001
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
Quote:
Originally Posted by frabjous View Post
  • Linking to extra documents not in the manifest or toc?
(For the last couple, I imagine trying to create a kind of ADE ePub "Easter Egg" where the only way to access certain content in the book is to type "xanadu" in the "Go to" box or similar.)
Hmm... The ePUB spec says every file should be in the manifest, and all files on an appropriate type (.xhtml) should be in the spine. Your suggestion, however, could be used if a reader supports linear="no" in the spine.
Jellby is offline   Reply With Quote
Old 04-11-2010, 03:16 PM   #59
charleski
Wizard
charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.
 
Posts: 1,196
Karma: 1281258
Join Date: Sep 2009
Device: PRS-505
I think I got possessed by a malignant demon last night, because today I decided to play around with Adobe's page-map extension and discover its undocumented quirks.

I finally found solutions to my problems through intensive experimentation (aka trial-and-error) on version 1.7.2 and am writing them up here since I can find no mention of them elsewhere (probably because people don't use this extension that much).

Failure to obey these rules will lead to premature hair loss and a large dental bill.

1) If a page entry in the page-map file points to the first page in a flow, then the href MUST point to the file itself and NOT to a fragment within it.

Let's say you've been tempted into automating the creation of the page map and have the following entries in your page-map file:
Code:
<page name="1" href="content1.xhtml#page1"/>
<page name="2" href="content1.xhtml#page2"/>
<page name="3" href="content1.xhtml#page3"/>
<page name="4" href="content1.xhtml#page4"/>
<page name="5" href="content2.xhtml#page5"/>
<page name="6" href="content2.xhtml#page6"/>
Then ADE will display bizarre behaviour with page numbers appearing out of sequence or doubled-up at the same position even though all the anchors are properly formed and in the right places.

The page-map file should instead look like this:
Code:
<page name="1" href="content1.xhtml"/>
<page name="2" href="content1.xhtml#page2"/>
<page name="3" href="content1.xhtml#page3"/>
<page name="4" href="content1.xhtml#page4"/>
<page name="5" href="content2.xhtml"/>
<page name="6" href="content2.xhtml#page6"/>
2) The anchor identifying a page MUST occur in a block that also contains text.
Code:
<p class="graphic"><a id="page013"/><img alt="" src="[path]"/></p>
Will result in the page-number not showing in the margin, although it is still reported in the status-bar. Instead, the anchor should be moved to the closest block that contains text (i.e. either the end of the previous paragraph of text or the start of the following one).
charleski is offline   Reply With Quote
Old 04-11-2010, 03:18 PM   #60
pdurrant
The Grand Mouse 高貴的老鼠
pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.
 
pdurrant's Avatar
 
Posts: 73,955
Karma: 315160596
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle Oasis
Quote:
Originally Posted by charleski View Post
2) The anchor identifying a page MUST occur in a block that also contains text.
Code:
<p class="graphic"><a id="page013"/><img alt="" src="[path]"/></p>
Will result in the page-number not showing in the margin, although it is still reported in the status-bar. Instead, the anchor should be moved to the closest block that contains text (i.e. either the end of the previous paragraph of text or the start of the following one).
Umm... so by careful use of the page map, we could stop ADE displaying those blasted page numbers?
pdurrant is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Page numbers Fincary Astak EZReader 4 02-18-2010 03:06 PM
page numbers nenad Amazon Kindle 2 12-19-2009 09:01 AM
pdf and page numbers pimpoum Sony Reader 2 04-21-2009 12:52 PM
Page numbers, AGAIN orlincho Bookeen 92 08-19-2008 07:15 AM
Page numbers (again) Prospect Workshop 50 04-10-2008 02:19 AM


All times are GMT -4. The time now is 07:13 PM.


MobileRead.com is a privately owned, operated and funded community.