| 1 |
===================== |
| 2 |
Docutils_ Link List |
| 3 |
===================== |
| 4 |
|
| 5 |
:Author: Lea Wiemann, the Docutils team |
| 6 |
:Contact: [email protected] |
| 7 |
:Revision: $Revision$ |
| 8 |
:Date: $Date$ |
| 9 |
:Copyright: This document has been placed in the public domain. |
| 10 |
|
| 11 |
.. title:: Docutils Links |
| 12 |
|
| 13 |
.. contents:: |
| 14 |
|
| 15 |
This document contains links users of Docutils and reStructuredText |
| 16 |
may find useful. Many of the projects |
| 17 |
listed here are hosted in the `Docutils Sandbox`_. If you have |
| 18 |
something to publish, you can get write access, too! |
| 19 |
|
| 20 |
The most current version of this link list can always be found at |
| 21 |
https://docutils.sourceforge.io/docs/user/links.html. |
| 22 |
|
| 23 |
.. _Docutils: https://docutils.sourceforge.io/ |
| 24 |
.. _Docutils Sandbox: https://docutils.sourceforge.io/sandbox/README.html |
| 25 |
|
| 26 |
|
| 27 |
Editors |
| 28 |
------- |
| 29 |
|
| 30 |
Advanced text editors with reStructuredText support, IDEs, and docutils GUIs: |
| 31 |
|
| 32 |
* Emacs `rst mode <https://docutils.sourceforge.io/tools/editors/emacs>`__. |
| 33 |
|
| 34 |
* `Vim <https://www.vim.org/index.php>`__: |
| 35 |
|
| 36 |
- `reStructuredText syntax highlighting mode |
| 37 |
<https://www.vim.org/scripts/script.php?script_id=973>`__, |
| 38 |
|
| 39 |
- `VST <https://www.vim.org/scripts/script.php?script_id=1334>`__ (Vim |
| 40 |
reStructuredText) plugin for Vim7 with folding. |
| 41 |
|
| 42 |
- `VOoM <https://www.vim.org/scripts/script.php?script_id=2657>`__ |
| 43 |
plugin for Vim that emulates two-pane outliner with |
| 44 |
support for reStructuredText (since version 4.0b2). |
| 45 |
|
| 46 |
- `Riv: Take notes in rst <https://github.com/Rykka/riv.vim>`__ Vim |
| 47 |
plugin to take notes in reStructured text. |
| 48 |
|
| 49 |
* `reStructuredText Language Support for Visual Studio Code`__ |
| 50 |
|
| 51 |
__ https://github.com/vscode-restructuredtext/vscode-restructuredtext |
| 52 |
|
| 53 |
* `reStructuredText editor plug-in for Eclipse`__ |
| 54 |
|
| 55 |
__ http://resteditor.sourceforge.net/ |
| 56 |
|
| 57 |
* `JED <https://www.jedsoft.org/jed/>`__ programmers editor with |
| 58 |
`rst mode <httpss://jedmodes.sourceforge.io/mode/rst/>`__ |
| 59 |
|
| 60 |
* Gnome's gedit offers syntax highlighting and a reST preview pane. |
| 61 |
|
| 62 |
Latest version of the plugin is available from `bittner @ github`_ |
| 63 |
(See also: `Gedit third party plugins`__). |
| 64 |
|
| 65 |
.. _bittner @ github: https://github.com/bittner/gedit-reST-plugin |
| 66 |
__ https://wiki.gnome.org/Apps/Gedit/ThirdPartyPlugins-v3.8 |
| 67 |
|
| 68 |
|
| 69 |
* Gunnar Schwant's DocFactory_ is a wxPython GUI application for |
| 70 |
Docutils. |
| 71 |
|
| 72 |
.. _DocFactory: https://docutils.sourceforge.io/sandbox/gschwant/docfactory/doc/ |
| 73 |
|
| 74 |
* ReSTedit_ by Bill Bumgarner is a Docutils GUI for Mac OS X. |
| 75 |
|
| 76 |
.. _ReSTedit: https://svn.red-bean.com/restedit/trunk/README.html |
| 77 |
|
| 78 |
* `ReText <https://pypi.org/project/ReText/>`_ is a simple but powerful |
| 79 |
editor for Markdown and reStructuredText markup languages. |
| 80 |
It is written in Python using PyQt libraries. |
| 81 |
|
| 82 |
* Leo_ is an outliner_, written in Python using PyQt. It can be used as IDE |
| 83 |
for literal programming, as a filing cabinet holding any kind of data and |
| 84 |
as `document editor`__ with outlines containing reStructuredText markup. |
| 85 |
|
| 86 |
.. _Leo: https://leoeditor.com/ |
| 87 |
.. _outliner: https://en.wikipedia.org/wiki/Outliner |
| 88 |
__ https://leoeditor.com/tutorial-rst3.html |
| 89 |
|
| 90 |
* `NoTex <https://notex.ch>`_ is a browser-based reStructuredText editor |
| 91 |
with syntax highlighting and PDF/HTML export functionality using Sphinx. |
| 92 |
|
| 93 |
* `rsted <https://github.com/anru/rsted>`_ is a "simple online editor for |
| 94 |
reStructuredText on Flask". You can try it on http://rst.ninjs.org/ |
| 95 |
|
| 96 |
|
| 97 |
Export |
| 98 |
------ |
| 99 |
|
| 100 |
Projects providing additional export routes. |
| 101 |
|
| 102 |
PDF |
| 103 |
``` |
| 104 |
|
| 105 |
* `rst2pdf (reportlab)`__ is a tool to go directly from |
| 106 |
reStructuredText to PDF, via ReportLab__. No LaTeX installation |
| 107 |
is required. |
| 108 |
|
| 109 |
__ https://pypi.org/project/rst2pdf/ |
| 110 |
__ https://pypi.org/project/reportlab/ |
| 111 |
|
| 112 |
* `rst2pdf (pdflatex)`__ by Martin Blais is a minimal front end |
| 113 |
producing LaTeX, compiling the LaTeX file, getting the produced |
| 114 |
output to the destination location and finally deleting all the |
| 115 |
messy temporary files that this process generates. |
| 116 |
|
| 117 |
__ https://docutils.sourceforge.io/sandbox/blais/rst2pdf/ |
| 118 |
|
| 119 |
* `rst2pdf (rubber)`__ is a front end for the generation of PDF |
| 120 |
documents from a reStructuredText source via LaTeX in one step |
| 121 |
cleaning up intermediate files. It uses the rubber__ Python wrapper |
| 122 |
for LaTeX and friends. |
| 123 |
|
| 124 |
__ https://docutils.sourceforge.io/sandbox/rst2pdf/README.html |
| 125 |
__ https://launchpad.net/rubber |
| 126 |
|
| 127 |
* rlpdf_ is another PDF Writer based on ReportLabs. |
| 128 |
|
| 129 |
.. _rlpdf: https://docutils.sourceforge.io/sandbox/dreamcatcher/rlpdf/ |
| 130 |
|
| 131 |
* RinohType_ is a pure Python PDF Writer based on a document template and a |
| 132 |
style sheet (beta). |
| 133 |
|
| 134 |
.. _RinohType: https://pypi.python.org/pypi/RinohType |
| 135 |
|
| 136 |
website generators and HTML variants |
| 137 |
```````````````````````````````````` |
| 138 |
|
| 139 |
* The Sphinx_ Python Documentation Generator by Georg Brandl was |
| 140 |
originally created to translate the `Python documentation`_. |
| 141 |
In the meantime, there is a wide range of `Projects using Sphinx`__ |
| 142 |
|
| 143 |
It can generate complete web sites (interlinked and indexed HTML pages), |
| 144 |
ePub, LaTeX, and others from a set of rST source files. |
| 145 |
|
| 146 |
.. _Sphinx: https://www.sphinx-doc.org |
| 147 |
__ https://www.sphinx-doc.org/en/master/examples.html |
| 148 |
|
| 149 |
* The Nikola_ static site generator, uses reStructuredText by |
| 150 |
default. |
| 151 |
|
| 152 |
.. _nikola: https://getnikola.com/ |
| 153 |
|
| 154 |
* Pelican_ is a static site generator (mainly for blogs). Articles/pages can |
| 155 |
be written in reStructuredText or Markdown_ format. |
| 156 |
|
| 157 |
.. _pelican: https://docs.getpelican.com |
| 158 |
|
| 159 |
* tinkerer_ is a static bloggin framework based on Sphinx_. |
| 160 |
|
| 161 |
.. _tinkerer: https://pypi.org/project/Tinkerer/ |
| 162 |
|
| 163 |
* htmlnav_ by Gunnar Schwant, is an HTML writer which supports navigation |
| 164 |
bars. |
| 165 |
|
| 166 |
.. _htmlnav: https://docutils.sourceforge.io/sandbox/gschwant/htmlnav/ |
| 167 |
|
| 168 |
* rest2web, by Michael Foord, is a tool for creating web sites with |
| 169 |
reStructuredText. Development stalled, there is a fork at |
| 170 |
https://gitlab.com/wavexx/rest2web |
| 171 |
|
| 172 |
* `html4trans <https://docutils.sourceforge.io/sandbox/html4trans/>`__ |
| 173 |
produces XHTML conforming to the version 1.0 Transitional DTD that |
| 174 |
contains enough formatting information to be viewed by a lightweight HTML |
| 175 |
browser without CSS support. |
| 176 |
|
| 177 |
* A `simple HTML writer`_ by Bill Bumgarner that doesn't rely on CSS |
| 178 |
stylesheets. |
| 179 |
|
| 180 |
.. _simple HTML writer: https://docutils.sourceforge.io/sandbox/bbum/DocArticle/ |
| 181 |
|
| 182 |
ePub |
| 183 |
```` |
| 184 |
|
| 185 |
* rst2epub2_ by Matt Harrison includes the epublib (originally by Tim |
| 186 |
Tambin) and a rst2epub.py executable for the conversion. |
| 187 |
|
| 188 |
.. _rst2epub2: https://github.com/mattharrison/rst2epub2 |
| 189 |
|
| 190 |
* Sphinx_ provides ePub as output option, too. |
| 191 |
|
| 192 |
|
| 193 |
Others |
| 194 |
`````` |
| 195 |
|
| 196 |
* Pandoc_ is a document converter that can write Markdown_, |
| 197 |
reStructuredText, HTML, LaTeX, RTF, DocBook XML, and S5. |
| 198 |
|
| 199 |
.. _Pandoc: https://pandoc.org/ |
| 200 |
|
| 201 |
* restxsl_ by Michael Alyn Miller, lets you transform reStructuredText |
| 202 |
documents into XML/XHTML files using XSLT stylesheets. |
| 203 |
|
| 204 |
.. _restxsl: http://www.strangeGizmo.com/products/restxsl/ |
| 205 |
|
| 206 |
* An `XSLT script`__ by Ladislav Lhotka enables reStructuredText annotations |
| 207 |
to be included in RELAG NG XML schemas. |
| 208 |
|
| 209 |
__ https://www.cesnet.cz/doc/techzpravy/2006/rngrest/ |
| 210 |
|
| 211 |
* `DocBook Writer`_ by Oliver Rutherfurd. |
| 212 |
|
| 213 |
.. _DocBook Writer: https://docutils.sourceforge.io/sandbox/oliverr/docbook/ |
| 214 |
|
| 215 |
* Nabu_, written by Martin Blais, is a publishing system which |
| 216 |
extracts information from reStructuredText documents and stores it |
| 217 |
in a database. Python knowledge is required to write extractor |
| 218 |
functions and to retrieve the data from the database again. |
| 219 |
|
| 220 |
.. _Nabu: https://github.com/blais/nabu |
| 221 |
|
| 222 |
* The `pickle writer`_ by Martin Blais pickles the document tree to a binary |
| 223 |
string. Later unpickling will allow you to publish with other Writers. |
| 224 |
|
| 225 |
.. _pickle writer: https://docutils.sourceforge.io/sandbox/blais/pickle_writer/ |
| 226 |
|
| 227 |
* The `Texinfo Writer`_, by Jon Waltman converts reStructuredText to |
| 228 |
Texinfo, the documentation format used by the GNU project and the |
| 229 |
Emacs text editor. Texinfo can be used to produce multiple output |
| 230 |
formats, including HTML, PDF, and Info. |
| 231 |
|
| 232 |
.. _Texinfo Writer: https://docutils.sourceforge.io/sandbox/texinfo-writer/README.html |
| 233 |
|
| 234 |
* For `confluence CMS`_ see https://github.com/netresearch/rst2confluence. |
| 235 |
|
| 236 |
.. _confluence CMS: https://www.atlassian.com/software/confluence |
| 237 |
|
| 238 |
* Deploying into wikis might be aided by deploy-rst_. |
| 239 |
|
| 240 |
.. _deploy-rst: https://github.com/netresearch/deploy-rst |
| 241 |
|
| 242 |
|
| 243 |
Import |
| 244 |
------ |
| 245 |
|
| 246 |
Convert other formats to reStructuredText: |
| 247 |
|
| 248 |
* recommonmark_ is a Markdown_ (CommonMark_) parser for |
| 249 |
docutils originally created by Luca Barbato. |
| 250 |
|
| 251 |
Docutils "markdown" parser (new in Docutils 0.17) is a wrapper |
| 252 |
around recommonmark. |
| 253 |
|
| 254 |
.. _recommonmark: https://github.com/rtfd/recommonmark |
| 255 |
.. _Markdown: https://daringfireball.net/projects/markdown/syntax |
| 256 |
.. _CommonMark: https://commonmark.org/ |
| 257 |
|
| 258 |
|
| 259 |
* sxw2rest_, by Trent W. Buck, converts StarOffice XML Writer (SXW) |
| 260 |
files to reStructuredText. (link down) |
| 261 |
|
| 262 |
.. _sxw2rest: https://twb.ath.cx/~twb/darcs/sxw2rest/ |
| 263 |
|
| 264 |
* xml2rst_, an XSLT stylesheet written by Stefan Merten, converts XML |
| 265 |
dumps of the document tree (e.g. created with rst2xml.py) back to |
| 266 |
reStructuredText. |
| 267 |
|
| 268 |
.. _xml2rst: http://www.merten-home.de/FreeSoftware/xml2rst/index.html |
| 269 |
|
| 270 |
* xhtml2rest_, written by Antonios Christofides, is a simple utility |
| 271 |
to convert XHTML to reStructuredText. |
| 272 |
|
| 273 |
.. _xhtml2rest: https://docutils.sourceforge.io/sandbox/wiemann/xhtml2rest/ |
| 274 |
|
| 275 |
* DashTable_ by Gustav Klopp converts HTML tables into reStructuredText. |
| 276 |
Colspan and Rowspan supported! |
| 277 |
|
| 278 |
.. _DashTable: https://github.com/gustavklopp/DashTable |
| 279 |
|
| 280 |
* Sphinx_ includes a `LaTeX to Rst converter |
| 281 |
<https://svn.python.org/projects/doctools/converter/>`__ in its source code |
| 282 |
(trimmed to importing the old Python docs). |
| 283 |
|
| 284 |
* Pandoc_ can read Markdown_ and (subsets of) HTML, and LaTeX and |
| 285 |
export to (amongst others) reStructuredText. |
| 286 |
|
| 287 |
* PySource_, by Tony Ibbs, is an experimental Python source Reader. |
| 288 |
There is some related code in David Goodger's sandbox |
| 289 |
(pysource_reader_) and a `Python Source Reader`_ document. |
| 290 |
|
| 291 |
.. _PySource: https://docutils.sourceforge.io/sandbox/tibs/pysource/ |
| 292 |
.. _pysource_reader: https://docutils.sourceforge.io/sandbox/davidg/pysource_reader/ |
| 293 |
.. _Python Source Reader: https://docutils.sourceforge.io/docs/dev/pysource.html |
| 294 |
|
| 295 |
|
| 296 |
Extensions |
| 297 |
---------- |
| 298 |
|
| 299 |
Extend the reStructuredText syntax or the features of Docutils. |
| 300 |
More extensions are in the `Docutils Sandbox`_. |
| 301 |
|
| 302 |
* Beni Cherniavsky has written a generic `preprocessing module`_ for |
| 303 |
roles and/or directives and built preprocessors for TeX math for |
| 304 |
both LaTeX and HTML output on top of it. |
| 305 |
|
| 306 |
.. _preprocessing module: https://docutils.sourceforge.io/sandbox/cben/rolehack/ |
| 307 |
|
| 308 |
* Beni Cherniavsky maintains a Makefile_ for driving Docutils, hoping |
| 309 |
to handle everything one might do with Docutils. |
| 310 |
|
| 311 |
.. _Makefile: https://docutils.sourceforge.io/sandbox/cben/make/ |
| 312 |
|
| 313 |
* The `ASCII art to SVG converter`_ (aafigure) developed by |
| 314 |
Chris Liechti can parse ASCII art images, embedded in reST documents and |
| 315 |
output an image. This would mean that simple illustrations could be |
| 316 |
embedded as ASCII art in the reST source and still look nice when |
| 317 |
converted to e.g. HTML |
| 318 |
|
| 319 |
.. _ASCII art to SVG converter: |
| 320 |
https://docutils.sourceforge.io/sandbox/cliechti/aafigure/ |
| 321 |
|
| 322 |
* Quick and easy publishing reStructuredText source files as blog posts |
| 323 |
on blogger.com is possible with `rst2blogger`_ . |
| 324 |
|
| 325 |
.. _rst2blogger: https://github.com/dhellmann/rst2blogger#readme |
| 326 |
|
| 327 |
|
| 328 |
Related Applications |
| 329 |
-------------------- |
| 330 |
|
| 331 |
Applications using docutils/reStructuredText and helper applications. |
| 332 |
|
| 333 |
* For Wikis, please see the `FAQ entry about Wikis`_. |
| 334 |
|
| 335 |
* For Blogs (Weblogs), please see the `FAQ entry about Blogs`_. |
| 336 |
|
| 337 |
* `Project Gutenberg`_ uses Docutils for its "ebookmaker_" |
| 338 |
xetex, nroff, and epub generator (with some `extensions to rST`__). |
| 339 |
|
| 340 |
__ http://pgrst.pglaf.org/publish/181/181-h.html |
| 341 |
|
| 342 |
|
| 343 |
* Text-Restructured_ at CPAN is a set of modules to parse |
| 344 |
reStructuredText documents and output them in various formats written |
| 345 |
in Perl_. |
| 346 |
Up to January 2021, the sources were stored in the Docutils repository_. |
| 347 |
After long inactivity (the last commit was r6498__ |
| 348 |
2010-12-08), ``trunk/prest/`` was moved to the attic. |
| 349 |
|
| 350 |
__ https://sourceforge.net/p/docutils/code/6498/ |
| 351 |
|
| 352 |
.. _FAQ entry about Wikis: http://docutils.sf.net/FAQ.html |
| 353 |
#are-there-any-wikis-that-use-restructuredtext-syntax |
| 354 |
.. _FAQ entry about Blogs: https://docutils.sourceforge.io/FAQ.html |
| 355 |
#are-there-any-weblog-blog-projects-that-use-restructuredtext-syntax |
| 356 |
.. _Project Gutenberg: http://www.gutenberg.org |
| 357 |
.. _ebookmaker: https://pypi.org/project/ebookmaker/ |
| 358 |
.. _Perl: https://www.perl.org |
| 359 |
.. _Text-Restructured: https://metacpan.org/dist/Text-Restructured |
| 360 |
.. _repository: ../dev/repository.html |
| 361 |
|
| 362 |
Tools |
| 363 |
````` |
| 364 |
|
| 365 |
* rstcheck_ Checks syntax of reStructuredText and code blocks nested within |
| 366 |
it. (Using the Sphinx syntax "code-block" for the "code" directive.) |
| 367 |
|
| 368 |
.. _rstcheck: https://pypi.python.org/pypi/rstcheck |
| 369 |
|
| 370 |
* restview_ is a viewer for ReStructuredText documents. |
| 371 |
|
| 372 |
Pass the name of a ReStructuredText document to restview, and it will |
| 373 |
launch a web server on localhost:random-port and open a web browser. It |
| 374 |
will also watch for changes in that file and automatically reload and |
| 375 |
rerender it. This is very convenient for previewing a document while |
| 376 |
you're editing it. |
| 377 |
|
| 378 |
.. _restview: https://mg.pov.lt/restview/ |
| 379 |
|
| 380 |
|
| 381 |
Development |
| 382 |
``````````` |
| 383 |
|
| 384 |
* Sphinx_ extends the ReStructuredText syntax to better support the |
| 385 |
documentation of Software (and other) *projects* (but other documents |
| 386 |
can be written with it too). |
| 387 |
|
| 388 |
The `Python documentation`_ is based on reStructuredText and Sphinx. |
| 389 |
|
| 390 |
.. _Python documentation: https://docs.python.org/ |
| 391 |
|
| 392 |
* Trac_, a project management and bug/issue tracking system, supports |
| 393 |
`using reStructuredText |
| 394 |
<https://trac.edgewall.org/wiki/WikiRestructuredText>`__ as an |
| 395 |
alternative to wiki markup. |
| 396 |
|
| 397 |
.. _Trac: https://trac.edgewall.org/ |
| 398 |
|
| 399 |
* PyLit_ provides a bidirectional text <--> code converter for *literate |
| 400 |
programming with reStructuredText*. |
| 401 |
|
| 402 |
.. _PyLit: https://repo.or.cz/pylit.git |
| 403 |
|
| 404 |
|
| 405 |
CMS Systems |
| 406 |
``````````` |
| 407 |
|
| 408 |
* Plone_ and Zope_ both support reStructuredText markup. |
| 409 |
|
| 410 |
* ZReST_, by Richard Jones, is a "ReStructuredText Document for Zope_" |
| 411 |
application that is complete and ready to install. |
| 412 |
|
| 413 |
.. _Plone: https://plone.org/ |
| 414 |
.. _Zope: https://www.zope.dev/ |
| 415 |
.. _ZReST: https://docutils.sourceforge.io/sandbox/richard/ZReST/ |
| 416 |
|
| 417 |
|
| 418 |
Presentations |
| 419 |
````````````` |
| 420 |
|
| 421 |
* rst2html5_ transform restructuredtext documents to html5 + twitter's |
| 422 |
bootstrap css, deck.js or reveal.js |
| 423 |
|
| 424 |
.. _rst2html5: https://github.com/marianoguerra/rst2html5 |
| 425 |
|
| 426 |
* landslide_ generates HTML5 slideshows from markdown, ReST, or textile. |
| 427 |
|
| 428 |
.. _landslide: https://github.com/adamzap/landslide |
| 429 |
|
| 430 |
* `native support for S5 <slide-shows.s5.html>`_. |
| 431 |
|
| 432 |
* The `PythonPoint interface`_ by Richard Jones produces PDF |
| 433 |
presentations using ReportLabs' PythonPoint. |
| 434 |
|
| 435 |
.. _PythonPoint interface: |
| 436 |
https://docutils.sourceforge.io/sandbox/richard/pythonpoint/ |
| 437 |
|
| 438 |
* rst2beamer_ generates a LaTeX source that uses the `Beamer` document class. |
| 439 |
Can be converted to PDF slides with pdfLaTeX/XeLaTeX/LuaLaTeX. |
| 440 |
|
| 441 |
.. _rst2beamer: https://docutils.sourceforge.io/sandbox/rst2beamer/ |
| 442 |
|
| 443 |
* InkSlide_ quick and easy presentations using Inkscape_. InkSlide uses |
| 444 |
reStructuredText for markup, although it renders only a subset of rst. |
| 445 |
|
| 446 |
.. _InkSlide: http://wiki.inkscape.org/wiki/index.php/InkSlide |
| 447 |
.. _Inkscape: http://inkscape.org/ |
| 448 |
|
| 449 |
* rst2outline_ translates a reStructuredText document to a plain text |
| 450 |
outline. This can then be transformed to PowerPoint. |
| 451 |
|
| 452 |
.. _rst2outline: https://docutils.sourceforge.io/sandbox/rst2outline/ |
| 453 |
|
| 454 |
* Pandoc_ can also be used to produce slides |