![]() |
#1 |
Member
![]() 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 |
![]() |
![]() |
![]() |
#2 |
Fanatic
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 553
Karma: 1234566
Join Date: Jul 2010
Location: Vancouver, WA
Device: Sony PRS-T1, & Kobo Mini
|
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.
|
![]() |
![]() |
Advert | |
|
![]() |
#3 | |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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:
![]() 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 |
|
![]() |
![]() |
![]() |
#4 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,444
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Quote:
Note 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".
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. |
|
![]() |
![]() |
![]() |
#5 |
Member
![]() 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...
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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?
|
![]() |
![]() |
![]() |
#7 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,444
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
|
![]() |
![]() |
![]() |
#8 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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.
|
![]() |
![]() |
![]() |
|
![]() |
||||
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 |