Thread: Page Numbers
View Single Post
Old 10-15-2018, 11:54 PM   #4
Tex2002ans
Wizard
Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.
 
Posts: 2,306
Karma: 13057279
Join Date: Jul 2012
Device: Kobo Forma, Nook
Quote:
Originally Posted by flutterby View Post
My question is, can page numbers of this type be added with calibre? Like, I don't know... a tag to place at where each page beginning would be? I don't care how tedious it is, I just want to know if it's possible.
Welcome to MobileRead flutterby!

There are 3 different "Real Page Number" methods. I broke them down in detail in this post:
  • EPUB2 = page-map (obsolete) + pageList
  • EPUB3 = page-list

Like jhowell mentioned, it requires going through your HTML and manually adding anchors at the beginning of every "page".

In Post #6 of "Indexes without Page Numbers", I gave an example:

Spoiler:
Quote:
<h2><a href="#page354"></a>Chapter IX</h2>

[...]

<p>Whereas, the members of Ellen Wright Camp, Franklin County Chapter, Daughters of Pioneers, by resolution, <a href="#page355"></a>have asked that the White Pine be designated as the state tree of the State of Idaho.</p>


Once you finish marking up the book, you then generate the pageList (EPUB2) or page-list (EPUB3) code.

* * *

Doitsu has a Sigil Plugin to make generating this code a bit easier, "PageList - Generates print edition page numbers"

EPUB3 recommends using <span epub:type="pagebreak">s instead of <a>s, but you should be able to use Regex to swap between them relatively easily.

Side Note: Here is a sample EPUB3 Doitsu created which includes a page-list:

https://www.mobileread.com/forums/sh...d.php?t=264508

If you learn more by actually seeing.

Quote:
Originally Posted by JSWolf View Post
The only true eBook page numbers are ADE style page numbers.
This was thoroughly debunked last year in the "Citing Websites" thread (beginning in Post #35ish and beyond).

Last edited by Tex2002ans; 10-16-2018 at 02:44 AM.
Tex2002ans is offline   Reply With Quote