On 2012-02-06, Eric Jacoboni wrote:

> I'm wondering if it's possible to configure sphinx for producing
> unnumbered versions of sectionning commands (chapter* instead of
> chapter, section* instead of section, etc.) with the LaTeX Writer.

Docutils has the "sectnum" directive that enables section numbering - i.e.
by default sections should not be numbered. (It may be the Sphinx LaTeX
writer overrides this and defaults to sectioned numbers.)

> For now, i'm editing manually the .tex files generated... but it could
> be cumbersome on big documentations...

The "starred" section commands require special commands to be included in
the ToC and to become hypertargets.

Docutils 9 (the developer version from SVN) uses a different strategy to
suppress the numbers:

The preamble command

  \setcounter{secnumdepth}{0}

It can also be specified in the config file.

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.

Reply via email to