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

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 07-07-2012, 12:10 PM   #1
Zeebra
Addict
Zeebra ought to be getting tired of karma fortunes by now.Zeebra ought to be getting tired of karma fortunes by now.Zeebra ought to be getting tired of karma fortunes by now.Zeebra ought to be getting tired of karma fortunes by now.Zeebra ought to be getting tired of karma fortunes by now.Zeebra ought to be getting tired of karma fortunes by now.Zeebra ought to be getting tired of karma fortunes by now.Zeebra ought to be getting tired of karma fortunes by now.Zeebra ought to be getting tired of karma fortunes by now.Zeebra ought to be getting tired of karma fortunes by now.Zeebra ought to be getting tired of karma fortunes by now.
 
Zeebra's Avatar
 
Posts: 308
Karma: 647275
Join Date: Oct 2010
Location: Toronto, Canada
Device: Kindle
Calibre generating KF8 not the same as Kindlegen

Not sure where to put this question, I was just curious about the KF8 support in Calibre. I took the same ePub file and generated a mobi file once with Kindlegen and once with Calibre. The output is very different. In the Kindlegen version, I can see preserved formatting, whereas in the Calibre version it seems to lose the formatting (see example of the big "A" as the first letter of the text).

I have attached a screenshot to show what I'm talking about. Is there a way I can get Calibre to generate the mobi output to be the same as Kindlegen?

__________________
A mind needs books as a sword needs a whetstone, if it is to keep its edge.

George R.R. Martin - A Game of Thrones

Zeebra is offline   Reply With Quote
Old 07-07-2012, 12:27 PM   #2
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: 22,496
Karma: 2944574
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
calibre does not have "emulating kindlegen" as a goal. I can give you plenty of examples of epub files that kindlegen will mess up and calibre will not. And epub files that calibre will mess up in one way and kindlegen in another. And epub files that neither will mess up. Conversion is not an exact science.
__________________
Get calibre

Notice to all: I can not provide assistance with DRM removal, for legal reasons, so please do not contact me about it.
kovidgoyal is offline   Reply With Quote
 
Enthusiast
Old 07-07-2012, 08:14 PM   #3
Zeebra
Addict
Zeebra ought to be getting tired of karma fortunes by now.Zeebra ought to be getting tired of karma fortunes by now.Zeebra ought to be getting tired of karma fortunes by now.Zeebra ought to be getting tired of karma fortunes by now.Zeebra ought to be getting tired of karma fortunes by now.Zeebra ought to be getting tired of karma fortunes by now.Zeebra ought to be getting tired of karma fortunes by now.Zeebra ought to be getting tired of karma fortunes by now.Zeebra ought to be getting tired of karma fortunes by now.Zeebra ought to be getting tired of karma fortunes by now.Zeebra ought to be getting tired of karma fortunes by now.
 
Zeebra's Avatar
 
Posts: 308
Karma: 647275
Join Date: Oct 2010
Location: Toronto, Canada
Device: Kindle
But in my particular example above, why doesn't Calibre keep the formatting as in the ePub? When I look at the ePub file it looks closer to what Kindlegen made. I'm just curious, I thought Calibre was now keeping the advanced text formatting for KF8? I can't seem to get Calibre to ever keep the publisher fonts for a book either, whereas with Kindlegen it seems to work.
__________________
A mind needs books as a sword needs a whetstone, if it is to keep its edge.

George R.R. Martin - A Game of Thrones

Zeebra is offline   Reply With Quote
Old 07-07-2012, 08:44 PM   #4
JSWolf
Mobile Reader Geek
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 34,219
Karma: 13801376
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Sony Reader PRS-650, iPad
Given the two samples, I think overall that the Kindlegen sample looks awful. The only thing wrong with the Calibre sample the the header is off. But then the header is off in both samples.

Are you sure though that what you generated with Calibre is actually an AZW3 (KF8) and not a Mobipocket file?
__________________
JSWolf is offline   Reply With Quote
Old 07-07-2012, 09:16 PM   #5
theducks
Staff to 4 Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 10,713
Karma: 2485850
Join Date: Aug 2009
Location: The (original) Silicon Valley, USA
Device: Galaxy Tab 2,Black Astak PEz, K4NT(now Wifes)
Quote:
Originally Posted by Zeebra View Post
Not sure where to put this question, I was just curious about the KF8 support in Calibre. I took the same ePub file and generated a mobi file once with Kindlegen and once with Calibre. The output is very different. In the Kindlegen version, I can see preserved formatting, whereas in the Calibre version it seems to lose the formatting (see example of the big "A" as the first letter of the text).

