![]() |
#1 |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 138
Karma: 12096
Join Date: May 2010
Device: Loads!
|
![]()
Hey,
I'm giving KindleGen2.3 a go vs MobiGen 6.2 to see what all the fuss about KF8 is all about. But first, I'm noticing some odd results. Formatting that worked fine with MobiGen, doesn't with KindleGen. (Passing it an ePUB rather than single HTML) Eg, Code:
p.first-para {text-indent: 0em !important; margin-top: 1em !important;} The Amazon Guide talks about using media queries to allow your formatting to gracefully degrade on Mobi7, but as far as I can see Code:
@media amzn-mobi{ <<< some alternate CSS >>> } http://kindlegen.s3.amazonaws.com/Am...Guidelines.pdf ...is getting ahead of itself perhaps? Mobi "doesn't use CSS". Are they thinking that this behaviour will work when then roll out KF8 to the eInk Kindles... but then, hold on, you won't need degraded formatting with the "150 additional formatting features" that it offers. So... I'm confused, that are they talking about? ![]() I'm going to go over everything again to see if there's anything silly going on... ![]() |
![]() |
![]() |
![]() |
#2 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,378
Karma: 203720150
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
I've actually been having better results converting epubs to mobis with the new version of kindlegen.
I don't think the new guide is getting ahead of itself, but granted... I've only tried using the @Import method from the guide, so I can use two completely separate css files—one for MOBI and one for KF8. I just have a blank stylesheet except for: Code:
@import url(../Styles/mobi7.css) amzn-mobi; @import url(../Styles/kf8.css) amzn-kf8; You can also do a: Code:
@import url(../Styles/common.css); @import url(../Styles/mobi7.css) amzn-mobi; @import url(../Styles/kf8.css) amzn-kf8; |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 138
Karma: 12096
Join Date: May 2010
Device: Loads!
|
oohh... hang on a moment: It seems that KindleGen is a not so tolerant of whitespace in the XHTML as MobiGen!
Code:
<link rel='StyleSheet' type='text/css' href='StyleSheet.css' /> Code:
<link rel='StyleSheet' type='text / css' href='StyleSheet.css' /> Holding off on all my flames until I get stuck again! ![]() |
![]() |
![]() |
![]() |
Tags |
kf8, kindlegen, mobigen, problems |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Kindlegen v2 released for KF8 | nickredding | Development | 8 | 01-11-2012 11:14 PM |
Any new KF8 news lately? | bfollowell | Kindle Fire | 4 | 01-08-2012 01:14 PM |
KF8 Demo | Soldim | Amazon Kindle | 15 | 12-20-2011 06:14 PM |
kf8 support | apastuszak | Calibre | 6 | 11-25-2011 09:22 PM |
Troubleshooting TOC fails in Kindlegen 1.1, not Kindlegen 1.0 | cyberbaffled | Amazon Kindle | 3 | 12-25-2010 05:21 PM |