View Single Post
Old 02-24-2014, 07:08 AM   #9
SBT
Fanatic
SBT ought to be getting tired of karma fortunes by now.SBT ought to be getting tired of karma fortunes by now.SBT ought to be getting tired of karma fortunes by now.SBT ought to be getting tired of karma fortunes by now.SBT ought to be getting tired of karma fortunes by now.SBT ought to be getting tired of karma fortunes by now.SBT ought to be getting tired of karma fortunes by now.SBT ought to be getting tired of karma fortunes by now.SBT ought to be getting tired of karma fortunes by now.SBT ought to be getting tired of karma fortunes by now.SBT ought to be getting tired of karma fortunes by now.
 
SBT's Avatar
 
Posts: 580
Karma: 810184
Join Date: Sep 2010
Location: Norway
Device: prs-t1, tablet, Nook Simple, assorted kindles, iPad
@GrannyGrump: Some people like their texts justified, some hate it, some like spacing between paragraphs, some don't and so the long day wearies on and on....

@Lagopus: Given that the OPF file structure is pretty much identical between kindle and epub, maybe it is an idea to zip your own epub file, rather than suffer the vagaries that calibre imposes on your file? (I am full of admiration for the calibre team, but the price of implementing conversion from everything to everything is a rather unrecognizable file)

I haven't the guts to go for SVG book covers yet. It is tempting – it just feels silly to have a cover image that weighs in at more kilobytes than the rest of the book – but support seems to be too patchy so far.

(Here's how I zip up under linux, by the way
Spoiler:
Code:
cat >epub/META-INF/container.xml <<HEREDOC
<?xml version="1.0"?>
<container version="1.0" xmlns="urn:oasis:names:tc:opendocument:xmlns:container">
   <rootfiles>
      <rootfile full-path="OEBPS/content.opf" media-type="application/oebps-package+xml"/>
   </rootfiles>
</container>
HEREDOC

   echo -n "application/epub+zip" > epub/mimetype
   zip -qX0 "$infile" mimetype
   zip -qrDX9 "$infile" META-INF/ OEBPS/
SBT is offline   Reply With Quote