Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Formats > ePub

Notices

Reply
 
Thread Tools Search this Thread
Old 09-04-2015, 08:29 AM   #1
verydeepwater
Member
verydeepwater can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterverydeepwater can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterverydeepwater can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterverydeepwater can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterverydeepwater can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterverydeepwater can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterverydeepwater can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterverydeepwater can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterverydeepwater can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterverydeepwater can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterverydeepwater can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameter
 
Posts: 86
Karma: 12586
Join Date: Nov 2012
Device: Ipad and Kindle Fire
How to configure how iBooks counts the pages left in a chapter.

I have seen some discussion on this subject but no firm conclusions. This concerns the 'pages left in chapter' feature on iBooks. This feature works perfectly well for a number of EPUBs but not for one. In this case, instead of displaying the number of pages left within an .xhtml file - the actual extent of the chapter - it counts pages until the next heading. This is a technical book with numerous headings in each chapter. Is there a way to configure how iBooks counts the pages in a chapter? I need it to disregard the headings and treat each .xhtml file as a separate chapter.
verydeepwater is offline   Reply With Quote
Old 09-04-2015, 11:47 AM   #2
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 verydeepwater View Post
I have seen some discussion on this subject but no firm conclusions. This concerns the 'pages left in chapter' feature on iBooks. This feature works perfectly well for a number of EPUBs but not for one. In this case, instead of displaying the number of pages left within an .xhtml file - the actual extent of the chapter - it counts pages until the next heading. This is a technical book with numerous headings in each chapter. Is there a way to configure how iBooks counts the pages in a chapter? I need it to disregard the headings and treat each .xhtml file as a separate chapter.
I do not believe that is possible with iBooks. If you watch closely you will find that iBooks loads all of the files at once into the reading environment. The boundaries of files is lost. Other eBook readers only load each file as it is referenced. While it takes a little longer to initially load the eBook in iBooks the performance after it is loaded is better.

Dale
DaleDe is offline   Reply With Quote
Advert
Old 09-04-2015, 02:06 PM   #3
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,422
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
Perhaps it has to do with the type of heading. Does the book use different levels? h1, h2, h3, etc.

Are the headings linked in the ToC? Is it a multi-level ToC?
eschwartz is offline   Reply With Quote
Old 09-05-2015, 02:43 PM   #4
verydeepwater
Member
verydeepwater can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterverydeepwater can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterverydeepwater can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterverydeepwater can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterverydeepwater can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterverydeepwater can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterverydeepwater can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterverydeepwater can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterverydeepwater can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterverydeepwater can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterverydeepwater can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameter
 
Posts: 86
Karma: 12586
Join Date: Nov 2012
Device: Ipad and Kindle Fire
Quote:
Originally Posted by eschwartz View Post
Perhaps it has to do with the type of heading. Does the book use different levels? h1, h2, h3, etc.

Are the headings linked in the ToC? Is it a multi-level ToC?
Sorry for delay in replying. Yes there are multi levels of heading h1 to h3. They are all linked in the TOC, which has 3 levels with 3 levels of indent.

Last edited by verydeepwater; 09-05-2015 at 02:51 PM.
verydeepwater is offline   Reply With Quote
Old 09-09-2015, 07:33 PM   #5
Hitch
Bookmaker & Cat Slave
Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.
 
Hitch's Avatar
 
Posts: 11,462
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
Quote:
Originally Posted by verydeepwater View Post
Sorry for delay in replying. Yes there are multi levels of heading h1 to h3. They are all linked in the TOC, which has 3 levels with 3 levels of indent.
Is there a class for the h1's that is recognizable as such? E.g., "chapter" or some other creative naming convention?

Hitch
Hitch is offline   Reply With Quote
Advert
Old 09-11-2015, 02:32 AM   #6
verydeepwater
Member
verydeepwater can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterverydeepwater can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterverydeepwater can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterverydeepwater can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterverydeepwater can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterverydeepwater can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterverydeepwater can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterverydeepwater can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterverydeepwater can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterverydeepwater can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterverydeepwater can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameter
 
Posts: 86
Karma: 12586
Join Date: Nov 2012
Device: Ipad and Kindle Fire
It depends on the TOC.xhtml file

I have discovered through trial and error, that iBooks takes all the items listed in the TOC.xhtml file to be chapters. So the way to make iBooks accurately state the number of pages left in the chapter, is to only include chapter headings in the TOC.xhtml, and to leave out headings of smaller sections.

It seems the tagging you use, whether a class of p tag, or an h1-6 tag doesn't affect it.
verydeepwater is offline   Reply With Quote
Old 09-11-2015, 03:36 AM   #7
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,422
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
Well, the ToC is meant to list chapters, so hardly surprising.


Either Sigil or calibre Editor can generate a ToC based on your choice of header tags.
eschwartz is offline   Reply With Quote
Old 09-11-2015, 04:36 AM   #8
verydeepwater
Member
verydeepwater can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterverydeepwater can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterverydeepwater can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterverydeepwater can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterverydeepwater can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterverydeepwater can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterverydeepwater can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterverydeepwater can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterverydeepwater can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterverydeepwater can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterverydeepwater can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameter
 
Posts: 86
Karma: 12586
Join Date: Nov 2012
Device: Ipad and Kindle Fire
Quote:
Originally Posted by eschwartz View Post
Either Sigil or calibre Editor can generate a ToC based on your choice of header tags.
But if you include headings within chapters, the number of pages left in the chapter will not function correctly, it will just count the number of pages to the next heading listed in the to.xhtml
verydeepwater is offline   Reply With Quote
Old 09-11-2015, 05:10 AM   #9
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,422
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
Quote:
Originally Posted by verydeepwater View Post
But if you include headings within chapters, the number of pages left in the chapter will not function correctly, it will just count the number of pages to the next heading listed in the to.xhtml
As I already said, "your choice of header tags".

You have already stated you used different depths.

And the ToC generators in Sigil and calibre editor allow you to specify which header tags will become ToC entries.
In fact, calibre allows you to use XPath too, so you can go really wild.


You can auto-regenerate a ToC that only uses the h1 tag, for example.
eschwartz is offline   Reply With Quote
Old 09-11-2015, 12:51 PM   #10
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 29,795
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Sigil's TOC tool allows you to specify H# levels to consider for TOC automatically, thus saving removing many tick marks later

It just take a bit of effort to learn what is included in your toolboxes
theducks is offline   Reply With Quote
Reply

Tags
configuring chapters, ibooks, page count


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
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
Pages left in chapter? bmbriefs Which one should I buy? 18 03-16-2012 09:57 AM
Tablet Pages left in chapter error? bfollowell Nook Color & Nook Tablet 4 02-22-2012 11:56 AM
"Cover, 0 pages left in chapter" tecweston Calibre 3 01-28-2012 11:37 AM


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


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