1470
Comment:
|
← Revision 9 as of 2008-10-03 20:19:42 ⇥
1470
converted to 1.6 markup
|
No differences found! |
.. 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. Links ===== * reStructuredText_ * `Quick Reference`__ * Docutils_ __ http://docutils.sourceforge.net/docs/user/rst/quickref.html WinEdt shortcuts ================ Suppose docutils is installed properly in :: C:\Python23\Lib\site-packages\docutils and the docutils tools are copied to :: C:\Python23\Lib\site-packages\docutils\tools In WinEdit, add a Macro menu item, with *Macro* as:: WinExe('','python C:\Python23\Lib\site-packages\docutils\tools\rst2latex.py "%n%t" "%n_reST.tex" ','%p','reST to LaTeX',1110,0,'', '', '%N.log'); CMD("Errors..."); and *Require File Filter* as:: %p\%n.txt 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: http://docutils.sourceforge.net/rst.html .. _Docutils: http://docutils.sourceforge.net/