View Single Post
Old 03-30-2011, 10:11 AM   #1
icecreamassassin
Junior Member
icecreamassassin began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Mar 2011
Device: Kobo
Calibre and page-template.xpgt

Hello -

I have a Kobo and use Calibre for managing/tweaking my ePub collection. One issue that I have is that on some ePubs the margins are ludicrously large. ePub->ePub conversions eliminate this on some books, but not others. From searching the forums it appears that the presence of 'page-template.xpgt' appears to be the culprit.

My understanding is that this is an ADE extension for styling ePubs; from other posts it seems that deleting this file from the bundle and then doing the ePub->ePub conversion fixes the margins.

I guess I'm looking for clarification for Calibre interaction with this style sheet -
a) does Calibre recognize 'page-template.xpgt' at all?
b) if so, do the margin settings apply to this file?
c) if not, as it is a non-standard ePub extension, is it appropriate to request Calibre to support it?
d) does this make any sense?

It currently looks like I'm stuck writing a Plugin to automagically 86 the 'page-template.xpgt' file prior to ePub conversion, but I have the Python skills of a 2-year old (making me hesitant to do such a thing).

Thanks
icecreamassassin is offline   Reply With Quote