Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Conversion

Notices

Reply
 
Thread Tools Search this Thread
Old 08-22-2009, 12:12 PM   #241
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,382
Karma: 27756918
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
The MOBI output plugin converts all units to em for consistency. It tries to convert lengths keeping several constraints in mind, only one of which is the original length I don't recall if it supports fractions or not (I didn't write this plugin).
kovidgoyal is offline   Reply With Quote
Old 08-22-2009, 06:05 PM   #242
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,550
Karma: 19500001
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
From the Mobipocket page:

The indentation of the first line of a paragraph can be forced by adding the width of a paragraph :
<p width="X"> (pixels), <p width="X%">,<p width="Xem"> or <p width="Xpt">
or
text-indent: X (%, em, pt, or nothing for pixels) with a style sheet.
X is an INTEGER and can be positive or negative for positive or negative indentation.

(and it's mostly the same for other lengths)
Jellby is offline   Reply With Quote
Old 08-22-2009, 06:27 PM   #243
ectoplasm
Addict
ectoplasm ought to be getting tired of karma fortunes by now.ectoplasm ought to be getting tired of karma fortunes by now.ectoplasm ought to be getting tired of karma fortunes by now.ectoplasm ought to be getting tired of karma fortunes by now.ectoplasm ought to be getting tired of karma fortunes by now.ectoplasm ought to be getting tired of karma fortunes by now.ectoplasm ought to be getting tired of karma fortunes by now.ectoplasm ought to be getting tired of karma fortunes by now.ectoplasm ought to be getting tired of karma fortunes by now.ectoplasm ought to be getting tired of karma fortunes by now.ectoplasm ought to be getting tired of karma fortunes by now.
 
Posts: 255
Karma: 1151364
Join Date: Aug 2009
Device: Aura HD and H2O
Quote:
Originally Posted by Jellby View Post
...text-indent: X (%, em, pt, or nothing for pixels) with a style sheet.
X is an INTEGER and can be positive or negative for positive or negative indentation.
PT or pixels would work, as they are much finer than EM, but as kovidgoyal said, they're all converted to EM integers, so unfortunately, there's no point in using anything other than EM integers.

Both the Calibre reader and my DX both support EX, even if it's not documented on the Mobipocket page. Of course you have to find a way to inject that into the mobi after it's created, to replace the EM.
ectoplasm is offline   Reply With Quote
Old 09-05-2009, 12:22 AM   #244
dhiru
Connoisseur
dhiru began at the beginning.
 
Posts: 83
Karma: 10
Join Date: Aug 2009
Device: iphone, Irex iliad, sony prs950, kindle Dx, Ipad
Quote:
Originally Posted by kovidgoyal View Post
if you're downloading news in MOBI format and have set your output device to Kindle, the the MOBI files will no longer have an inline TOC as it uses the navigation UI of the Kindle for this. Change your output profile to cybook or illiad
hi kovid i tried to change output profile but no success. then downloaded in epub format. epub downloaded with all section and main menus and when i converted to mobi format all menus were gone. kindly provide profile for devices other than kindle.
thanks
dhiru is offline   Reply With Quote
Old 10-16-2009, 07:55 AM   #245
cinder23
Junior Member
cinder23 began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Oct 2009
Device: Kindle Dx
lit to mobi conversion

everything is perfect in calibre, setting chapters, editing metadata, covers
but after converting about 90 books to mobi i realised that atleast 70-80 had symbols, characters..mostly converted from lit

i'm converting them for kindle dx... is there any fix?

what do i put in the Input character encoding while converting? a newbie

please help
cinder23 is offline   Reply With Quote
Old 10-28-2009, 09:18 PM   #246
ziplizard
Enthusiast
ziplizard doesn't litterziplizard doesn't litter
 
Posts: 45
Karma: 142
Join Date: Feb 2009
Device: Kindle 2.0
I don't know if this is the right place to say this, but when I converted from html to mobi, the <strike> tag was stripped out instead of keeping the text striked out.
ziplizard is offline   Reply With Quote
Old 10-28-2009, 09:19 PM   #247
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,382
Karma: 27756918
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
IIRC MOBI doesn't support strikethough text
kovidgoyal is offline   Reply With Quote
Old 10-29-2009, 09:26 AM   #248
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,550
Karma: 19500001
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
Quote:
Originally Posted by kovidgoyal View Post
IIRC MOBI doesn't support strikethough text
It does support <s> and <strike>: http://www.mobipocket.com/dev/articl...TagRef_OEB.htm
Jellby is offline   Reply With Quote
Old 10-29-2009, 11:55 AM   #249
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,382
Karma: 27756918
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
OK opena ticket for it and I'll add it the enxt time I work on MOBI output.
kovidgoyal is offline   Reply With Quote
Old 10-31-2009, 12:12 AM   #250
ziplizard
Enthusiast
ziplizard doesn't litterziplizard doesn't litter
 
Posts: 45
Karma: 142
Join Date: Feb 2009
Device: Kindle 2.0
Okay. Thank you!
ziplizard is offline   Reply With Quote
Old 12-28-2009, 01:55 PM   #251
pookster
Junior Member
pookster began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Dec 2009
Device: kindle global (2)
I have a new Kindle Global and have just downloaded calibre. I'm on a MacBook.

I have a 636 page pdf google book that I added to the calibre library, and now am trying to add to my Kindle, converted to mobi. The job seems to be stuck, but I'm not sure how long the conversion should take. I'm not sure whether to stop the process and start over, or whether I've done something wrong.

Any feedback would be greatly appreciated!
pookster is offline   Reply With Quote
Old 12-28-2009, 02:10 PM   #252
Strether
Guru
Strether ought to be getting tired of karma fortunes by now.Strether ought to be getting tired of karma fortunes by now.Strether ought to be getting tired of karma fortunes by now.Strether ought to be getting tired of karma fortunes by now.Strether ought to be getting tired of karma fortunes by now.Strether ought to be getting tired of karma fortunes by now.Strether ought to be getting tired of karma fortunes by now.Strether ought to be getting tired of karma fortunes by now.Strether ought to be getting tired of karma fortunes by now.Strether ought to be getting tired of karma fortunes by now.Strether ought to be getting tired of karma fortunes by now.
 
Strether's Avatar
 
Posts: 765
Karma: 2825929
Join Date: Feb 2007
Location: Fresno
Device: Kindle 1; iPad Air; iPhone 7; Kobo Libra; Kindle Oasis 3
Kovid,

I recently formatted a book using Book Designer and then running it through Mobipocket Creator. I then ran it through Calibre to get the chapter tabs in the progress line. It apparently came out well, except it refuses to recognize the page break after the title and author. Instead, it puts the first name of the author on the Title Page and the last name of the author on the TOC page. I reformatted a couple of times and even tried to use the HTML rather than the PRC copy of the book and it didn't change anything. Anything to be done?

Jim
Strether is offline   Reply With Quote
Old 12-28-2009, 02:26 PM   #253
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,382
Karma: 27756918
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Can't give you more specific advice than reading the section on conversion in the user manual which explains how page breaks are detected and edit the html accordingly.
kovidgoyal is offline   Reply With Quote
Old 12-28-2009, 03:48 PM   #254
Strether
Guru
Strether ought to be getting tired of karma fortunes by now.Strether ought to be getting tired of karma fortunes by now.Strether ought to be getting tired of karma fortunes by now.Strether ought to be getting tired of karma fortunes by now.Strether ought to be getting tired of karma fortunes by now.Strether ought to be getting tired of karma fortunes by now.Strether ought to be getting tired of karma fortunes by now.Strether ought to be getting tired of karma fortunes by now.Strether ought to be getting tired of karma fortunes by now.Strether ought to be getting tired of karma fortunes by now.Strether ought to be getting tired of karma fortunes by now.
 
Strether's Avatar
 
Posts: 765
Karma: 2825929
Join Date: Feb 2007
Location: Fresno
Device: Kindle 1; iPad Air; iPhone 7; Kobo Libra; Kindle Oasis 3
Quote:
Originally Posted by kovidgoyal View Post
Can't give you more specific advice than reading the section on conversion in the user manual which explains how page breaks are detected and edit the html accordingly.
Thanks, Kovid. I read the user manual and experimented with the html editing without knowing what I was doing, and seem to have corrected the problem. Sometimes you get lucky

Jim
Strether is offline   Reply With Quote
Old 12-30-2009, 09:38 PM   #255
chorpler
Zealot
chorpler has a complete set of Star Wars action figures.chorpler has a complete set of Star Wars action figures.chorpler has a complete set of Star Wars action figures.
 
Posts: 128
Karma: 278
Join Date: Jun 2008
Device: Kindle; PRS-500; MobiPocket on Windows Mobile
If you install the calibre source in C:\calibre on a Windows machine and then set CALIBRE_DEVELOP_FROM to C:\calibre, will ebook-convert.exe also pull its code from the python scripts, or is it just the calibre GUI that will do that?

Also, is there a way to find out which python files ebook-convert is using? Like, if you're converting from an OEB book's OPF file to a Mobipocket file, what sequence of scripts does ebook-convert run? I've added a few print lines to __init__.py and other files in some of the ebook directories corresponding to those formats, in an attempt to see when those formats start up, but haven't seen anything show up yet.

Thanks for any help!
chorpler is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
main menu, section menu, css for calibre mobipocket output naisren Calibre 2 08-23-2010 11:42 PM
Trying to get consistent look to all output daveps Calibre 0 03-08-2010 02:18 PM
Anyone Have mobipocket desktop? Mobipocket server is down. Ireadfreely Kindle Formats 3 10-27-2008 10:29 AM
convert from 'new' mobipocket to 'old' mobipocket? Indigo Ink Kindle Formats 11 06-22-2008 01:43 AM
Mobipocket Reader 4.8 and Mobipocket eNews Creator Mobipocket Reading and Management 1 01-29-2004 08:03 AM


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


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