![]() |
#1 |
Groupie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 185
Karma: 1004974
Join Date: May 2013
Location: Solar system, Earth
Device: none
|
wrong order in epub
I generated epub file from big collection of htmls. (via calibre)
Toc.ncx was manually generated in Calibre's editor and correct order. Files themselves are not in correct order. spine in metadata.ofx is also not in correct order. Calibre's epub reader doesn't read book in correct order but shows toc. Moon+ ignores toc.ncx how to re-order book's files and spine according to order in toc.ncx? (it's difficult to move around approx 100 files with names like index-<3 random digits>.html ) |
![]() |
![]() |
![]() |
#2 |
Running with scissors
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,581
Karma: 14328510
Join Date: Nov 2019
Device: none
|
I only use sigil but I'm guessing it's the same in Calibre's editor; you manually click and drag the html files up or down in the file browser on the left. Maybe/hopefully there's something better because that will be tedious.
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 78,947
Karma: 144284074
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Yes it is the same way (n Calibre) of dragging the HTML file up/down until they are in the correct order.
|
![]() |
![]() |
![]() |
#4 |
Groupie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 185
Karma: 1004974
Join Date: May 2013
Location: Solar system, Earth
Device: none
|
Why toc.ncx is ever needed if it couldn't be used by almost anything?
Ok. is there way to at least rename files according to names in toc.ncx? |
![]() |
![]() |
![]() |
#5 | |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 44,518
Karma: 167912829
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Quote:
IF the HTML ToC file associated with the html file collection you imported has the files in the correct order, the files will be imported in the correct order. If you just imported a bunch of files, well, GIGO. See this message thread Importing HTML files with the wrong chapter order and this link to the calibre FAQs: How do I convert a collection of HTML files in a specific order? for a bit more information. Note the breadth and depth first option as this has bit me on the butt on a couple of occasions. Last edited by DNSB; 10-03-2020 at 01:27 AM. Reason: Truly the Google-fu is running weak these days. |
|
![]() |
![]() |
Advert | |
|
![]() |
#6 | |
Groupie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 185
Karma: 1004974
Join Date: May 2013
Location: Solar system, Earth
Device: none
|
Quote:
Given that it's rather easy to generate html toc from arleady existing toc.xml - this was good enough solution for my puproses. I unpacked book and re-imported with breath-first option enabled (calibre restart was necessary for it to be applied for some reason). |
|
![]() |
![]() |
![]() |
#7 | |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 78,947
Karma: 144284074
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
Calibre and Sigil have ToC editors. |
|
![]() |
![]() |
![]() |
#8 | |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 44,518
Karma: 167912829
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Quote:
|
|
![]() |
![]() |
![]() |
Tags |
epub, epub 2, spine, toc problems |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Importing HTML files with the wrong chapter order | amckenzie4 | Conversion | 10 | 09-02-2020 10:46 AM |
Touch Wrong order of authors and books in series | cosmicbite | Kobo Reader | 1 | 06-07-2015 08:37 PM |
Wrong author sorting order | Gnolive | PocketBook | 3 | 11-15-2013 04:32 PM |
Wrong sort order when slash (/) in ebook name | rfog | Calibre | 4 | 07-31-2012 09:55 AM |
Books added to Reader in wrong order | BeccaAnn | Calibre | 2 | 12-23-2009 09:47 PM |