=====================
 Docutils_ Link List
=====================

:Author: Lea Wiemann, the Docutils team
:Contact: docutils-develop@lists.sourceforge.net
:Revision: $Revision$
:Date: $Date$
:Copyright: This document has been placed in the public domain.

.. title:: Docutils Links

.. contents::

This document contains links users of Docutils and reStructuredText
may find useful.  Many of the projects
listed here are hosted in the `Docutils Sandbox`_.  If you have
something to publish, you can get write access, too!

The most current version of this link list can always be found at
https://docutils.sourceforge.io/docs/user/links.html.

.. _Docutils: http://docutils.sourceforge.io/
.. _Docutils Sandbox: https://docutils.sourceforge.io/sandbox/README.html


Editors
-------

Advanced text editors with reStructuredText support, IDEs, and docutils GUIs:

* Emacs `rst mode <http://docutils.sf.net/tools/editors/emacs>`__.

* `Vim <http://www.vim.org/index.php>`__:

  - `reStructuredText syntax highlighting mode
    <http://www.vim.org/scripts/script.php?script_id=973>`__,

  - `VST <http://www.vim.org/scripts/script.php?script_id=1334>`__ (Vim
    reStructuredText) plugin for Vim7 with folding.

  - `VOoM <http://www.vim.org/scripts/script.php?script_id=2657>`__
    plugin for Vim that emulates two-pane outliner with
    support for reStructuredText (since version 4.0b2).

  - `Riv: Take notes in rst <https://github.com/Rykka/riv.vim>`__ Vim
    plugin to take notes in reStructured text.

* `JED <http://www.jedsoft.org/jed/>`__ programmers editor with
  `rst mode <http://jedmodes.sf.net/mode/rst/>`__

* `reStructuredText editor plug-in for Eclipse`__

  __ http://resteditor.sf.net/

* Gnome's gedit offers syntax highlighting and a reST preview pane.

  Latest version of the plugin is available from `bittner @ github`_
  (See also: `Gedit third party plugins`__).

  .. _bittner @ github:  https://github.com/bittner/gedit-reST-plugin
  __ https://wiki.gnome.org/Apps/Gedit/ThirdPartyPlugins-v3.8

* Gunnar Schwant's DocFactory_ is a wxPython GUI application for
  Docutils.
  
  .. _DocFactory: https://docutils.sourceforge.io/sandbox/gschwant/docfactory/doc/

* ReSTedit_ by Bill Bumgarner is a Docutils GUI for Mac OS X.

  .. _ReSTedit: https://svn.red-bean.com/restedit/trunk/README.html

* Leo_ is an outliner_, written in Python using PyQt. It can be used as IDE
  for literal programming, as a filing cabinet holding any kind of data and
  as `document editor`__ with outlines containing reStructuredText markup.

  .. _Leo: http://leoeditor.com/
  .. _outliner: http://en.wikipedia.org/wiki/Outliner
  __ http://leoeditor.com/tutorial-rst3.html

* `NoTex <https://notex.ch>`_ is a browser-based reStructuredText editor
  with syntax highlighting and PDF/HTML export functionality using Sphinx.

* `rsted <https://github.com/anru/rsted>`_ is a "simple online editor for
  reStructuredText on Flask". You can try it on http://rst.ninjs.org/


Export
------

Projects providing additional export routes.

