|04-02-2010, 05:59 PM||#1|
Join Date: Mar 2010
Not getting parts in the right order
Attach, I have put my split up html files which is what I give to ebook-convert. You can see that it orders the partNNN.html files in order.
But the output has them mixed up. It puts them out roughly in the order they are read:
The script I'm using is:
#!/bin/sh rm -rf debug-output mkdir debug-output /usr/bin/ebook-convert \ toc.html \ test.epub \ -v -v -v -v \ --flow-size 1000000 \ --debug-pipeline debug-output \ --output-profile nook \ --max-levels 2 \ --level1-toc '//h:h2[@class="epub-toc"]' \ --level2-toc '//h:h3[@class="epub-toc"]' \ --level3-toc '//h:h4[@class="epub-toc"]' \ --dont-split-on-page-breaks \ --language en \ --authors "Ian Hickson, David Hyatt, et. al." \ --pubdate "$( date '+%b %d, %Y' )" \ --publisher WhatWg.org
Note, I have also tried adding a file like this (below) and used it as the input file to ebook-convert:
<!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title>Web Applications 1.0</title> </head> <body> <a href="part000.html"> </a> <a href="part001.html"> </a> <a href="part002.html"> </a> <a href="part003.html"> </a> <a href="part004.html"> </a> <a href="part005.html"> </a> <a href="part006.html"> </a> <a href="part007.html"> </a> <a href="part008.html"> </a> <a href="part009.html"> </a> <a href="part010.html"> </a> <a href="part011.html"> </a> <a href="part012.html"> </a> <a href="part013.html"> </a> <a href="part014.html"> </a> <a href="part015.html"> </a> <a href="part016.html"> </a> <a href="part017.html"> </a> <a href="part018.html"> </a> <a href="part019.html"> </a> </body> </html>
Any advice on how to work around this?
|04-02-2010, 10:33 PM||#2|
Join Date: May 2009
Location: The Right Coast
Device: PC (Calibre), Nexus 7 2013 (Moon+ Pro), HTC HD2/Leo (Freda)
Okay, I'm not sure these ideas are of help, but it might point in the right direction...
1) I know that Windows (all versions as far as I know) consider digits in file names to be text, not numbers. But the way that you named the files should have automatically corrected for things.
2) The only other thing that comes to mind, which your list of files to include should have corrected, is that one of the original ebook formats (LRM? MOBI? Sorry, can't remember) allowed chapter files to be listed out of order, but it would display chapters in the correct order. However, when converting books, users would encounter the problem you're seeing. I think it was in the TOC or NCX file? Somwhere in it's files there is a listing and it doesn't list chapters as 001, 002, 003, etc but as 001, 019, 002, etc.
Sorry I cannot be of any more help.
|Thread Tools||Search this Thread|
|Thread||Thread Starter||Forum||Replies||Last Post|
|Replacement parts||oillio||iRex||1||09-27-2010 05:59 PM|
|DR1000 for parts||DSAzevedo||iRex||0||03-30-2010 03:12 PM|
|An e-book in two parts?||FlorenceArt||News||8||12-30-2009 04:29 PM|
|New to these parts...||stacynak||Introduce Yourself||2||02-27-2009 03:03 PM|
|iLiad Parts||Mr. Goodbar||iRex||5||10-25-2008 11:59 AM|