View Single Post
Old 07-06-2009, 05:15 AM   #1
Jellby
frumious Bandersnatch
Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.
 
Jellby's Avatar
 
Posts: 7,546
Karma: 19001583
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
Mobi -> Mobi "conversion"

Hello,

I have a mobipocket file that has every paragraph with hard-coded left alignment, and I'd like to change it and remove the explicit alignment. I don't want to change anything else in the file (metadata, etc.). What would be the best way to achieve this?

After trying unsuccessfully with MobiPerl I managed to install Calibre, and tried with mobi2oeb, edit the .html, and oeb2mobi, but something is not fine here:

1. The original .mobi file is 2.6MB, the converted one is 1.6MB

2. The converted file adds vertical space above every paragraph. Indeed, when I convert again this new file to oeb, the .html file has "margin-top: 1em" for every paragraph, which was not present initially.

3. The original language (according to mobi-meta) is ENGLISH, the language of the converted file is NEUTRAL

So, suggestions or advice for altering only the text in the mobipocket file and in a controlled way?

EDIT: I've tried with version 0.5.11, by the way.

Last edited by Jellby; 07-06-2009 at 06:06 AM.
Jellby is online now   Reply With Quote