Thread: EPUB output
View Single Post
Old 11-09-2008, 02:16 PM   #255
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: 45,418
Karma: 27757236
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Quote:
Originally Posted by thawk View Post
When I use --override-css options, the result epub file is not a valid zip file and can't be open by unzip.

I use linux version 0.4.103. I think this bug exists since 0.4.100 or early version.

The command line I use is :
Code:
html2epub ch12.html --override-css "p {margin-top: 0pt; margin-bottom:0pt;padding:0pt; text-indent:20pt}"
The html file I use is very simple:
Code:
<html>
<head>
<title>title</title>
</head>
<body>
test
</body>
</html>
Works for me.
kovidgoyal is offline   Reply With Quote