10-07-2011, 03:35 PM | #16 | |
Treasure Seeker
Posts: 18,708
Karma: 26026435
Join Date: Mar 2010
Device: Kobo HD Glo, Kindles, Kindle Fires, Andriod Devices
|
Quote:
Oh the coding on some ebooks are horrible! I agree they are not consistent either in their coding. It's like each person did a chapter and used their own CSS. Calibre can clean most of that up making it easy to get a TOC. It removes all those stupid font tags which specify what font to use by converting them into the style sheet. I then edit the CSS sheet removing all font family references. Much easier then removing each font reference tag by it's own. I use Word first though to quickly fix the inconsistencies I find. |
|
10-07-2011, 03:55 PM | #17 | |
Grand Sorcerer
Posts: 27,903
Karma: 198500000
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Quote:
I wish chapter headers were more consistently tagged, but I also understand why they're oftentimes not. |
|
Advert | |
|
10-07-2011, 04:59 PM | #18 | |
Evangelist
Posts: 416
Karma: 1045911
Join Date: Sep 2011
Location: Cape Town, South Africa
Device: Kindle 3
|
When doing conversions I find myself spending more and more time just doing everything in regex. Getting a bit too good at it really.
Quote:
But anyway, I'd suggest anyone that does conversion from sites/pdf/poor formats in general should get hold of the terribly-badly-named RegexBuddy - makes life a whole lot easier; I guess there might be a free/OSS tool similar, but last I looked they were pretty lacking. |
|
10-07-2011, 05:30 PM | #19 | |
Nameless Being
|
Quote:
|
|
10-07-2011, 05:40 PM | #20 | |
Grand Sorcerer
Posts: 27,903
Karma: 198500000
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Quote:
|
|
Advert | |
|
10-07-2011, 05:50 PM | #21 |
Nameless Being
|
I hear you, but my philosophy is to spend less time editing than reading the book. Most books I don't edit much, if any. But I've been unfortunate enough to buy a string of Topaz books lately, and those definitely need editing. For one, I must convert them to mobi from Topaz. Once that is done you can count on a multitude of OCR errors. Search and replace becomes my good friend in those cases! I understand using Topaz for ebooks that were last printed 25 years ago, but I'm getting some new releases in Topaz.
|
02-12-2012, 10:39 AM | #22 | |
Zealot
Posts: 115
Karma: 10
Join Date: Jan 2011
Device: none
|
Quote:
Thanks. |
|
02-12-2012, 02:28 PM | #23 |
Wizard
Posts: 1,669
Karma: 2300001
Join Date: Mar 2011
Location: Türkiye
Device: Kindle 5.3.7
|
this post might help: https://www.mobileread.com/forums/sho...761#post149761
|
02-12-2012, 03:59 PM | #24 | |
Sigil Developer
Posts: 8,099
Karma: 5450184
Join Date: Nov 2009
Device: many
|
Quote:
https://www.mobileread.com/forums/sho...&postcount=297 If you are on Windows and would prefer to use a GUI interface and not the command line, you need to fully install the free community edition of ActiveState ActivePython 2.7.X. 1. Download the attached Mobi_Unpack_v0.39.zip 2. Unzip it (right-click and "Extract All" in Windows) 3. Inside the newly extracted Mobi_Unpack_v0.39 folder Double-click Mobi_Unpack.pyw 4. In the window that pops up: - Hit the first Browse... button and select your input mobi ebook file - Hit the second Browse... button and select a destination folder for the unpacked files - If you want to split combination mobis, examine the raw markup language, or turn on verbose debugging check the appropriate boxes - Hit the "Start" button - The unpacking will start and progress messages and any errors will be indicated in the scrollable Log window. If you run into problems, this Log output may be useful in finding and fixing the issue. Then look in your destination folder for a mobi7 folder and inside of that you can find the html file, images directory, toc.ncx, content.opf that were processed and stored inside your mobi. You can edit the html any way you like and then use kindlegen on the content.opf file to recreate your modfied mobi ebook. |
|
03-09-2012, 11:04 AM | #25 |
Member
Posts: 18
Karma: 20
Join Date: Mar 2012
Device: Kindle Fire
|
mokay, Diap guy, I'm beginning to see what you're saying. The answer on my own sad thread was a little abrupt, and I'm obviously not that savvy - so I'm still trying to figure all this out. But still - I opened that other .mobi with Springy, and now that puzzles me more than ever. I'm going to have to go back to the beginning and try to figure out how these utilities work. Starting from the beginning offers a HUGE learning curve. I mean, I can read the HTML and I know something about CSS, but I don't work with these things every day, so what I've learned I have to revisit every time I do a project. You guys all know so much, maybe you forget to have mercy on the grasshoppers among you. The CS5.5 inDesign plug in generates all that repetitive code you are talking about. The p tag before every flipping paragraph, even though there's no reason to reestablish the identity of the text. Like putting quotation marks around every word in a line of dialogue. But in looking at the generated HTML, I begin to see what I could do by hand, if I wanted to.
So do any of you have any insight now that inDesign's plug-in is up and running? I hate Calibre. The interface intimidates me - it doesn't feel intuitive at all. And are you guys PC or MAC, because it's hard for me to read the posts and understand them if I don't know which platform you're talking about. |
03-09-2012, 11:25 AM | #26 | |
Grand Sorcerer
Posts: 27,903
Karma: 198500000
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Quote:
|
|
03-09-2012, 12:01 PM | #27 |
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
|
Barncat: you reopened a 3 year old file. Today check the unpack mobi thread for how to turn a mobi file back into the source which can be edited and rebuilt.
Dale |
03-09-2012, 02:33 PM | #28 |
Member
Posts: 18
Karma: 20
Join Date: Mar 2012
Device: Kindle Fire
|
Sorry guys. I'm lousy at forums. I just trolled through looking for any help at all, but DD helped me on my own little thread. I'm an idiot.
|
03-12-2012, 04:27 AM | #29 |
Stercus accidit
Posts: 330
Karma: 513878
Join Date: Mar 2012
Device: Nookpadle 6
|
Here's a little experiment I tried.
I converted an Open Office ODT file to epub and mobi in Calibre. The formatting was all over the place. I then edited the epub file in Sigil, which worked really well and is a great little program. Then I converted my newly Sigled epub to mobi in Calibre and the formatting was still all over the place in the mobi. So what is the best way to format your book? |
05-19-2012, 07:37 PM | #30 | |
Junior Member
Posts: 1
Karma: 10
Join Date: May 2012
Device: Kindle
|
Quote:
I converted the .mobi to .txt in Calibre, opened the .txt in OpenOffice Writer, did a select all and deleted any formatting, so I had a plain .odt file to edit. Once I had it edited as close to my physical copy of the book (I even scanned the maps and pictures and inserted them into the document, used character map for my Em Dashes, etc), I used the Export as PDF function to get a .pdf from the .odt. I used Calibre to convert the .pdf to .epub and used Sigil to edit the .epub with the headers for a generated TOC, add some italicizing, change font size, etc. It took some trial and error with Sigil as it didn't always convert back in Calibre from .epub to .mobi exactly as I expected. But, in the end, I had a practically perfect Kindle version. I may try playing with the CSS classes as Blossom does, just to see if that helps in the conversions. Anyway, that's how I got the best results when editing. |
|
Tags |
mobi2mobi |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Sideloading MOBI files to Kindle for iPad | GRiker | Devices | 34 | 08-31-2012 06:02 AM |
Will non-drm prc (mobi) files work with the Kindle app? | tmgplc | Amazon Kindle | 8 | 01-05-2011 10:17 PM |
Download and save MOBI files to Kindle over 3g? | guiyoforward | Amazon Kindle | 4 | 09-19-2010 10:56 AM |
Mobi files on Kindle 2 | Boxdoc | Calibre | 3 | 09-21-2009 03:09 PM |
Looking for Linux PDF editing tools for DX format | tobor | Kindle Developer's Corner | 1 | 06-19-2009 07:37 PM |