PDF
```

* `rst2pdf (reportlab)`__ is a tool to go directly from
  reStructuredText to PDF, via ReportLab__. No LaTeX installation
  is required.
  
  __ https://pypi.org/project/rst2pdf/
  __ https://pypi.org/project/reportlab/

* `rst2pdf (pdflatex)`__ by Martin Blais is a minimal front end
  producing LaTeX, compiling the LaTeX file, getting the produced
  output to the destination location and finally deleting all the
  messy temporary files that this process generates.
  
  __ https://docutils.sourceforge.io/sandbox/blais/rst2pdf/

* `rst2pdf (rubber)`__ is a front end for the generation of PDF
  documents from a reStructuredText source via LaTeX in one step
  cleaning up intermediate files. It uses the rubber__ Python wrapper
  for LaTeX and friends.
  
  __ https://docutils.sourceforge.io/sandbox/rst2pdf/README.html
  __ https://launchpad.net/rubber

* rlpdf_ is another PDF Writer based on ReportLabs.

  .. _rlpdf: https://docutils.sourceforge.io/sandbox/dreamcatcher/rlpdf/

* RinohType_ is a pure Python PDF Writer based on a document template and a
  style sheet (beta).

  .. _RinohType: http://pypi.python.org/pypi/RinohType/0.2.1

website generators and HTML variants
````````````````````````````````````

* The Sphinx_ Python Documentation Generator by Georg Brandl was
  originally created to translate the `Python documentation`_.
  In the meantime, there is a wide range of `Projects using Sphinx`__

  It can generate complete web sites (interlinked and indexed HTML pages),
  ePub, LaTeX, and others from a set of rST source files.
  
  .. _Sphinx: https://www.sphinx-doc.org
  __ https://www.sphinx-doc.org/en/master/examples.html

* The Nikola_ static site generator, uses reStructuredText by
  default.

  .. _nikola:  http://getnikola.com/

* Pelican_ is a static site generator (mainly for blogs). Articles/pages can
  be written in reStructuredText or Markdown_ format.

  .. _pelican: http://docs.getpelican.com

* tinkerer_ is a static bloggin framework based on Sphinx_.

  .. _tinkerer: http://tinkerer.me

* htmlnav_ by Gunnar Schwant, is an HTML writer which supports navigation
  bars.

  .. _htmlnav: https://docutils.sourceforge.io/sandbox/gschwant/htmlnav/

* rest2web_, by Michael Foord, is a tool for creating web sites with
  reStructuredText.

  .. _rest2web: http://www.voidspace.org.uk/python/rest2web/

* `html4trans <https://docutils.sourceforge.io/sandbox/html4trans/>`__
  produces XHTML conforming to the version 1.0 Transitional DTD that
  contains enough formatting information to be viewed by a lightweight HTML
  browser without CSS support.

* A `simple HTML writer`_ by Bill Bumgarner that doesn't rely on CSS
  stylesheets.

  .. _simple HTML writer: https://docutils.sourceforge.io/sandbox/bbum/DocArticle/

ePub
````

* rst2epub2_ by Matt Harrison includes the epublib (originally by Tim
  Tambin) and a rst2epub.py executable for the conversion.

  .. _rst2epub2: https://github.com/mattharrison/rst2epub2

* Sphinx_ provides ePub as output option, too.


Others
``````

* Pandoc_ is a document converter that can write Markdown_,
  reStructuredText, HTML, LaTeX, RTF, DocBook XML, and S5.
  
  .. _Pandoc: https://pandoc.org/

* restxsl_ by Michael Alyn Miller, lets you transform reStructuredText
  documents into XML/XHTML files using XSLT stylesheets.

  .. _restxsl: http://www.strangeGizmo.com/products/restxsl/

* An `XSLT script`__ by Ladislav Lhotka enables reStructuredText annotations
  to be included in RELAG NG XML schemas.

  __ http://www.cesnet.cz/doc/techzpravy/2006/rngrest/

* `DocBook Writer`_ by Oliver Rutherfurd.

  .. _DocBook Writer: https://docutils.sourceforge.io/sandbox/oliverr/docbook/

* Nabu_, written by Martin Blais, is a publishing system which
  extracts information from reStructuredText documents and stores it
  in a database.  Python knowledge is required to write extractor
  functions and to retrieve the data from the database again.
  
  .. _Nabu: https://github.com/blais/nabu

* The `pickle writer`_ by Martin Blais pickles the document tree to a binary
  string. Later unpickling will allow you to publish with other Writers.

  .. _pickle writer: https://docutils.sourceforge.io/sandbox/blais/pickle_writer/

