Subject: Re: Preceding list function From: Norman Walsh <ndw@xxxxxxxxxx> Date: 08 Aug 2000 15:59:47 -0400 |
/ Brandon Ibach <bibach@xxxxxxxxxxxxxx> was heard to say: | Hmm... perhaps I didn't completely understand the semantics of the | continuation feature. My assumption was that a continuation can not | span certain ancestor elements. The version of your function that I | modified demonstrated this by only searching the current component | level element's descendants for "candidate previous lists" (CPLs :). The semantics of continuation, as described by DocBook, make no assertions about continuation boundaries. I arbitrarily decided when I implemented it that going to the "component" level was far enough. | same nesting depth? If not, then the example would end up looking | like: | | 1. Group I | 1. First | 2. Second | 3. Third | Some intervening text | 2. Group II | 2. Fourth | 3. Fifth | 4. Sixth I think that's the "right" answer for the source markup you gave. | Also, on a related, but not yet discussed, issue, if the numbering | of the inner lists should be continuable, shouldn't it be possible for | the outer lists to be unordered (ie, bullets), such that you could | produce: | | o Group I | 1. First | 2. Second | 3. Third | Some intervening text | o Group II | 4. Fourth | 5. Fifth | 6. Sixth Yes, and I think that would work naturally. The continuation feature only discriminates between ancestor orderedlists and bulleted lists are itemizedlists. | Finally, and perhaps most importantly, is there something just a | little weird about the fact that I consider working this sort of stuff | out "fun"? ;) I got up at 5:00am this morning to work on it, so if you won't call me weird, I won't call you weird. And vice-versa. :-) Be seeing you, norm -- Norman Walsh <ndw@xxxxxxxxxx> | He who fails to become a giant need not http://nwalsh.com/ | remain content with being a | dwarf.--Ernest Bramah DSSSList info and archive: http://www.mulberrytech.com/dsssl/dssslist
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: Preceding list function, Brandon Ibach | Thread | Re: Preceding list function, Brandon Ibach |
Re: Preceding list function, Brandon Ibach | Date | Re: Preceding list function, Brandon Ibach |
Month |