Allow non-HTML output for restructuredtext markup filter
|Reported by:||Fredo||Owned by:||nobody|
|Cc:||Triage Stage:||Design decision needed|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
One advantage of reStructuredText over other lightweight markup languages is that it’s not limited to HTML output. Especially, the standard docutils provide a LaTeX writer, which allows for PDF generation. But also ODF output is supported.
I wrote a small patch that allows to change the rst writer, either through the settings module or through a filter parameter.
Please note that this patch conflicts with the one discussed in ticket #9504. It is probably a general design decision which one to prefer, if any.