I have attached a screenshot to show what I'm talking about. Is there a way I can get Calibre to generate the mobi output to be the same as Kindlegen?
That KG drop cap almost hit my floor whereas the Calibre title is only off a bit
__________________
Using: Ubuntu(32 bit):Oneric,Precise and XPpro SP3, W7HP(64)- - Libre Office w/Writer2EPUB
theducks is offline   Reply With Quote
Old 07-07-2012, 11:43 PM   #6
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: 22,496
Karma: 2944574
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Quote:
Originally Posted by Zeebra View Post
But in my particular example above, why doesn't Calibre keep the formatting as in the ePub? When I look at the ePub file it looks closer to what Kindlegen made. I'm just curious, I thought Calibre was now keeping the advanced text formatting for KF8? I can't seem to get Calibre to ever keep the publisher fonts for a book either, whereas with Kindlegen it seems to work.
I have no clue. A screenshot does not provide any information about the problem. Open a bug report and attach the file. Every epub with embedded fonts that I have ever converted preserves its fonts in azw3.
__________________
Get calibre

Notice to all: I can not provide assistance with DRM removal, for legal reasons, so please do not contact me about it.
kovidgoyal is offline   Reply With Quote
Old 07-08-2012, 07:51 AM   #7
Zeebra
Addict
Zeebra ought to be getting tired of karma fortunes by now.Zeebra ought to be getting tired of karma fortunes by now.Zeebra ought to be getting tired of karma fortunes by now.Zeebra ought to be getting tired of karma fortunes by now.Zeebra ought to be getting tired of karma fortunes by now.Zeebra ought to be getting tired of karma fortunes by now.Zeebra ought to be getting tired of karma fortunes by now.Zeebra ought to be getting tired of karma fortunes by now.Zeebra ought to be getting tired of karma fortunes by now.Zeebra ought to be getting tired of karma fortunes by now.Zeebra ought to be getting tired of karma fortunes by now.
 
Zeebra's Avatar
 
Posts: 308
Karma: 647275
Join Date: Oct 2010
Location: Toronto, Canada
Device: Kindle
Quote:
Originally Posted by JSWolf View Post
Given the two samples, I think overall that the Kindlegen sample looks awful. The only thing wrong with the Calibre sample the the header is off. But then the header is off in both samples.

Are you sure though that what you generated with Calibre is actually an AZW3 (KF8) and not a Mobipocket file?

The calibre version has no drop-cap at all. In the original ePub verison (Ballantine book from the library), the drop cap is huge as in the kindlegen version. This seems to happen with all Ballatine books I've ever converted from ePub to mobi with calibre. With Kindlegen they always have the drop caps and embedded fonts.


I have the KF8 option turned on in calibre. Not at my computer right now but it's something like "generate both" option you put in calibre.
__________________
A mind needs books as a sword needs a whetstone, if it is to keep its edge.

George R.R. Martin - A Game of Thrones


Last edited by Zeebra; 07-08-2012 at 08:08 AM.
Zeebra is offline   Reply With Quote
Old 07-08-2012, 09:20 AM   #8
DoctorOhh
US Navy, Retired
DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.
 
DoctorOhh's Avatar
 
Posts: 7,315
Karma: 11288999
Join Date: Feb 2009
Location: North Carolina
Device: Nexus 7, Sony PRS-950, Sony PRS-505, PRS-300
Quote:
Originally Posted by Zeebra View Post
The calibre version has no drop-cap at all. In the original ePub verison (Ballantine book from the library), the drop cap is huge as in the kindlegen version. This seems to happen with all Ballatine books I've ever converted from ePub to mobi with calibre. With Kindlegen they always have the drop caps and embedded fonts.
If the Ballantine book looks like the Kindlegen version then there is something wrong with that book. All you can do is follow Kovid's advice and "Open a bug report and attach the file."
__________________
-- Good Reading, Walt --

20GB of free CLOUD STORAGE: Use this link to sign up for a free 15GB Copy.com cloud storage account and we both get an extra 5GB of free space.
DoctorOhh is online now   Reply With Quote
Old 07-08-2012, 10:28 AM   #9
JSWolf
Mobile Reader Geek
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 34,219
Karma: 13801376
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Sony Reader PRS-650, iPad
I've found the book and will attempt to convert it via Calibre 0.8.59 and Kindlegen to see what it is I get.
__________________

Last edited by JSWolf; 07-08-2012 at 11:11 AM.
JSWolf is offline   Reply With Quote
Old 07-08-2012, 11:08 AM   #10
JSWolf
Mobile Reader Geek
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 34,219
Karma: 13801376
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Sony Reader PRS-650, iPad
I've done my own conversions and here are the resulting screen shots.

The first one is the ePub in ADE. The second is a Calibre conversion to AZW3 (combination KF8/Mobi) viewed in the latest Kindle for PC. The third is a Kindlegen conversion and viewed in Kindle Previewer.

The Kindlegen version botched the dropcap and while Calibre also did not get it correct, at least it's not silly looking.
Attached Thumbnails
Click image for larger version

Name:	Untitled-3.jpg
Views:	89
Size:	221.4 KB
ID:	88874   Click image for larger version

Name:	Untitled-2.jpg
Views:	84
Size:	261.1 KB
ID:	88875   Click image for larger version

Name:	Untitled-1.jpg
Views:	78
Size:	179.8 KB
ID:	88876  
__________________

