On Tue, 2006-08-15 at 16:10 +0800, limodou wrote: > On 8/15/06, Cliff Wells <[EMAIL PROTECTED]> wrote: > > On Tue, 2006-08-15 at 16:02 +0800, limodou wrote: > > > On 8/15/06, Cliff Wells <[EMAIL PROTECTED]> wrote: > > > > Thanks for the response. Must be a bug in my version: > > > > > > Which version of docutils you are using, in my computer is good. > > > > > > u'<ol class="arabic simple">\n<li>this is a test</li>\n<li>this is > > > another line</li>\n<li>oh, screw it!</li>\n</ol>\n' > > > > >>> docutils.__version__ > > '0.3.7' > > >>> > > > Oh, the newest version is 0.4
Yeah, right after you asked, I tried 0.4, but it failed with a traceback. I ended up installing 0.3.9 and it works fine (and didn't require the list to be indented either, FWIW). For anyone who cares, the traceback with 0.4 was: Python 2.4.2 (#1, Feb 13 2006, 15:24:20) [GCC 3.3.6 (Gentoo 3.3.6, ssp-3.3.6-1.0, pie-8.7.8)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> from docutils.core import publish_parts Traceback (most recent call last): File "<stdin>", line 1, in ? File "/usr/lib/python2.4/site-packages/docutils/core.py", line 23, in ? from docutils import frontend, io, utils, readers, writers File "/usr/lib/python2.4/site-packages/docutils/readers/__init__.py", line 15, in ? from docutils.transforms import universal File "/usr/lib/python2.4/site-packages/docutils/transforms/__init__.py", line 69, in ? class Transformer(TransformSpec): File "/usr/lib/python2.4/site-packages/docutils/transforms/__init__.py", line 78, in Transformer default_transforms = (universal.Decorations, AttributeError: 'module' object has no attribute 'FinalChecks' Regards, Cliff -- -- http://mail.python.org/mailman/listinfo/python-list