Jens Jørgen Mortensen wrote:
On Sat, 2006-12-09 at 21:52 -0500, Alan G Isaac wrote:
On Sat, 9 Dec 2006, Jonathan Guyer apparently wrote:
I see my confusion. I'd gotten the sandbox via svn along with docutils HEAD, and it doesn't work with that (it throws an error deep within docutils). I switched to docutils-0.4 and it seems fine.
This problem that docutils SVN head creates for the latex-math module in the sandbox should interest the docutils developers and perhaps the latex-math developer (Jens Jørgen Mortensen), so I'll forward your comment to the docutils list. You may wish to follow-up with any useful details.
The problem was that I registered the latex-math directive in an old- fashioned way that did not work with new docutils versions. I fixed it in svn so that it should work with both old and new versions. I also changed the name of the rst2latex.py script to rst2latexmath.py.
I'm interested in playing with this. I grabbed the current docutils svn, but it doesn't seem to work: rst2latex.py README.txt > stuff README.txt:1: (ERROR/3) Unknown interpreted text role "latex-math". .. default-role:: latex-math I don't know anything about rest or docutils, any hints?