Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 06-20-2012, 06:51 PM   #1
RickAltman
Member
RickAltman began at the beginning.
 
Posts: 12
Karma: 10
Join Date: Jun 2012
Device: Kindle
Chapters out of order

I am attempting my first ePub book after about 150 years in electronic publishing. In fact, the software I'm suing (Ventura Publisher) is old enough to be in a museum. Nonetheless, it creates fine HTML and I have succeeded in creating very clean-looking output that Calibre digests. Mostly.

Here's the problem: my chapters show up in bizarre order. Introduction, Ch 26 (last), Ch 8, Ch 16...

The TOC shows everything in proper order and it is linked correctly to each chapter. The master HTM file also shows all chapters in correct order. But when paging through the book (in Calibre's viewer or on my Kindle), I get the incorrect ordering.

It is not an option to rebuild in Word. I did open the ePub file in Sigil and the TOC showed up in correct order. But I cannot get Calibre to behave itself, and I would be most grateful for advice and ideas...


Rick A.
Pleasanton CA
RickAltman is offline   Reply With Quote
Old 06-20-2012, 07:01 PM   #2
AndrewH
Fanatic
AndrewH ought to be getting tired of karma fortunes by now.AndrewH ought to be getting tired of karma fortunes by now.AndrewH ought to be getting tired of karma fortunes by now.AndrewH ought to be getting tired of karma fortunes by now.AndrewH ought to be getting tired of karma fortunes by now.AndrewH ought to be getting tired of karma fortunes by now.AndrewH ought to be getting tired of karma fortunes by now.AndrewH ought to be getting tired of karma fortunes by now.AndrewH ought to be getting tired of karma fortunes by now.AndrewH ought to be getting tired of karma fortunes by now.AndrewH ought to be getting tired of karma fortunes by now.
 
Posts: 553
Karma: 1234566
Join Date: Jul 2010
Location: Vancouver, WA
Device: Sony PRS-T1, & Kobo Mini
Quote:
Originally Posted by RickAltman View Post
I did open the ePub file in Sigil and the TOC showed up in correct order.
You can re-order the chapters in Sigil within the Book Browser field (by default it's on the left side and shows the various HTML files that make up the book). Simply drag-and-drop them into your desired order.
AndrewH is offline   Reply With Quote
Advert
Old 06-20-2012, 07:16 PM   #3
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: 31,047
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by RickAltman View Post
I am attempting my first ePub book after about 150 years in electronic publishing. In fact, the software I'm suing (Ventura Publisher) is old enough to be in a museum. Nonetheless, it creates fine HTML and I have succeeded in creating very clean-looking output that Calibre digests. Mostly.

Here's the problem: my chapters show up in bizarre order. Introduction, Ch 26 (last), Ch 8, Ch 16...

The TOC shows everything in proper order and it is linked correctly to each chapter. The master HTM file also shows all chapters in correct order. But when paging through the book (in Calibre's viewer or on my Kindle), I get the incorrect ordering.

It is not an option to rebuild in Word. I did open the ePub file in Sigil and the TOC showed up in correct order. But I cannot get Calibre to behave itself, and I would be most grateful for advice and ideas...


Rick A.
Pleasanton CA
Hi there in warm P town

The TOC in (Sigil) or Calibre is a link to parts of the book. It is NOT the play order.
In Sigil you can fix this by dragging the Filename as seen in the BOOK Browser to its proper place (order). (The TOC is still correct, no matter what order the files end up.)
Save and all is good



I believe if you IMPORT a Index.html with the file names in the proper order.
See this section in the help files http://manual.calibre-ebook.com/faq.html#id19
theducks is offline   Reply With Quote
Old 06-21-2012, 06:05 AM   #4
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,444
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by theducks View Post
I believe if you IMPORT a Index.html with the file names in the proper order.
See this section in the help files http://manual.calibre-ebook.com/faq.html#id19
And in particular look at the note in that FAQ section
Note

By default, when adding HTML files, calibre follows links in the files in depth first order. This means that if file A.html links to B.html and C.html and D.html, but B.html also links to D.html, then the files will be in the order A.html, B.html, D.html, C.html. If instead you want the order to be A.html, B.html, C.html, D.html then you must tell calibre to add your files in breadth first order. Do this by going to Preferences->Plugins and customizing the HTML to ZIP plugin.
If the order in the TOC is correct and complete, and if the chapters contain links to other chapters, then you almost certainly want to change to "breadth first".
chaley is offline   Reply With Quote
Old 06-21-2012, 09:24 AM   #5
RickAltman
Member
RickAltman began at the beginning.
 
Posts: 12
Karma: 10
Join Date: Jun 2012
Device: Kindle
That did the trick, Charles -- many thanks. Wow...that setting was completely buried...not exactly something one would stumble upon. And it seems so basic, wanting chapters to appear in the order in which they were designed. Anyway, glad to be past that hurdle -- thanks again...
RickAltman is offline   Reply With Quote
Advert
Old 06-21-2012, 04:09 PM   #6
BeccaPrice
Wizard
BeccaPrice ought to be getting tired of karma fortunes by now.BeccaPrice ought to be getting tired of karma fortunes by now.BeccaPrice ought to be getting tired of karma fortunes by now.BeccaPrice ought to be getting tired of karma fortunes by now.BeccaPrice ought to be getting tired of karma fortunes by now.BeccaPrice ought to be getting tired of karma fortunes by now.BeccaPrice ought to be getting tired of karma fortunes by now.BeccaPrice ought to be getting tired of karma fortunes by now.BeccaPrice ought to be getting tired of karma fortunes by now.BeccaPrice ought to be getting tired of karma fortunes by now.BeccaPrice ought to be getting tired of karma fortunes by now.
 
BeccaPrice's Avatar
 
Posts: 2,146
Karma: 11174187
Join Date: Jan 2011
Device: Sony 350, K3-3G, K4SO, KPW
where do I get the HTML to Zip plugin? I didn't see it in the list of plugins available. is it built in?
BeccaPrice is offline   Reply With Quote
Old 06-21-2012, 05:38 PM   #7
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,444
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by BeccaPrice View Post
where do I get the HTML to Zip plugin? I didn't see it in the list of plugins available. is it built in?
It is built in.
Preferences -> Plugins -> File type plugins -> HTML to ZIP
chaley is offline   Reply With Quote
Old 06-21-2012, 05:42 PM   #8
BeccaPrice
Wizard
BeccaPrice ought to be getting tired of karma fortunes by now.BeccaPrice ought to be getting tired of karma fortunes by now.BeccaPrice ought to be getting tired of karma fortunes by now.BeccaPrice ought to be getting tired of karma fortunes by now.BeccaPrice ought to be getting tired of karma fortunes by now.BeccaPrice ought to be getting tired of karma fortunes by now.BeccaPrice ought to be getting tired of karma fortunes by now.BeccaPrice ought to be getting tired of karma fortunes by now.BeccaPrice ought to be getting tired of karma fortunes by now.BeccaPrice ought to be getting tired of karma fortunes by now.BeccaPrice ought to be getting tired of karma fortunes by now.
 
BeccaPrice's Avatar
 
Posts: 2,146
Karma: 11174187
Join Date: Jan 2011
Device: Sony 350, K3-3G, K4SO, KPW
ok, thanks - i thought it might be something I'd have to add.
BeccaPrice is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Order from Chapters or Kobo? RoxyJ Kobo Tablets 3 10-28-2011 10:07 AM
Kindle3 Audible Book not playing Chapters in order? volvik Amazon Kindle 8 08-29-2011 10:10 PM
Order of Chapters in HTML->ePub alias_neo Calibre 9 05-16-2011 11:55 AM
Book chapters out of order gregf Conversion 2 03-15-2011 09:17 AM
azw to mobi: Not detecting chapters/page break at chapters and no TOC RachDvn Calibre 3 01-16-2011 09:53 AM


All times are GMT -4. The time now is 04:23 PM.


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