Quote:
Originally Posted by kovidgoyal
Don't use oeb2mobi, use any2mobi on the OPF file. Also make sure you have justification turned off.
|
I tried this:
Code:
any2mobi --no-justification -o b.mobi a-dir/The\ Picture\ of\ Dorian\ Gray.opf
(after deleting the justification from the <style> and <body> tags of the HTML in a-dir)
And the result is a bit better, but still:
1. b.mobi is quite larger than a.mobi
2. The images in both a-dir/images and b-dir/images are not the same size
3. The HTML in b-dir still has <p style="margin-top: 1em; text-indent: 0pt"> instead of simply <p>, which is cumbersome and "wrong" (I don't want explicit top margin or indent).
4. The language of b.mobi is NEUTRAL instead of ENGLISH
Wouldn't it be possible to have a couple of commands to just unpack and pack a mobi file with no data loss? (I admit I have no real knowledge of the internal structure of mobipocket format.)