Last edited by JSWolf; 07-08-2012 at 11:25 AM.
JSWolf is offline   Reply With Quote
Old 07-08-2012, 12:00 PM   #11
theducks
Staff to 4 Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 10,713
Karma: 2485850
Join Date: Aug 2009
Location: The (original) Silicon Valley, USA
Device: Galaxy Tab 2,Black Astak PEz, K4NT(now Wifes)
Quote:
Originally Posted by JSWolf View Post
I've done my own conversions and here are the resulting screen shots.

The first one is the ePub in ADE. The second is a Calibre conversion to AZW3 (combination KF8/Mobi) viewed in the latest Kindle for PC. The third is a Kindlegen conversion and viewed in Kindle Previewer.

The Kindlegen version botched the dropcap and while Calibre also did not get it correct, at least it's not silly looking.
And nobody got the 2 horizontal rules (around the title) placed correctly

Kindlegen seems to have font baseline issues but your version is closer to tolerable than the OP's version


I have had success with titles (Text block class) with top and bottom rules by coding the Top and Bottom Borders (width and color) and padding (top and Bottom to space away, right and left to extend past the text)
__________________
Using: Ubuntu(32 bit):Oneric,Precise and XPpro SP3, W7HP(64)- - Libre Office w/Writer2EPUB
theducks is offline   Reply With Quote
Old 07-08-2012, 02:33 PM   #12
JSWolf
Mobile Reader Geek
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 34,219
Karma: 13801376
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Sony Reader PRS-650, iPad
And I even double checked with a sample from B&N and the sample also got the two lines wrong. That's just poor eBbook making.
__________________
JSWolf is offline   Reply With Quote
Old 07-08-2012, 07:13 PM   #13
Zeebra
Addict
Zeebra ought to be getting tired of karma fortunes by now.Zeebra ought to be getting tired of karma fortunes by now.Zeebra ought to be getting tired of karma fortunes by now.Zeebra ought to be getting tired of karma fortunes by now.Zeebra ought to be getting tired of karma fortunes by now.Zeebra ought to be getting tired of karma fortunes by now.Zeebra ought to be getting tired of karma fortunes by now.Zeebra ought to be getting tired of karma fortunes by now.Zeebra ought to be getting tired of karma fortunes by now.Zeebra ought to be getting tired of karma fortunes by now.Zeebra ought to be getting tired of karma fortunes by now.
 
Zeebra's Avatar
 
Posts: 308
Karma: 647275
Join Date: Oct 2010
Location: Toronto, Canada
Device: Kindle
Quote:
Originally Posted by JSWolf View Post
And I even double checked with a sample from B&N and the sample also got the two lines wrong. That's just poor eBbook making.
Why is your original ePub screwed up? When I look in Adobe Digital Editions it looks like this:




Also my Kindlegen output has the top and bottom line around Harry in Kindle previewer as well.



The fact that we can get different results off the same ebook sort of scares me.
__________________
A mind needs books as a sword needs a whetstone, if it is to keep its edge.

George R.R. Martin - A Game of Thrones


Last edited by Zeebra; 07-08-2012 at 07:17 PM.
Zeebra is offline   Reply With Quote
Old 07-08-2012, 07:18 PM   #14
JSWolf
Mobile Reader Geek
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 34,219
Karma: 13801376
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Sony Reader PRS-650, iPad
I've attached the sample as downloaded by B&N. So hopefully Kovid can fix things if possible.
Attached Files
File Type: epub Heaven's Reach (sample).epub (5.87 MB, 27 views)
__________________
JSWolf is offline   Reply With Quote
Old 07-08-2012, 09:57 PM   #15
Jeff L
Connoisseur
Jeff L ought to be getting tired of karma fortunes by now.Jeff L ought to be getting tired of karma fortunes by now.Jeff L ought to be getting tired of karma fortunes by now.Jeff L ought to be getting tired of karma fortunes by now.Jeff L ought to be getting tired of karma fortunes by now.Jeff L ought to be getting tired of karma fortunes by now.Jeff L ought to be getting tired of karma fortunes by now.Jeff L ought to be getting tired of karma fortunes by now.Jeff L ought to be getting tired of karma fortunes by now.Jeff L ought to be getting tired of karma fortunes by now.Jeff L ought to be getting tired of karma fortunes by now.
 
Posts: 73
Karma: 548814
Join Date: Oct 2010
Location: San Francisco
Device: Kindle
My experience has been that when Calibre replaces a Dropcap with a Raised Initial, that you're looking at an older mobi conversion, not a KF8.
Jeff L 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
Kindlegen, Kindle Previewer, and KF8 format Julien Pham Amazon Kindle 5 04-29-2012 01:05 AM
Generating mobi and KF8 parts of Kindle file from separate sources PeterHatch Mobi 31 03-20-2012 04:33 PM
KindleGen 2.3, wierd results? KF8?? Oxford-eBooks Mobi 2 01-15-2012 04:16 PM
Kindlegen v2 released for KF8 nickredding Development 8 01-11-2012 11:14 PM
New Calibre isn't generating TOC ccraig13 Conversion 2 10-07-2011 09:58 AM


All times are GMT -4. The time now is 08:08 AM.


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