Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Formats > Kindle Formats

Notices

Reply
 
Thread Tools Search this Thread
Old 03-11-2011, 09:16 PM   #31
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: 73,998
Karma: 128903378
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by DaleDe View Post
I could have mis-remembered. Are you sure iBooks has multi-level external TOC support?

Dale
I'll dig up a book with a multi-level ToC and see if it works with iBooks.
JSWolf is offline   Reply With Quote
Old 03-12-2011, 02:19 AM   #32
wannabee
Media Bloke
wannabee ought to be getting tired of karma fortunes by now.wannabee ought to be getting tired of karma fortunes by now.wannabee ought to be getting tired of karma fortunes by now.wannabee ought to be getting tired of karma fortunes by now.wannabee ought to be getting tired of karma fortunes by now.wannabee ought to be getting tired of karma fortunes by now.wannabee ought to be getting tired of karma fortunes by now.wannabee ought to be getting tired of karma fortunes by now.wannabee ought to be getting tired of karma fortunes by now.wannabee ought to be getting tired of karma fortunes by now.wannabee ought to be getting tired of karma fortunes by now.
 
Posts: 2,381
Karma: 113956855
Join Date: Sep 2010
Location: NSW - Australia
Device: iOS
Multi-level tocs work fine in iBooks.
Except they are always open. ie. I have a chapter with 68 items and you have to scroll all 68 to get to the next chapter.
wannabee is offline   Reply With Quote
Old 03-12-2011, 10:00 AM   #33
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 wannabee View Post
Multi-level tocs work fine in iBooks.
Except they are always open. ie. I have a chapter with 68 items and you have to scroll all 68 to get to the next chapter.
Thanks, having to scroll is certainly a pain, but I am glad you can see them at least. I am hopeful in getting an iPad soon so I can see these things myself.

Dale
DaleDe is offline   Reply With Quote
Old 03-12-2011, 10:44 AM   #34
pholy
Booklegger
pholy ought to be getting tired of karma fortunes by now.pholy ought to be getting tired of karma fortunes by now.pholy ought to be getting tired of karma fortunes by now.pholy ought to be getting tired of karma fortunes by now.pholy ought to be getting tired of karma fortunes by now.pholy ought to be getting tired of karma fortunes by now.pholy ought to be getting tired of karma fortunes by now.pholy ought to be getting tired of karma fortunes by now.pholy ought to be getting tired of karma fortunes by now.pholy ought to be getting tired of karma fortunes by now.pholy ought to be getting tired of karma fortunes by now.
 
pholy's Avatar
 
Posts: 1,801
Karma: 7999816
Join Date: Jun 2009
Location: Toronto, Ontario, Canada
Device: BeBook(1 & 2010), PEZ, PRS-505, Kobo BT, PRS-T1, Playbook, Kobo Touch
Quote:
I am hopeful in getting an iPad soon so I can see these things myself.
Right! Just for research purposes... Like my eSlick and Gen3 and Libré...
pholy is offline   Reply With Quote
Old 03-13-2011, 09:36 PM   #35
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: 73,998
Karma: 128903378
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
So what app(s) that display ePub on an iPad do not work with a multi-level ToC?
JSWolf is offline   Reply With Quote
Old 03-15-2011, 10:51 PM   #36
mostlynovels
Member
mostlynovels doesn't littermostlynovels doesn't littermostlynovels doesn't litter
 
Posts: 10
Karma: 228
Join Date: Jan 2011
Location: USA
Device: past: Bookeen (2yrs); present: laptop(WinXP), 3.5"phone(WinMob6.5)
Use REGEX to Code the Inline TOC from the .ncx File

The perl script shared by St_Albert on page 1 in post #3, filters an EPUB's .ncx file to generate html code for an internal TOC.

The script inspired me to find out if this could also be done using regex+replace. The answer seems to be yes, as described in EPUB forum thread https://www.mobileread.com/forums/sho....php?p=1446702

(If you have any comments/replies to this regex approach, please post them in the EPUB thread.)
mostlynovels is offline   Reply With Quote
Old 03-19-2011, 04:30 AM   #37
elmago79
Member
elmago79 began at the beginning.
 
Posts: 12
Karma: 10
Join Date: Jun 2010
Device: PRS-300
Quote:
Originally Posted by JSWolf View Post
But the reason they may not know of the external ToC is because of the internal ToC. So if ePub did not have an internal ToC, then people would ask about it and find out about it (IMHO).

I'm of a mind to remove internal ToC if there are not too many links from the chapter header.
In my experience, a lot of editors simply can't find the external ToC and make all sorts of weird assumptions about ebooks because they believe there's no easy way to navigate them. (I draw the line when they ask me why there are no white pages between the Title Page and the First chapter, however.) People still expect books to look and behave certain way, I guess, even if they're ebooks, and taking away the inline ToC is very hard to process. As we ease into ebooks, a lot of things are bound to change, I guess.

But that's without taking into account the fact that the inline ToC can be very handy if you want to turn your ePub into a .mobi file.

Mostlynovels: My first idea was actually using regexp, but I found it a bit intimidating, and it sure looks like it. However, it's something I need to get a lot better quickly, and that thread looks like a great way to start.
elmago79 is offline   Reply With Quote
Old 03-25-2011, 08:53 AM   #38
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: 73,998
Karma: 128903378
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
If you forget the internal ToC, Calibre still generates a ToC from the NCX file that is used in the menu for the Mobipocket eBook. So really, an internal ToC in an ePub is redundant and silly.
JSWolf is offline   Reply With Quote
Old 03-25-2011, 12:56 PM   #39
st_albert
Guru
st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'
 
Posts: 696
Karma: 150000
Join Date: Feb 2010
Device: none
Quote:
Originally Posted by JSWolf View Post
If you forget the internal ToC, Calibre still generates a ToC from the NCX file that is used in the menu for the Mobipocket eBook. So really, an internal ToC in an ePub is redundant and silly.
Are you sure about that? I always thought Calibre generated the inline TOC from the headers, or whatever you specify in the "Table of Contents" tab. Not the toc.ncx file.

And another thing: Calibre puts the TOC at the end of the book, whereas most publishers that I'm aware of want it earlier -- usually just after the copyright page. This SHOULD be irrelevant, since you usually navigate to and from the TOC via menu options in the various mobipocket or kindle readers. But if there is offered a free sample of the first x% of the book, it would be more likely to include the up-front TOC, thus informing readers of the contents of the rest of the book. This would be desirable in some cases.

But, desirable or not, silly or not, if the boss wants it after the copyright page, that's where it is going to go.

Last edited by st_albert; 03-25-2011 at 12:59 PM. Reason: corrected mistake re calibre settings info
st_albert is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
NCX From Html TOC Unno Kindle Formats 20 09-16-2011 09:31 AM
Tags around inline TOC links jhempel24 Sigil 0 01-08-2011 06:21 AM
Kindle inline TOC removed from news in 0.7.20 as a bugfix? buckcs Calibre 4 09-25-2010 02:05 PM
toc.ncx playOrder question aarcane ePub 8 05-25-2010 05:00 AM
Trying to make an Inline TOC crutledge Sigil 2 05-09-2010 05:46 AM


All times are GMT -4. The time now is 12:48 AM.


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