Hi all Thanks for this help.
[EMAIL PROTECTED] wrote: > There is an advanced RestructuredText django plugin I wrote with the > help of David Goodger: > https://svn.python.org/conference/django/trunk/pycon/markup/ That code looks useful, thanks. It will take me a while to have a look at it and see how it work.s "Chris Moffitt" <[EMAIL PROTECTED]> wrote: >>This is normal Restructured Text behaviour, although I agree it's a bit >>weird when you first see it. It's kind of a consequence of a ReST >>feature combined with us (Django) diving into the middle of the output >>processing pipeline to extract only what we need. > >Ah yes, it is the "normal behavior" but it can be configured. Take a look >here -http://docutils.sourceforge.net/docs/user/config.html >and I think you're specifically looking for this text: >"doctitle_xform > >You'll need to make this change in your /etc/docutils.conf file (or in one >of the other files it mentions). Then, it should work for you. Excellent! I didn't know it was easily configurable. I don't have a /etc/docutils.conf as docutils is just in the site-packages directory but now knowing what to look for I can see where this is set. I modified docutils/readers/standalone.py as set the value from 1 to 0 and now a lone H1 is shown :-) It's probably best to use for me to look at trying Dougs code and Jonathan Buchanan's suggestion rather than modifying the site-package. Thanks all :-) -- Michael Lake --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---