* The `Texinfo Writer`_, by Jon Waltman converts reStructuredText to
  Texinfo, the documentation format used by the GNU project and the
  Emacs text editor.  Texinfo can be used to produce multiple output
  formats, including HTML, PDF, and Info.

  .. _Texinfo Writer: https://docutils.sourceforge.io/sandbox/texinfo-writer/README.html

* For `confluence CMS`_ see https://github.com/netresearch/rst2confluence.

  .. _confluence CMS: http://www.atlassian.com/software/confluence

* Deploying into wikis might be aided by deploy-rst_.

  .. _deploy-rst: https://github.com/netresearch/deploy-rst


Import
------

Convert other formats to reStructuredText:

* recommonmark_ is a Markdown_ (CommonMark_) parser for
  docutils originally created by Luca Barbato. 
  
  Docutils "markdown" parser (new in Docutils 0.17) is a wrapper 
  around recommonmark.
  
  .. _recommonmark: https://github.com/rtfd/recommonmark
  .. _Markdown: http://daringfireball.net/projects/markdown/syntax>
  .. _CommonMark: http://commonmark.org/


* sxw2rest_, by Trent W. Buck, converts StarOffice XML Writer (SXW)
  files to reStructuredText.

  .. _sxw2rest: http://twb.ath.cx/~twb/darcs/sxw2rest/

* xml2rst_, an XSLT stylesheet written by Stefan Merten, converts XML
  dumps of the document tree (e.g. created with rst2xml.py) back to
  reStructuredText.
  
  .. _xml2rst: http://www.merten-home.de/FreeSoftware/xml2rst/index.html

* xhtml2rest_, written by Antonios Christofides, is a simple utility
  to convert XHTML to reStructuredText.

  .. _xhtml2rest: https://docutils.sourceforge.io/sandbox/wiemann/xhtml2rest/

* DashTable_ by Gustav Klopp converts HTML tables into reStructuredText.
  Colspan and Rowspan supported!

  .. _DashTable: https://github.com/gustavklopp/DashTable

* Sphinx_ includes a `LaTeX to Rst converter
  <http://svn.python.org/projects/doctools/converter/>`__ in its source code
  (trimmed to importing the old Python docs).

* Pandoc_ can read Markdown_ and (subsets of) HTML, and LaTeX and
  export to (amongst others) reStructuredText.

* PySource_, by Tony Ibbs, is an experimental Python source Reader.
  There is some related code in David Goodger's sandbox
  (pysource_reader_) and a `Python Source Reader`_ document.

  .. _PySource: https://docutils.sourceforge.io/sandbox/tibs/pysource/
  .. _pysource_reader: https://docutils.sourceforge.io/sandbox/davidg/pysource_reader/
  .. _Python Source Reader: http://docutils.sf.net/docs/dev/pysource.html


Extensions
----------

Extend the reStructuredText syntax or the features of Docutils.
More extensions are in the `Docutils Sandbox`_.

* Beni Cherniavsky has written a generic `preprocessing module`_ for
  roles and/or directives and built preprocessors for TeX math for
  both LaTeX and HTML output on top of it.

  .. _preprocessing module: https://docutils.sourceforge.io/sandbox/cben/rolehack/

* Beni Cherniavsky maintains a Makefile_ for driving Docutils, hoping
  to handle everything one might do with Docutils.

  .. _Makefile: https://docutils.sourceforge.io/sandbox/cben/make/

* The `ASCII art to SVG converter`_ (aafigure) developed by
  Chris Liechti can parse ASCII art images, embedded in reST documents and
  output an image. This would mean that simple illustrations could be
  embedded as ASCII art in the reST source and still look nice when
  converted to e.g. HTML

  .. _ASCII art to SVG converter:
     https://docutils.sourceforge.io/sandbox/cliechti/aafigure/

* Quick and easy publishing reStructuredText source files as blog posts
  on blogger.com is possible with `rst2blogger`_ .

  .. _rst2blogger: https://github.com/dhellmann/rst2blogger#readme


