Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 04-09-2011, 02:42 PM   #1
crutledge
eBook FANatic
crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.crutledge ought to be getting tired of karma fortunes by now.
 
crutledge's Avatar
 
Posts: 18,301
Karma: 16078357
Join Date: Apr 2008
Location: Alabama, USA
Device: HP ipac RX5915 Wife's Kindle
No Hoorah please

The following is a quote taken from a tutorial on ePub format.
http://www.jedisaber.com/eBooks/tutorial.asp

Quote:
<text>Chapter 1</text>

The stuff you type inside the text tag is what acutally shows up in the reading software's table of contents. This can be any text you want. (my emphasis)
The following is a header from Sigil.

Code:
I. The Company of the Marjolaine: Avignon 1759
The display in the toc is
Code:
I. The Company of the Marjolaine
It seems that any character other than [a-z] can screw up the toc.

Is there somewhere a list or an explanation of just what can be displayed in the toc.ncx <text>...</text> tag?

Or is it a matter of what each reader decides to do with toc.ncx?
crutledge is offline   Reply With Quote
Old 04-09-2011, 03:29 PM   #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 crutledge View Post
The following is a quote taken from a tutorial on ePub format.
http://www.jedisaber.com/eBooks/tutorial.asp



The following is a header from Sigil.

Code:
I. The Company of the Marjolaine: Avignon 1759
The display in the toc is
Code:
I. The Company of the Marjolaine
It seems that any character other than [a-z] can screw up the toc.

Is there somewhere a list or an explanation of just what can be displayed in the toc.ncx <text>...</text> tag?

Or is it a matter of what each reader decides to do with toc.ncx?
Certainly it seems that each reader does what it wants. For a specification you have to check DTBook for the details. The ePub format adopted the NCX file from the DTBook standard from DAISY and used it for their TOC standard. There is an NCX wiki entry and perhaps we can use that to flush out some of the issues.

First the TOC.NCX file is displayed outside the boundary of the book. By that I mean it is the reader program that displays it similar to how it displays the bookshelf. It will typically use the default font for the device so if the book has its own embedded font with special characters these will not be picked up in the TOC display. It is likely that the default parser is similar to a Unix command line parser and treats some characters in a special way.

Some readers such as Kobo (literati) and iBook does not nest the entries but lists them in a line. The PC version of ADE doesn't always handle the TOC at all well, sometimes truncating it. There are even readers that claim to read ePub that doesn't even process the TOC at all although as time progresses they are doing better. Cool Reader only recently started handling the TOC.

Dale
DaleDe is offline   Reply With Quote
Advert
Reply


Forum Jump


All times are GMT -4. The time now is 09:34 AM.


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