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?

  • What about the pandoc software? – porton Apr 14 '13 at 20:47
  • Does pandoc support HTML classes? – porton Apr 14 '13 at 20:50

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.

Not the answer you're looking for? Browse other questions tagged or ask your own question.