[ruby-talk:00803] Re: Summary of discussion about RD (Re: Docum entation about RD?)
From:
Toshiro Kuwabara <toshirok@...3.so-net.ne.jp>
Date:
1999-09-08 15:29:02 UTC
List:
ruby-talk #803
Hi,
> without much thinking, I would define these rules:
>
> (1) Every list has its baseline.
> (2) Every line beginning at the base, belongs to that list.
> (3) Every line, that is indented concerning the list's base,
> belongs also to that list, but has to be taken verbatim.
> (4) Whenever a line is detended concerning that base, it
> doesn't belongs to that list anymore.
>
> That means:
>
> | <- base of list (I)
>
> | <- base of list (II)
> Then this line belongs to the list (II), because (2)
> This line too, but verbatim (3)
>
> This line doesn't belongs to (II), because (4). But, however,
> because (3) it belongs to (I) *and* has to be taken verbatim.
>
> This line belongs to (I), because (2).
>
> But this line doesn't belongs to (I) anymore [reason (4)], but has to
> be handled as normal TextElement, as there is no any list anymore. As
> such it has to be taken verbatim!
>
> Perhaps these four rules are not too difficult, but powerful enough?
>
> Opinions?
How about sub list?
We have to write sub list item according to same baseline of text?
Example:
* |Top list ("|" is baseline of text)
* |sub list
* sub sub list
* |sub list (item 2)
The mark("*") of sub list have to be same indent of baseline of text
which belongs a item of super(parent) list.
I sometimes want to write like:
* Top list
* sub list
* sub sub list
* sub list (item 2)
And I find another problem:
* |Top list ("|" is baseline)
verbatim in Top list
* Is This Line Sub List? or Verbatim?
* ...
---
Tosh