Take the 2-minute tour ×  I am an author of a free e-book which
I distribute both in PDF, (X)HTML, and EPUB formats.  Currently
I generate (by scripts written by me) HTML and EPUB from source
XHTML files, and PDF from an OpenOffice document.  It is
inconvenient as I need to edit both XHTML and OpenOffice files
and keep them in sync.  Are there any software which can
generate quality PDF and quality EPUB (and HTML) from one
source?  share|improve this question  closed as off topic by
Dave M, Karan, Mokubai, 8088, Tog Apr 15 '13 at 6:33   What
about the pandoc software? –  porton Apr 14 '13 at 20:47 Does
pandoc support HTML classes? –  porton Apr 14 '13 at 20:50  1
Answer 1  You can try Sigil, it is a free epub editor; you can
import in it your html files and manually create and edit the
epub as you like it.  There is also Calibre, an ebook cataloging
software that amongst other features, can convert files between
a wide number of ebook formats.  share|improve this answer