Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Formats > Kindle Formats

Notices

Reply
 
Thread Tools Search this Thread
Old 10-19-2010, 01:20 PM   #1
mr ploppy
Feral Underclass
mr ploppy ought to be getting tired of karma fortunes by now.mr ploppy ought to be getting tired of karma fortunes by now.mr ploppy ought to be getting tired of karma fortunes by now.mr ploppy ought to be getting tired of karma fortunes by now.mr ploppy ought to be getting tired of karma fortunes by now.mr ploppy ought to be getting tired of karma fortunes by now.mr ploppy ought to be getting tired of karma fortunes by now.mr ploppy ought to be getting tired of karma fortunes by now.mr ploppy ought to be getting tired of karma fortunes by now.mr ploppy ought to be getting tired of karma fortunes by now.mr ploppy ought to be getting tired of karma fortunes by now.
 
mr ploppy's Avatar
 
Posts: 3,622
Karma: 26821535
Join Date: Jan 2010
Location: Yorkshire, tha noz
Device: 2nd hand paperback
Sigil type program for mobi

Is there one? I want something that will change the paragraph indent, space between paragraphs, and fix spelling mistakes. I know I can convert them to epub with Calibre and use Sigil before converting back, but sometimes Calibre removes spaces between words when you do that.
mr ploppy is offline   Reply With Quote
Old 10-19-2010, 01:36 PM   #2
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 27,463
Karma: 192992430
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
There are no programs that I know of that will allow you to edit mobi's on-the-fly. Basically because all of the details of the mobi format are not known (it's proprietary).

If the Calibre to epub->Sigil edit->Calibre to mobi approach is less than satisfactory, you can try unpacking the mobi with mobiunpack.py (search these forums for a download link), editing the source and converting it back to a mobi with MobiPocket Creator or Kindlegen.
DiapDealer is offline   Reply With Quote
Advert
Old 10-19-2010, 02:09 PM   #3
mr ploppy
Feral Underclass
mr ploppy ought to be getting tired of karma fortunes by now.mr ploppy ought to be getting tired of karma fortunes by now.mr ploppy ought to be getting tired of karma fortunes by now.mr ploppy ought to be getting tired of karma fortunes by now.mr ploppy ought to be getting tired of karma fortunes by now.mr ploppy ought to be getting tired of karma fortunes by now.mr ploppy ought to be getting tired of karma fortunes by now.mr ploppy ought to be getting tired of karma fortunes by now.mr ploppy ought to be getting tired of karma fortunes by now.mr ploppy ought to be getting tired of karma fortunes by now.mr ploppy ought to be getting tired of karma fortunes by now.
 
mr ploppy's Avatar
 
Posts: 3,622
Karma: 26821535
Join Date: Jan 2010
Location: Yorkshire, tha noz
Device: 2nd hand paperback
When I do that with mobicreator, it changes all the quotes to ’s. Something to do with character encoding?
mr ploppy is offline   Reply With Quote
Old 10-19-2010, 09:05 PM   #4
ATDrake
Wizzard
ATDrake ought to be getting tired of karma fortunes by now.ATDrake ought to be getting tired of karma fortunes by now.ATDrake ought to be getting tired of karma fortunes by now.ATDrake ought to be getting tired of karma fortunes by now.ATDrake ought to be getting tired of karma fortunes by now.ATDrake ought to be getting tired of karma fortunes by now.ATDrake ought to be getting tired of karma fortunes by now.ATDrake ought to be getting tired of karma fortunes by now.ATDrake ought to be getting tired of karma fortunes by now.ATDrake ought to be getting tired of karma fortunes by now.ATDrake ought to be getting tired of karma fortunes by now.
 
Posts: 11,517
Karma: 33048258
Join Date: Mar 2010
Location: Roundworld
Device: Kindle 2 International, Sony PRS-T1, BlackBerry PlayBook, Acer Iconia
Yes. It's an indication that your UTF-8 has gotten loaded/interpreted as probably Latin-1, or maybe Windows-1252 (I forget which Mobipocket Creator is supposed to use as its default).

If you use KindleGen, the -unicode option should take care of that when reconverting, although you may have to stick in a <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> if it proves stubborn.

