Deplate - convert wiki-like markup to latex, docbook, html, or “html-slides”
deplate is a 
ruby-based 
tool that converts wiki-like markup to LaTeX, HTML, DocBook, or really 
plain text. It currently supports the following input formats:
rdoc
    It currently supports the following output formats:
The “native” viki/deplate markup supports page templates, 
embedded LaTeX code, footnotes, citations, bibliographies, 
semi-automatic index generation, table of contents etc. It is suitable 
for writing articles, books, plays (for screen or stage), or for 
creating small websites. By means of LaTeX or DocBook, it is possible to 
create PDF or RTF documents. From a user perspective, viki/deplate is an 
intermediary format that can replace LaTeX. deplate’s LaTeX output 
is intended to be readable and well formatted. Because of the tight 
integration with LaTeX, you still get most of its features but with 
fewer quirks and support for more output formats. At least, that’s 
the idea. 

deplate aims to be modular and easily extensible. 
It is the accompanying converter for the 
Vim 
viki plugin.
A note on code quality: This is a personal pet project and the result of 
a series of early morning pre-coffee plumbing. It originally served two 
purposes: learn ruby, convert 
emacs-wiki 
pages without emacs. It has improved since then but not always in the 
most advantageous manner. It works for me though and has proven quite 
useful.