![](https://secure.gravatar.com/avatar/9820b5956634e5bbad7f4ed91a232822.jpg?s=120&d=mm&r=g)
25 Apr
2007
25 Apr
'07
1:43 p.m.
David Huard wrote:
Here is a patch to the latest docutils svn implementing the math role from Jens.
You can look at docutils/sandbox/jens/latex-math/test/test.txt for an example. Note that I changed the name of the role from latex-math to math, so you'll have to replace occurrences of latex-math by math. Then run
rst2latex test.txt | pdflatex
Excuse my ignorance, but how do I use it in a docstring ? Does epydoc uses the docutils' rest parser ? David