From: G. M. <mi...@us...> - 2008-09-30 10:58:34
|
On 30.09.08, Ben Finney wrote: > I'm glad to see that Engelbert Gruber <gr...@us...> has made > available a ManPage writer for Docutils > <URL:http://docutils.sourceforge.net/sandbox/grubert/man/>. > What I don't know is how to make use of this. I don't want to hack on > the installed docutils software; There is no need to. Make sure the writer is found by Python (copy or link to a directory in the PythonPath) and place the (to be written) rst2man (or rst2man.py) frontend in your PATH for executables. > Ideally what I'd like is to have an ‘rst2man’ command that uses > Engelbert's work as a writer with the existing docutils. Did you look out (or google) for an rst2man.py already? ... > but what *is* the process? (If it *is* that simple, I'd be very happy > to be told!) I usually start with a similar front-end (rst2html, say) and add the relevant parts. See my sanbox projects (latex-variants, html4strict, html4trans, code-block-directive) as examples, they all come with a rst2*.py front-end Günter |