Or you can just go and change all the quotes to the appropriate HTML entity, although that's a bit less human-readable and inconvenient when editing, I find.
ATDrake is offline   Reply With Quote
Old 10-21-2010, 04:50 PM   #5
mr ploppy
Feral Underclass
mr ploppy ought to be getting tired of karma fortunes by now.mr ploppy ought to be getting tired of karma fortunes by now.mr ploppy ought to be getting tired of karma fortunes by now.mr ploppy ought to be getting tired of karma fortunes by now.mr ploppy ought to be getting tired of karma fortunes by now.mr ploppy ought to be getting tired of karma fortunes by now.mr ploppy ought to be getting tired of karma fortunes by now.mr ploppy ought to be getting tired of karma fortunes by now.mr ploppy ought to be getting tired of karma fortunes by now.mr ploppy ought to be getting tired of karma fortunes by now.mr ploppy ought to be getting tired of karma fortunes by now.
 
mr ploppy's Avatar
 
Posts: 3,622
Karma: 26821535
Join Date: Jan 2010
Location: Yorkshire, tha noz
Device: 2nd hand paperback
Thanks, putting the content type in the header of the html fixes it. How are things like indent width and space between paragraphs controlled in mobi files?
mr ploppy is offline   Reply With Quote
Advert
Old 10-21-2010, 07:50 PM   #6
ATDrake
Wizzard
ATDrake ought to be getting tired of karma fortunes by now.ATDrake ought to be getting tired of karma fortunes by now.ATDrake ought to be getting tired of karma fortunes by now.ATDrake ought to be getting tired of karma fortunes by now.ATDrake ought to be getting tired of karma fortunes by now.ATDrake ought to be getting tired of karma fortunes by now.ATDrake ought to be getting tired of karma fortunes by now.ATDrake ought to be getting tired of karma fortunes by now.ATDrake ought to be getting tired of karma fortunes by now.ATDrake ought to be getting tired of karma fortunes by now.ATDrake ought to be getting tired of karma fortunes by now.
 
Posts: 11,517
Karma: 33048258
Join Date: Mar 2010
Location: Roundworld
Device: Kindle 2 International, Sony PRS-T1, BlackBerry PlayBook, Acer Iconia
Indent width via width attribute in the <p> tag. Set it to <p width="0"> for the equivalent of CSS text-indent: 0; any other integer for a custom indent.

Space between paragraphs is done via a blank <p> with an &nbsp; inside.

It will be incredibly tedious to add spacing by hand, even via a simple search/replace, unless you're just using one occasionally for a section divider, so I advise if you want lines between all your paragraphs to set it via an external CSS stylesheet which KindleGen (and probably Mobipocket Creator) will automatically "translate" during the conversion to Mobi format.
ATDrake is offline   Reply With Quote
Old 10-22-2010, 04:45 AM   #7
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,514
Karma: 18512745
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
Quote:
Originally Posted by ATDrake View Post
Space between paragraphs is done via a blank <p> with an &nbsp; inside.
No, it is added via the height attribute:

<p height="1em">This paragraph will have a 1em space above it.</p>
Jellby is offline   Reply With Quote
Old 10-22-2010, 12:45 PM   #8
ATDrake
Wizzard
ATDrake ought to be getting tired of karma fortunes by now.ATDrake ought to be getting tired of karma fortunes by now.ATDrake ought to be getting tired of karma fortunes by now.ATDrake ought to be getting tired of karma fortunes by now.ATDrake ought to be getting tired of karma fortunes by now.ATDrake ought to be getting tired of karma fortunes by now.ATDrake ought to be getting tired of karma fortunes by now.ATDrake ought to be getting tired of karma fortunes by now.ATDrake ought to be getting tired of karma fortunes by now.ATDrake ought to be getting tired of karma fortunes by now.ATDrake ought to be getting tired of karma fortunes by now.
 
Posts: 11,517
Karma: 33048258
Join Date: Mar 2010
Location: Roundworld
Device: Kindle 2 International, Sony PRS-T1, BlackBerry PlayBook, Acer Iconia
Oops, my mistake. I'd mobiunpack'ed enough wonky Kindle samples that had mysterious superfluous blank <p>'s that I thought that must be what they were for. Glad to know better now, thanks.

A link to the official Mobipocket file format documentation, if it helps the OP any.
ATDrake is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Preserving format from ePub (Sigil) to Mobi jeff47 Calibre 9 10-22-2010 10:17 PM
Sigil to MOBI tutorials by pdurrant crutledge Sigil 25 10-21-2010 06:07 AM
Sigil ePub to MOBI crutledge Calibre 1 10-08-2010 12:04 PM
Error with Sigil Cannot use the program anymore ericp20 Sigil 1 08-24-2010 07:27 AM
Large type (Mobi/CyBook)? PhysicsTeacher Reading and Management 4 05-25-2005 03:16 PM


All times are GMT -4. The time now is 01:35 PM.


MobileRead.com is a privately owned, operated and funded community.