[pmwiki-users] numbered list questions

Radu radu at monicsoft.net
Tue Mar 15 08:40:21 CST 2005


Good point, Ian.

http://www.pmwiki.org/wiki/Cookbook/PageTableOfContents
is another good idea in the same direction.

Any sort of lists lose their usability if people stash lots of stuff inside 
the list itself. A list is nicely done if done with short lines; if 
anything needs details or explanation, it could go on a wikipage of its own.

The really neat trick would be to have the number captured by the link and 
included in a (:title:) directive on the target page, so that the pages 
would automatically get the right number, no matter how one shuffles the 
list. E.g.

#[[page 1]]
##[[page 1.1]]
#[[page 2]]

And each time a page with a list like this is edited, if the respective 
pages exist, they get the numbers at the beginning of their (:title:) 
directive modified to reflect the text that the #+ gets replaced with.

If it's not something many people would like, I'll look into modding the 
NumberedHeaders to do so and add a different recipe.

A problem may arise if the same page is included in more than one list. I 
wonder how this is dealt with in the WikiTrails...

While I check, if there are any suggestions, opinions, comments, they're 
welcome.

At 05:49 AM 3/15/2005, Ian Barton wrote:
>I use the NumberedHeaders 
>http://www.pmwiki.org/wiki/Cookbook/NumberedHeaders  cookbook entry to do this.
>
>Carl Boe wrote:
>>It is not too hard to imagine ordered and unordered lists which are quite 
>>lengthy and contain several paragraphs, tables, displayed equations, 
>>etc., that should align within the level of their container list element, 
>>but instead lose indentation
>_______________________________________________
>pmwiki-users mailing list
>pmwiki-users at pmichaud.com
>http://pmichaud.com/mailman/listinfo/pmwiki-users

Cheers,
Radu
(www.monicsoft.net) 




More information about the pmwiki-users mailing list