> 4. Re: Breaking a numbered list? (Tony C.) >I've run into this, too, and the solution provided is less than >optimal. > >It's not always easy to know what that resuming number should be; and >more likely, someone someday will add an item to the preceding portion >of the list and not notice or forget the "value=". > >Would it be possible to define a page variable (or whatever they're >called) that would provide the "next number" that should go in the >"value="? In other words, one would do something like >"value=$NextListNumber" (I forget the actual variable syntax, but I >hope you get the idea). > >I'm sure this isn't something supported by HTML; but, while processing >the wiki source, it seems like the pmwiki parser could be made to keep >track of it (I didn't say it would necessarily be an easy task, just >that it's probably possible).
I propose the following markup: # item 1 # item 2 (:suspend#:) whatever you want to put here (:resume#:) # item 3 This could even nest: # outer item 1 ## item 1 ## item 2 (:suspend##:) whatever you want to put here is still part of outer item 1 (:resume##:) ## item 3 # outer item 2 Just my 10¢ worth. I agree that it is too easy to forget to change value when updating the list. >> # The first line in a list >> # The second line in a list >> >> This line is un-numbered, but >> >> # %item value=3% this should be the third item (3., not 1.) >> # and this should be the fourth (4., not 2.) >> >> See the section on lists in >> http://www.pmwiki.org/wiki/PmWiki/BasicEditing >> >> Pm > -- JR -- John Rankin \_ \) \,\__/7 / / ( c' \ / /, /_/ | & * Wellington ) / / /, / ( | / \__/ V _______________________________________________ pmwiki-users mailing list [email protected] http://www.pmichaud.com/mailman/listinfo/pmwiki-users
