1 Point 1 1 Point 2 1 Point 3which displays as
1 Point 1 Good point but .... 1 Point 2 1 Point 3which displays as
20 Item 20 1 Item 21 1 Item 22(Hmmm. Looks odd.) So the previous problem get re-written as
1 Point 1 Good point but .... 2 Point 2 1 Point 3The HTML syntax for ordered lists allows the start attribute. So we can write things like
<ol start=2> and <ol start=20>So how does that appear in the Topic for the user editing? As I said:
20 Item 20 1 Item 21 1 Item 22
<cont>, to say "The 1 means numbered list, then continue the most recent list count."?
That is,
1<cont> Item 20 1 Item 21 1 Item 22Or even more briefly (for the C++ programmers in the house!):
1++ Item 20 1 Item 21 1 Item 22If you wanted the above a little less geekish, just use a single +.
-- StewStryker - 06 Jan 2003
1 Item 1. Text about item 1
Continued item 1 paragraph
2 Item 2.
a. Item 1
b. Item 2
c. Item 3
<ol type="a"> for the above example, and <ol start="i">If we want small roman numberals. So how does that appear in the Topic for the user editing?
a Item 1
a Item 2
a Item 3
a. Item 1
1 Item 1.a
a Item 2
20 Item 2.t
a Item 3
I also added this tip into WikiSyntax page.
-- PeterMasiar - 03 Jan 2003
What do you mean "Just Don't Do It"! One of the uses, here at least, of a Wiki is documenting specifications and requirements. While the original might have the items in numerical order, the change requests have lots of elisions that get written up in this form.
-- AntonAylward - 03 Jan 2003
I'm in much the same situation here. Having left my holiday-work until last minute, I've set about converting our existing information into my new TWiki for deployment next week.
The first document I come across, has numbered lists, each item having a blank-line between it and the next. I really didn't expect this to be such a problem. I guess the way I'd like it would be for the numbering to continue indefinately until it's told to restart.
For example:
1 This is the first
1 This is the second
Some other things here (and I want to align them with the paragraph above !!)
1 This is a sub heading
Some other things
1 This is another sub heading
1 This is the third
1!
Where the numbering would work as expected, in sequence, and then when it reaches the 1!, it knows that the next set of numbering should start from the beginning. I wouldn't know where to start on this though - for the time being, I'm having to use the %BR% \ workaround.
-- MichaelKearns - 03 Jan 2003
How about using the value of the first item listed as the starting point for numbers (and letters):
1 this is the first point
with an added comment
2 this is the second point, started with a "2"
2 this is the third point, started with any old number
1.a this is point 3.a started with '[number].[letter]'
1.a this is point 3.b, started with an "1.a"
results in:
with an added comment
1 Point 1
2 Point 2
3 Point 3
discussion of point 3
4 Point 4
a Point 4.a
b Point 4.b
and in doing so will make the Twiki syntax more transparent. "Good thinking, Batman!"
-- AntonAylward - 06 Jan 2003
So we are in agreement then. But I must be pedantic and note that the syntax for alphabetical ordered list must be either [number].[letter] or [letter]. .Otherwise a person starting a paragraph with " A plea to all programmers to..." will become a list item. (a first line indented paragraph is desirable in book or article writing styles).
Actually now that I think about, the separation character for a. syntax should be expanded to include comment punctuation characters: a) (a) a] [a] ...etc.
-- MattWilkie - 07 Jan 2003
I can understand why you want to be pedantic.
It comes down to this: how much context does the parser-editor carry with it?
If the parser can carry context then we can use the short form and see the long form.
However, we should not be thinking in terms of convenience for the programmer
but rather convenience for the non-programmer user. This is of paramount importance.
My point, which I state in my BetterMarkup threads, is that we want something natural for the user.
Hence we need to accompdate the people who will write:
1 Point 1
1. Point 1
1) Point 1
a Point 1.a
a) Point 1.a
a. Point 1.a
a] Point 1.a
(a) Point 1.a
[a] Point 1.a
1.a Point 1.a
1.a) Point 1.a
As Norbert Weiner pointed out over half a century ago, misquoting Lewis Carrol,
its a matter of who is to be in command, the user or the computer.
If the user can express himself freely it makes buy-in for the wiki easier.
If the user is straight-jacketed to a syntax that doens't permit easy expression
then it won't get used - or rather will only get used by the more programmer types
who will - as you and I have done to make out points - jam HTML down its throat.
Which defeats the whole purpose of the Wiki.
-- AntonAylward - 06 Jan 2003
My new user just asked for following: When breaking list with <BR> tag, I have to continue text in same line, otherwise this happens:
1 Point 1 1 Point 2 Indented comment on Point 2. Since the first non-whitespace character after a list element has the same indentation as the list element, this TWiki paragraph is associated with Point 2. So is this paragraph 1 Point 3 |Other markup | works as well| But outdented text would terminate the list 1 New listwould render something like:
Indented comment on Point 2. Since the first non-whitespace character after a list element has the same indentation as the list element, this TWiki paragraph is associated with Point 2.
So is this paragraph
| Other markup | works as well |
|---|
But outdeneted text would terminate the list
1. First Item | *1* | *2* || *3* | |^| *a* | *b* |^| 1. Second Itemproduces
| 1 | 2 | 3 | |
|---|---|---|---|
| a | b | ||
1+ or the 1<cont> notations, or anything else that permits me to put a table as part of an item in a list.
-- NickAckerley - 25 Nov 2005