On 2011-02-28, werner wrote: > On 28/02/2011 10:44, Guenter Milde wrote: >> On 2011-02-26, werner wrote: >>> On 26/02/2011 22:25, Guenter Milde wrote: >>> ... >>>>> This is with Sphinx 1.0.7 on Windows 7 and Python 2.6.5 >>>> There has been work on a similar problem with the Docutils parser (used >>>> by Sphinx). What is the Docutils version? >>> 0.7 >> This is up-to-date, so it seems to point to a still existing system.
>> Could you try to provide a minimal standalone rst source that shows >> the problem with Docutils (rst2html.py, say)? > I get this with rst2html: > C:\dev\aaTests\sphinxTest\source>\python26\python > C:\Python26\Lib\site-packages\rst2html.py index.rst index.html > index.rst:149: (ERROR/3) Unknown interpreted text role "ref". > index.rst:150: (ERROR/3) Unknown interpreted text role "ref". ... Yes, the :ref: role is a Sphinx extension, so if the line numbers are correct, this is intended behaviour. > Where as with Sphinx on the same files I get: > C:\dev\aaTests\sphinxTest\source\index.rst:278: WARNING: undefined > label: dabo.dapp (if the link has no caption the label must precede a > section header) > C:\dev\aaTests\sphinxTest\source\index.rst:279: WARNING: undefined > label: dabo.dobject (if the link has no caption the label must precede a > section header) ... It seems like the fix for line-numbers with/after included files was not ported to the Sphinx extensions to Docutils. I suggest to report this bug to the Sphinx bug tracker. Günter -- You received this message because you are subscribed to the Google Groups "sphinx-dev" group. To post to this group, send email to sphinx-dev@googlegroups.com. To unsubscribe from this group, send email to sphinx-dev+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/sphinx-dev?hl=en.