diff options
| author | goodger <goodger@929543f6-e4f2-0310-98a6-ba3bd3dd1d04> | 2002-04-25 03:34:48 +0000 |
|---|---|---|
| committer | goodger <goodger@929543f6-e4f2-0310-98a6-ba3bd3dd1d04> | 2002-04-25 03:34:48 +0000 |
| commit | 04800363bce6890f4f39e15f4fa1050d96d81092 (patch) | |
| tree | 83b14dc8aae16164dac1b6ebfc86c9f94a12b3d7 /docutils/docs | |
| parent | d1bdad6d5efcafe8eb4ad52930c494fb164d3f3c (diff) | |
| download | docutils-04800363bce6890f4f39e15f4fa1050d96d81092.tar.gz | |
Expanded auto-numbered enumerated list idea; thanks to Fred Bremmer.
git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@40 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
Diffstat (limited to 'docutils/docs')
| -rw-r--r-- | docutils/docs/dev/rst/alternatives.txt | 47 |
1 files changed, 38 insertions, 9 deletions
diff --git a/docutils/docs/dev/rst/alternatives.txt b/docutils/docs/dev/rst/alternatives.txt index 9bbe9a2f1..f8fc35623 100644 --- a/docutils/docs/dev/rst/alternatives.txt +++ b/docutils/docs/dev/rst/alternatives.txt @@ -41,18 +41,47 @@ allow for nested enumerated lists without indentation? Auto-Numbered Enumerated Lists ------------------------------ -Add these? Example:: +The advantage of auto-numbered enumerated lists would be similar to +auto-numbered footnotes: no manual renumbering would be required. The +disadvantages are also the same: input and output don't match exactly; +the markup may be ugly. - #. Item 1. - #. Item 2. - #. Item 3. +1. Use the "#" symbol. Example:: -Arabic numerals only, or any sequence if first initialized? For -example:: + #. Item 1. + #. Item 2. + #. Item 3. - a) Item a. - #) Item b. - #) Item c. + Advantage: simple, explicit. Disadvantage: only one enumeration + sequence (arabic numerals), a bit ugly. + +2. As a variation on #1, first initialize the enumeration sequence? + For example:: + + a) Item a. + #) Item b. + #) Item c. + + Advantages: simple, explicit, any enumeration sequence possible. + Disadvantages: a bit ugly. + +3. Alternative suggested by Fred Bremmer, from experience with MoinMoin:: + + 1. Item 1. + 1. Item 2. + 1. Item 3. + + Advantages: enumeration sequence is explicit (could be 'a.' or + '(I)'). Disadvantage: otherwise erroneous input (e.g., a duplicate + item 1) would pass silently, either causing a problem later in the + list (if no blank lines between items) or creating two lists (with + blanks):: + + 1. Item 1. + + 1. Unintentional duplicate of item 1. + + 2. Item 2. Sloppy Indentation of List Items |
