Toolset to write an e-book
eli_s: If you are going from HTML -> PDF then by far the best tool I have found is princeXML.Outstanding HTML -> PDF rendering with automatic TOC, page numbering, splitting tables across pages. Excellent CSS and SVG support.Pricing is reasonable too.