![]() |
#1 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,732
Karma: 103020299
Join Date: Apr 2011
Device: pb360
|
Fractional Page Numbering
There are already quite a few numbering schemes for showing location in an ebook, but I would like to discuss one more, (decimal) fractional page numbers. This would allow "real page numbers" that match a specific print version for reference purposes (but does have the problem that many books have multiple print editions with varying pagination), and still show change for each ebook page turn.
I did some experimenting and it can already work on some EPUB and Kindle readers (example screen shots attached). I started with the plain text for Henry Ford's autobiography My Life and Work and added asciidoc formatting markup. Next page number link targets were added based on a scan at archive.org, and when that was working, half-page link targets were inserted between each pair of "real page numbers". Also attached EPUB, KF8 (azw3), and KF7 (mobi) formats and Kindle apnx files to the next post. The uncompressed mobi8 apnx file needs to be copied to the .sdr folder the kindle creates for the book and the mobi7 apnx needs to be copied to the same place as the book. The EPUB uses the page-map method for page numbers (none of my readers support pagelist numbering), but it would be easy to make a pagelist version. The devices I tested that supported the fractional page numbering were Pocketbook 360, K4NT, PW3, Voyage, Oasis 2, Onyx Boox M92, and iriver story HD. It did not work on original Kobo H2O with original firmware, koreader on Voyage, or Calibre. The asciidoc and other support files will be attached to the second post. Last edited by j.p.s; 11-17-2019 at 12:17 PM. Reason: Add iriver story HD as device that supports fractional page numbers |
![]() |
![]() |
![]() |
#2 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,732
Karma: 103020299
Join Date: Apr 2011
Device: pb360
|
How to use asciidoc to get a book with fractional page numbers
I wanted to have an entire book available with fractional page numbering so people could see what reading with fractional page numbers would be like and saw asciidoc as the quickest and easiest way for me to get there. Inserting a page number target (e.g. anchor) is done by placing the characters (without quotes) "[[page_2]]" between the last character of page 1 and the first character of page 2 in the pbook. The exact text of the ID is not critical, it could be "p2", "page-2", whatever. Even the "2" is not essential, but to use anything else seems ill advised.
After that the anchors for fractional pages can be placed between the anchors for integer pages. In my opinion it is not critical for these to be placed mathematically exactly and I did not do so for this example book. The next step is to convert to EPUB. The python script asciidoc (or the ruby script asciidoctor) generate HTML, but the asciidoc project also provides a2x which can generate PDF or EPUB from the same source file. I used: Code:
a2x -f epub -a toc Ford_MyLife.adoc If a kindle format is desired, kindlegen can convert the EPUB to a fat mobi and kindleunpack can split that into KF7 and KF8 versions complete with matching apnx files. Last edited by j.p.s; 11-16-2019 at 12:21 PM. Reason: Describe asciidoc production and conversion |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Still reading
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,653
Karma: 103503445
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper
|
Fadedpage on some books puts a floating at right margin in a box faint real page number (of edition used) using cunning CSS. Dr Dolittle some titles? and C.S. Lewis 'Till We Have Faces'
I figured out the regex to bulk delete it. Note that many Fadedpage books are only out of copyright in countries that are +50 or didn't retrospectively implement +75. Not PD in USA. If you want real page numbers, that works. No need for fractions. Page numbering is like Trump, Brexit or Nationalists/Republicans vs Unionists in N.I. There are two camps on eBooks and I doubt any scheme will convince those that want "real page numbers" or that point out that only a percentage progress works on ebooks (unlike PDFs). Interesting idea. The giant thread illustrates the two camps thesis. Last edited by Quoth; 11-09-2019 at 03:29 PM. |
![]() |
![]() |
![]() |
#4 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,012
Karma: 89771379
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
|
I am curious, what is the purpose of fractional page numbers?
I understand the start point of each numbered page being marked in the content. |
![]() |
![]() |
![]() |
#5 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,732
Karma: 103020299
Join Date: Apr 2011
Device: pb360
|
Quote:
It's not for everyone, but maybe for some. There's also the because it can be done factor. |
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,459
Karma: 68781975
Join Date: Oct 2012
Location: Arkansas
Device: Paperwhite 4
|
I like the scheme used by Moon+ reader. It shows a count of screens instead of page numbers. For novels where there's not usually a need to make references this seems nearly perfect.
It can show the number of pages in the book and the number left till the end of the book like this (152/42) or it can be chapterized and show the number of pages in the chapter and the number left to go. It also gives a percentage for the book. This is the method I use. A page of course means a screen full of text. Change the margins or line font size and the count changes. I rarely change these things so I'm getting constant and accurate information on where I am and how close I am to the end of the chapter. This lets me keep reading if I'm near the end of the chapter instead of stopping when I get the urge to stop. Barry |
![]() |
![]() |
![]() |
#7 | |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 78,973
Karma: 144284074
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
I'll admit it was a bit odd not to see the page number change all the time, but I got used to it and I don't mind it at all. In fact, I do like it. Sometimes the page number jumps and skips showing a number. Again, you get used to it. |
|
![]() |
![]() |
![]() |
#8 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,012
Karma: 89771379
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
|
I also prefer page numbers to not be screen numbers, but I understand why others may want that instead. It would be nice if readers had a choice.
|
![]() |
![]() |
![]() |
#9 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,732
Karma: 103020299
Join Date: Apr 2011
Device: pb360
|
Quote:
Some people are in book clubs, which migh want to reference locations in novels, so standardized page numbers have uses, even in novels. If your current system meets your needs, good for you. |
|
![]() |
![]() |
![]() |
#10 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,732
Karma: 103020299
Join Date: Apr 2011
Device: pb360
|
Quote:
|
|
![]() |
![]() |
![]() |
#11 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,732
Karma: 103020299
Join Date: Apr 2011
Device: pb360
|
I think they (at least somewhat) do. For example, the (ancient) pb360 images in post #1 are showing screens and pages.
|
![]() |
![]() |
![]() |
#12 |
Still reading
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,653
Karma: 103503445
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper
|
I have a sense of Deja Vu reading this thread!
|
![]() |
![]() |
![]() |
#13 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 78,973
Karma: 144284074
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
|
![]() |
![]() |
![]() |
#14 |
o saeclum infacetum
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,110
Karma: 234185759
Join Date: Oct 2010
Location: New England
Device: H2O, Aura One, PW5
|
|
![]() |
![]() |
![]() |
#15 | |
eReader Wrangler
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,826
Karma: 51000001
Join Date: Mar 2013
Location: Boise, ID
Device: PB HD3, GL3, Tolino Vision 4, Voyage, Clara HD
|
Quote:
Anyway, in my opinion (for what it's worth) this would be the best solution I've seen for page numbering. And I want to look at how you use AsciiDoc for this (in your provided source files), as I've used AsciiDoc for a little website and I like it. |
|
![]() |
![]() |
![]() |
Tags |
apnx, page number, page numbering, page numbers |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Glo Page Numbering | dixieknits | Kobo Reader | 3 | 01-06-2013 04:43 PM |
ePub Page Numbering Using Page-map | Dark123 | Calibre | 2 | 06-16-2010 07:15 AM |
Page numbering | StanByk | Calibre | 2 | 09-07-2009 02:10 PM |
Page Numbering... | slantybard | Calibre | 3 | 08-02-2009 11:41 AM |
Page Numbering | bookstar | Sony Reader | 1 | 03-24-2009 03:21 PM |