View Single Post
Old 04-12-2014, 08:16 AM   #10
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Quote:
Originally Posted by Gazella View Post
So you chose Kobo to get the ePUB? I want to know which store option to choose to get the book in ePUB in order to check.
Yes. I went to the Kobo shop, searched for a Harry Potter book and there was a button to go to Pottermoore. Pottermore had a button to download a sample. The sample was an epub.

Quote:
I didn't change anything. How do I check if my device has a "kepub-book.css"?
The "kepub-book.css" has some extra CSS that is used with all kepubs on the device. I use it to change the paragraph style to have a starting indent and no space between the paragraph. It goes in the ".kobo/kepub" directory. At the moment, mine looks like:

Code:
h2  + p , h4  + p, hr  + p {
	text-indent:0 !important;
	}
p, p.indent, .tx, .bodyParagraph {
	text-indent:1.2em !important;
	margin-top:0em !important;
	margin-bottom:0 !important;
	padding-bottom: 0 !important;
	}
p.nonindent, .tx1 {
	text-indent: 0 !important;
	margin-top:0 !important;
	margin-bottom:0 !important;
	padding-top: 0 !important;
	padding-bottom: 0 !important;
	}

@page {
	margin: 0 !important;
	}
I did a test without this on the device and there was no difference.
Quote:
I'm using the "KoboTouchExtended" driver.
So the conversion to kepub happens during the send. I was using the Kepub Output plugin and doing a conversion followed by a send using the default plugin. But a test with the extended driver doesn't show anything different for me.

At this point, I don't know why there is a difference. I think I would need to see the generated file to see what was happening.
davidfor is offline   Reply With Quote