Re: "Multiple enumeration" form for list numbering

134 views
Skip to first unread message

Guenter Milde

unread,
Jun 6, 2013, 3:15:38 AM6/6/13
to sphinx...@googlegroups.com
On 2013-06-05, Denis Sidorov wrote:

> [-- Type: text/plain, Encoding: --]

> Is it possible to make auto-enumerated list like

> 1. Point 1
> 1.1. Point 1.1
> 2. Point 2

Nested numbers in ordered lists (enumerations) are possible with a custom
style to the list.

For HTML/CSS, there are prepared CSS rules in the stylesheet of the
"html-strict" writer (in the Docutils sandbox).
http://docutils.sourceforge.net/sandbox/html4strict/
http://docutils.sourceforge.net/sandbox/html4strict/html4strict/html4css2.css

For LaTeX, have a look at the "enumitem" package.
http://www.ctan.org/pkg/enumitem

> It seems for section numbering it's
> http://docutils.sourceforge.net/docs/ref/rst/directives.html#automatic-section-numbering

This case is, however not transferable to ordinary ordered lists.

Günter

Reply all
Reply to author
Forward
0 new messages