If you need to convert files from one markup format into another, pandoc is your swiss-army knife. Pandoc can convert documents in markdown, reStructuredText, textile, HTML, DocBook, LaTeX, MediaWiki markup, OPML, or Haddock markup to HTML formats: XHTML, HTML5, and HTML slide shows using Slidy, reveal.js, Slideous, S5, or DZSlides.Word processor formats: Microsoft Word docx, OpenOffice/LibreOffice ODT, OpenDocument XMLEbooks: EPUB version 2 or 3, FictionBook2Documentation formats: DocBook, GNU TexInfo, Groff man pages, Haddock markupOutline formats: OPMLTeX formats: LaTeX, ConTeXt, LaTeX Beamer slidesPDF via LaTeXLightweight markup formats: Markdown, reStructuredText, AsciiDoc, MediaWiki markup, Emacs Org-Mode, TextileCustom formats: custom writers can be written in lua. Pandoc - About pandoc

Pandoc - About pandoc