06-27-2013, 02:36 PM | #1 |
Junior Member
Posts: 9
Karma: 10
Join Date: May 2013
Device: Kindle Paperwhite
|
Splitting a Mobi file in 3 parts
Hi all
I would like to split one of the books I have in Mobi format in three different parts (ie 3 different files). Is this possible without having to convert it to something like word and then reconvert it into mobi? I do not need any text editing, just split. Many thanks! |
06-27-2013, 03:56 PM | #2 |
Grand Sorcerer
Posts: 27,546
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
No way that I know of. You're going to need to get it into some editable format, divide it up, and then rebuild each portion.
|
Advert | |
|
06-27-2013, 06:18 PM | #3 | |
Grand Sorcerer
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:
Dale |
|
06-27-2013, 08:37 PM | #4 |
Wizard
Posts: 2,251
Karma: 3720310
Join Date: Jan 2009
Location: USA
Device: Kindle, iPad (not used much for reading)
|
You may have trouble with the existing Table of Contents, though, since the chapters will no longer be in the same file.
|
06-28-2013, 10:10 AM | #5 |
Grand Sorcerer
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
|
|
Advert | |
|
06-28-2013, 11:33 AM | #6 |
Grand Sorcerer
Posts: 6,464
Karma: 25996225
Join Date: Apr 2009
Location: USA
Device: iPhone 15PM, Kindle Scribe, iPad mini 6, PocketBook InkPad Color 3
|
It would be nice to have a script to automate all of this, for either mobi or epub. Both Amazon and Google provide cloud storage for third party content but there is a 50MB limit on ebook size. I have several books that are bigger than that.
|
06-30-2013, 06:37 AM | #7 | |
Junior Member
Posts: 9
Karma: 10
Join Date: May 2013
Device: Kindle Paperwhite
|
Quote:
many thanks for your suggestion. Kindleunpack works fine but the generated HTML file contains some extra white lines that I can't get rid of - converting it back to Mobi with Calibre using the "remove spacing between paragraph" option, will suppress the white lines created by kindleunpack as well as others that should stay. Looks like I need to find a compromise |
|
06-30-2013, 08:26 AM | #8 |
Grand Sorcerer
Posts: 27,546
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Kindleunpack has never produced any extra whitespace in my experience. You're not separating the html from the css (if any css is produced from a KF8 source) are you?
Rebuilding untouched KindleUnpacked source using Kindlegen usually produces an ebook identical (or very nearly) to the original. That's the goal of KindleUnpack after all. |
06-30-2013, 09:13 AM | #9 |
Junior Member
Posts: 9
Karma: 10
Join Date: May 2013
Device: Kindle Paperwhite
|
No Css, only Html, ncx and opf files are there with an Images folder.
OK, let me tell you what I did. 1) installed kindleunpack clalibre plugin 2) unpacked and produced html file 3) viewing the HTML file in Calibre shows already extra white lines 4) I split the HTML in word, save it and convert to Mobi. White lines still there Just tried to use kindlegen instead of calibre for conversion.. no difference Last edited by apeiron75; 06-30-2013 at 09:48 AM. |
06-30-2013, 10:38 AM | #10 |
Grand Sorcerer
Posts: 27,546
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Most curious.
Would probably need to see the original mobi (that doesn't exhibit the whitespace issue) to see where the extra whitespace might come from (or a small mobi that exhibits the same behavior if the one you're using is too large and/or copyrighted). You might try immediately rebuilding the html with Kindlegen (untouched by Word) to see if the unwanted whitespace is still showing up. If I had to guess, I'd say using Word to do your splitting is where the whitespace gets introduced--regardless of what viewing the html in calibre shows (the test suggested above should confirm that). I'd recommend using Sigil or just a plain text editor of some kind to do the actual HTML editing/splitting. Nothing wrong with Word if it's all you have/know, but it's going to take liberties with the code. |
06-30-2013, 10:53 AM | #11 |
Junior Member
Posts: 9
Karma: 10
Join Date: May 2013
Device: Kindle Paperwhite
|
Forgot to mention that i also tried that Kindleunpack->kindlegen without any intermediate editing.. same result.
Last edited by apeiron75; 06-30-2013 at 11:00 AM. |
07-02-2013, 02:39 PM | #12 |
Grand Sorcerer
Posts: 27,546
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Yes. It seems apparent (now anyway) that the code KindleUnpack extracts from a MOBI7-only ebook is really only useful for rebuilding a MOBI7-only ebook with kindlegen (if you want the output to be identical to the original). And since kindlegen creates a dual-purpose file by default, the KF8 portion of that dual-purpose file (which will be rendered by any device supporting KF8) will be wonky and will introduce the unwanted space between the paragraphs.
After creating your three new ebooks (with Kindlegen), you could use KindleUnpack to then split the MOBI from the KF8 and that MOBI-only file will look the same as the original on all devices. But if you have any hopes of creating a KF8 file (or dual MOBI/KF8 file) for your final use, I can't recommend doing so with the KindleUnpacked source of a MOBI-only ebook. If you do, it will likely only render the same as the original on a device that doesn't support the KF8 format. I've probably only confused you more, but that's about the best description of what's going on that I can come up with. |
07-04-2013, 05:58 AM | #13 |
Junior Member
Posts: 9
Karma: 10
Join Date: May 2013
Device: Kindle Paperwhite
|
Thanks very much for your answer! I must admit I had to read it few times but it makes sense now.
However I tried to play a bit around and I came to this conclusion: the extra lines are generated by Kindleunpack, not Kindlegen. If I send the Mobi file to KindleUnpack I get an HTML file which (when opened using Chrome, or even Calibre) shows already the extra lines between paragraphs - extra lines that were NOT there in the original Mobi. Am I adding confusion? |
07-04-2013, 08:03 AM | #14 | |
Grand Sorcerer
Posts: 27,546
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Quote:
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Splitting up the mobi format forum | William Ockham | Feedback | 1 | 12-29-2012 01:09 PM |
Generating mobi and KF8 parts of Kindle file from separate sources | PeterHatch | Kindle Formats | 31 | 03-20-2012 04:33 PM |
File splitting and endnotes links | mtrahan | ePub | 11 | 05-01-2011 04:07 PM |
K3 splitting words in Mobi | RockSlice | Calibre | 11 | 12-31-2010 01:38 AM |
Splitting large file sizes ... | Hangman | Calibre | 1 | 04-05-2010 10:01 PM |