foliate icon indicating copy to clipboard operation
foliate copied to clipboard

Current page number / Total number of pages

Open icher opened this issue 5 years ago • 7 comments

Hi. I know it's e-book format and there're no pages, but it's really helps to estimate book size. Most of e-book readers can do that and these numbers depends on window geometry. May be optional would be a good idea.

icher avatar Sep 25 '19 04:09 icher

This issue is actually a duplicate of #122. But I guess I'll leave this open, since the other one is closed.

AFAIK, no one has figured out how to efficiently implement page numbers based on page geometry with Epub.js yet. See upstream issue: https://github.com/futurepress/epub.js/issues/744 (the various solutions discussed there involves counting an arbitrary number of characters as a page, not based on window size)

Note that currently, to estimate book size in Foliate, you can hover over the reading progress slider and see a time estimate based on the number of characters in the book.

Also note that some books actually contains a pageList, which provides information on physical page numbers (from the printed editions). It might be possible to display that information as well.

johnfactotum avatar Sep 25 '19 04:09 johnfactotum

This issue is actually a duplicate of #122.

Sorry, I just forgot about search function :)

the various solutions discussed there involves counting an arbitrary number of characters as a page, not based on window size

Well, it's not bad solution in my opinion, any relevant number would be ok, I don't need precise numbers.

Note that currently, to estimate book size in Foliate, you can hover over the reading progress slider and see a time estimate based on the number of characters in the book.

Oh, it's really confusing actually, I thought these numbers calculated based on how fast I'm turning pages. I think pages (calculated by one of possible algorithms for epub.js) much better than hours.

icher avatar Sep 25 '19 05:09 icher

The master branch has a new popover that includes a "location" entry. Each "location" has 1024 characters (1024 characters per page is used by Adobe Digital Editions).

Screenshot: image

johnfactotum avatar Nov 04 '19 10:11 johnfactotum

After b772e9cd523a585841b19db92b0810ab5cb99286, current and total location is now shown at the bottom, along with current chapter name image

The progress bar can be accessed by hovering over the bottom area or by clicking on the viewing area: image

johnfactotum avatar Nov 13 '19 06:11 johnfactotum

Better to link this the other way as the discussion concerning reading time and text complexity in Standard Ebooks is now closed. I think there were some meaningful ideas that could be considered for this issue.

digitalethics avatar Jun 19 '20 19:06 digitalethics

You mean #341 and #372? This issue is about page numbers, not reading time.

johnfactotum avatar Jun 20 '20 04:06 johnfactotum

You mean #341 and #372? This issue is about page numbers, not reading time.

Ah, yes! Sorry, should have been linked to these two.

digitalethics avatar Jun 20 '20 09:06 digitalethics

Closing as "locations" is a serviceable substitute for page numbers. In the gtk4 branch it also supports real page numbers from Page Lists. Showing fake page numbers based on window geometry is not practicable nor planned.

johnfactotum avatar Mar 15 '23 13:03 johnfactotum