[Zope] reStructuredText rendering from commandline

Samir Mishra SamirMishra at cbuae.gov.ae
Tue Sep 30 04:47:51 EDT 2003


Installed docutils, don't see the file you mention in the install. Only
'html.py' I have is docutils/parsers/rst/directives/html.py and
docutils/writers/html.py. 

Were you referring to one of these files?

Thanks.


-----Original Message-----
From: Ng Pheng Siong [mailto:ngps at netmemetic.com]
Sent: Tuesday, September 30, 2003 10:12
To: Samir Mishra
Cc: 'zope at zope.org'
Subject: Re: [Zope] reStructuredText rendering from commandline


On Tue, Sep 30, 2003 at 08:50:19AM +0400, Samir Mishra wrote:
> I would like to create an external script, call it reStr, obviously
> Pythonic,  such that, on a command line - 
> 
> $ reStr some-text-file.txt > some-rendered-html.html
> 
> will give me a file that users can view and publish from outside Zope. 

docutils-0.3/tools/html.py

Turns your restructured text file into html.


-- 
Ng Pheng Siong <ngps at netmemetic.com> 

http://firewall.rulemaker.net  -+- Manage Your Firewall Rulebase Changes
http://sandbox.rulemaker.net/ngps -+- Open Source Python Crypto & SSL



More information about the Zope mailing list