Related Applications
--------------------

Applications using docutils/reStructuredText and helper applications.

* For Wikis, please see the `FAQ entry about Wikis`_.

* For Blogs (Weblogs), please see the `FAQ entry about Blogs`_.

* `Project Gutenberg`_ uses a customized version of Docutils with it's own
  xetex- and nroff-writer and epub generator.

.. _FAQ entry about Wikis: http://docutils.sf.net/FAQ.html
    #are-there-any-wikis-that-use-restructuredtext-syntax
.. _FAQ entry about Blogs: http://docutils.sf.net/FAQ.html
    #are-there-any-weblog-blog-projects-that-use-restructuredtext-syntax
.. _Project Gutenberg: http://www.gutenberg.org


Tools
`````

* rstcheck_ Checks syntax of reStructuredText and code blocks nested within
  it. (Using the Sphinx syntax "code-block" for the "code" directive.)

  .. _rstcheck: https://pypi.python.org/pypi/rstcheck

* restview_ is a viewer for ReStructuredText documents.

  Pass the name of a ReStructuredText document to restview, and it will
  launch a web server on localhost:random-port and open a web browser. It
  will also watch for changes in that file and automatically reload and
  rerender it. This is very convenient for previewing a document while
  you're editing it.

  .. _restview: http://mg.pov.lt/restview/


Development
```````````

* Sphinx_ extends the ReStructuredText syntax to better support the
  documentation of Software (and other) *projects* (but other documents
  can be written with it too).

  Since version 2.6, the `Python documentation`_ is based on
  reStructuredText and Sphinx.
  
  .. _Python documentation: http://docs.python.org/

* Trac_, a project management and bug/issue tracking system, supports
  `using reStructuredText
  <http://trac.edgewall.org/wiki/WikiRestructuredText>`__ as an
  alternative to wiki markup.

  .. _Trac: http://trac.edgewall.org/

* PyLit_ provides a bidirectional text <--> code converter for *literate
  programming with reStructuredText*.

  .. _PyLit: http://repo.or.cz/pylit.git


CMS Systems
```````````

* Plone_ and Zope_ both support reStructuredText markup.

* ZReST_, by Richard Jones, is a "ReStructuredText Document for Zope_"
  application that is complete and ready to install.

.. _Plone: http://plone.org/
.. _Zope: http://www.zope.org/
.. _ZReST: https://docutils.sourceforge.io/sandbox/richard/ZReST/


Presentations
`````````````

* rst2html5_ transform restructuredtext documents to html5 + twitter's
  bootstrap css, deck.js or reveal.js

  .. _rst2html5: https://github.com/marianoguerra/rst2html5

* landslide_ generates HTML5 slideshows from markdown, ReST, or textile.

  .. _landslide: https://github.com/adamzap/landslide

* `native support for S5 <slide-shows.s5.html>`_.

* The `PythonPoint interface`_ by Richard Jones produces PDF
  presentations using ReportLabs' PythonPoint.

  .. _PythonPoint interface:
     https://docutils.sourceforge.io/sandbox/richard/pythonpoint/

* rst2beamer_ generates a LaTeX source that uses the `Beamer` document class.
  Can be converted to PDF slides with pdfLaTeX/XeLaTeX/LuaLaTeX.

  .. _rst2beamer: https://docutils.sourceforge.io/sandbox/rst2beamer/

* InkSlide_ quick and easy presentations using Inkscape_. InkSlide uses
  reStructuredText for markup, although it renders only a subset of rst.
  
  .. _InkSlide: http://wiki.inkscape.org/wiki/index.php/InkSlide
  .. _Inkscape: http://inkscape.org/

* rst2outline_ translates a reStructuredText document to a plain text
  outline. This can then be transformed to PowerPoint.

  .. _rst2outline: https://docutils.sourceforge.io/sandbox/rst2outline/

* Pandoc_ can also be used to produce slides

