Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > KOReader

Notices

Reply
 
Thread Tools Search this Thread
Old 04-14-2021, 10:01 AM   #1
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 63,363
Karma: 103125649
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Aura H2O, PRS-650, PRS-T1, nook STR, iPad 4, iPhone SE 2020, PW3
Make page 1 the last page number for pages left in a chapter #7549

https://github.com/koreader/koreader/issues/7549

I'm putting in a request to change the page numbering for pages left in a chapter. It would be good if page 1 was the last page instead of 0 and that the page numbers showed as the actual number of pages left. It does get annoying to constantly having to add 1 to the page numbers to get the actual count/

I hope other think this is a good idea.
JSWolf is offline   Reply With Quote
Old 04-14-2021, 12:32 PM   #2
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 11,752
Karma: 21070079
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW & PW2; Kobo H2O & Forma
We've had extensive discussions about this in the past, so, no, unlikely to change anytime soon.

This basically boils down to the fact that a page number is the page you're *on*. Meaning it's not counted in a "page left" counter. Which in turns means that "left" means what's off-screen. So, yeah, on the last page, that's 0.

This ties into a myriad of little things everywhere, so it's not something that can (nor should it be, quite frankly) changed lightly.

Last edited by NiLuJe; 04-14-2021 at 12:38 PM.
NiLuJe is offline   Reply With Quote
Old 04-14-2021, 12:50 PM   #3
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 63,363
Karma: 103125649
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Aura H2O, PRS-650, PRS-T1, nook STR, iPad 4, iPhone SE 2020, PW3
Quote:
Originally Posted by NiLuJe View Post
We've had extensive discussions about this in the past, so, no, unlikely to change anytime soon.

This basically boils down to the fact that a page number is the page you're *on*. Meaning it's not counted in a "page left" counter. Which in turns means that "left" means what's off-screen. So, yeah, on the last page, that's 0.

This ties into a myriad of little things everywhere, so it's not something that can (nor should it be, quite frankly) changed lightly.
0 just doesn't work. It doesn't give you the correct number of pages. If the chapter is 12 pages, I get shows 11 pages and that's incorrect. The number of pages should be showing how many pages I have left to read. 1 means I have 1 page left to read. 0 means I have no pages left to read and not 1 page left to read.
JSWolf is offline   Reply With Quote
Old 04-14-2021, 12:51 PM   #4
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 63,363
Karma: 103125649
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Aura H2O, PRS-650, PRS-T1, nook STR, iPad 4, iPhone SE 2020, PW3
How about adding an option to make it 1 or 0 and then everyone can have it how it's wanted?
JSWolf is offline   Reply With Quote
Old 04-14-2021, 02:33 PM   #5
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 11,752
Karma: 21070079
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW & PW2; Kobo H2O & Forma
Because

Quote:
Originally Posted by NiLuJe View Post
This ties into a myriad of little things everywhere, so it's not something that can (nor should it be, quite frankly) changed lightly.
NiLuJe is offline   Reply With Quote
Old 05-28-2021, 10:07 AM   #6
sarigabor
Member
sarigabor began at the beginning.
 
sarigabor's Avatar
 
Posts: 18
Karma: 10
Join Date: Mar 2019
Location: Hungary
Device: Kindle Oasis 3 + KOReader
Sorry for the stupid question: what makes a chapter under koreader?

In a new epub book, chapters are separated by <h2> tags.

The total number of pages in this book is 365.

The "Pages left in chapter" function still counts all the pages in the book:

Current page: 72/365
Pages left in chapter: 293

Why?
sarigabor is offline   Reply With Quote
Old 05-28-2021, 12:23 PM   #7
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 11,752
Karma: 21070079
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW & PW2; Kobo H2O & Forma
A ToC marker makes a chapter. If the book's ToC is wonky, there's an Alternate ToC setting in the [Document] tab in order to build one from the heading levels of your choice.
NiLuJe is offline   Reply With Quote
Old 05-28-2021, 01:36 PM   #8
sarigabor
Member
sarigabor began at the beginning.
 
sarigabor's Avatar
 
Posts: 18
Karma: 10
Join Date: Mar 2019
Location: Hungary
Device: Kindle Oasis 3 + KOReader
Quote:
Originally Posted by NiLuJe View Post
A ToC marker makes a chapter. If the book's ToC is wonky, there's an Alternate ToC setting in the [Document] tab in order to build one from the heading levels of your choice.
Thx!

Rebuilding the whole epub file (from pure html files), the problem is solved!
The original epub is wrong?
sarigabor is offline   Reply With Quote
Old 05-29-2021, 03:30 AM   #9
Frenzie
Wizard
Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.
 
Posts: 1,227
Karma: 448558
Join Date: Oct 2014
Location: Antwerp
Device: Kobo Aura H2O
While we can't say for sure without the document, I'd say chances are good that there's something wrong with the EPUB, yes. You could run it through epubcheck to see what it says.

As an example of things that can go wrong, see https://github.com/koreader/koreader/issues/6339
Frenzie is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Why won't my TOC open the chapter on left page? Galactic.G General Discussions 2 07-09-2020 09:20 AM
centered title page and chapter numbers display left in epub JohnMurphy99 Introduce Yourself 1 06-04-2017 06:33 AM
Number of pages left in chapter not working 3rdDegree Conversion 3 02-22-2013 09:38 PM
Controlling left and right pages in 2-page iBooks view rtmyers ePub 5 08-23-2012 08:07 AM
How are the page numbers/number of pages defined? kennyc ePub 8 09-27-2009 11:23 AM


All times are GMT -4. The time now is 03:53 PM.


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