Hi all,

I tried posting the other day, don't know if I didn't submit, but
looks like other posts have been moderated since then so if it was
excluded for a reason please email me so I can do it right.

In any case, I'm trying to get numbered headings across several
documents.

An index.rst grabs some other files also named index.rst, which
include some user_doc.rst's. toctree depth set and the pdf builds fine
showing all of the documents.

In the docutils documentation the Automatic Section Numbering
http://docutils.sourceforge.net/docs/ref/rst/directives.html#sectnum
leads me to believe that I should be able to use 'start :'  and
'prefix :' to manually set the prefix across the different files.

This would mean that I can do numbering across all of the files and
have it increment the first number (2.blah.blah) instead of just
having 1.blah.blah over and over again.

Currently in the top level index.rst I have ".. sectnum start:2::".
Then in the lower ones I have eg. ".. sectnum prefix:'1.'::". Each of
the lower index.rst's has this which should activate section numbering
for the files underneath that index, and manually set the prefix.
Right?

It is simply coming up with no numbering whatsoever. Are my usage of
the options 'start' and 'prefix' correct? The docutils documentation
does not really tell me how to set it out.

I'm using Sphinx-1.0.7.2.

I am new to posting on these sites and just a student engineer at
work, I have tried to give all the information without babbling on too
much. Please let me know if I need to give more info or if I can
improve in any way.

Cheers for any help

-- 
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.

Reply via email to