If you need to convert files from one markup format into another, pandoc
is your swiss-army knife.
Pandoc can convert documents in (several dialects of) Markdown,
reStructuredText, textile, HTML, DocBook, LaTeX, MediaWiki markup, TWiki
markup, TikiWiki markup, DokuWiki markup, Creole 1.0, Vimwiki markup,
roff man, OPML, Emacs Org-Mode, Emacs Muse, txt2tags, Microsoft Word
docx, LibreOffice ODT, EPUB, Jupyter notebooks ipynb, 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 XML,
Microsoft PowerPoint.
Ebooks
EPUB version 2 or 3, FictionBook2
Documentation formats
DocBook version 4 or 5, TEI Simple, GNU TexInfo, roff man, roff ms,
Haddock markup
Archival formats
JATS
Page layout formats
InDesign ICML
Outline formats
OPML
TeX formats
LaTeX, ConTeXt, LaTeX Beamer slides
PDF
via pdflatex, xelatex, lualatex, pdfroff, wkhtml2pdf, prince, or
weasyprint.
Lightweight markup formats
Markdown (including CommonMark and GitHub-flavored Markdown),
reStructuredText, AsciiDoc, Emacs Org-Mode, Emacs Muse, Textile,
txt2tags, MediaWiki markup, DokuWiki markup, TikiWiki markup, TWiki
markup, Vimwiki markup, and ZimWiki markup.
Interactive notebook formats
Jupyter notebook (ipynb)
Custom formats
custom writers can be written in lua.
NOTE:
This slackbuild repackages the official binary from the Pandoc GitHub.
There are no additional dependencies.