Rendering of reStructured text is not possible, please install Docutils.

.. contents::

reStructuredText_ is an easy-to-read, what-you-see-is-what-you-get plaintext markup syntax and parser system. It is useful for in-line program documentation (such as Python docstrings), for quickly creating simple web pages, and for stand-alone documents. !ReStructuredText is designed for extensibility for specific application domains. reStructuredText_ is a revision and re-interpretation of the !StructuredText and Setext lightweight markup systems.

* reStructuredText_
* `Quick Reference`__
* Docutils_


WinEdt shortcuts
Suppose docutils is installed properly in ::

and the docutils tools are copied to ::


In WinEdit, add a Macro menu item, with *Macro* as::
 WinExe('','python C:\Python23\Lib\site-packages\docutils\tools\ "%n%t" "%n_reST.tex" ','%p','reST to LaTeX',1110,0,'', '', '%N.log'); CMD("Errors...");

and *Require File Filter* as::


tick "Requires a Document" and "Save Input File to Disk". Then we are done.

Start a reST file with an .txt extenstion, say watever.txt, and run the macro from the menu, the generated LaTeX file whatever_reST.tex is ready to fly.

.. _reStructuredText:
.. _Docutils:

JunHu: JunHu/Memo/ReStructuredText (last edited 2008-10-03 20:19:42 by localhost)