title_body: Is there online eBook authoring tool which can produce ePub and PDF formats?
upvoted_answer: I have heard of 2epub but I have never used it nor would I believe you would get a good quality ebook.  I would suggest doing this with InDesign that will allow you to create .epub or .pdf files.
  
  You can export as an .epub file:
  
  
  
  Export to .pdf file: