Are you aware of http://trac-hacks.org/wiki/TocMacro ?
2008/6/13 Scott Bussinger <[EMAIL PROTECTED]>: > >> I'm using GMail and I can't read your code at all. Paste-binning it >> would be more useful. > > I had to look that one up (paste-binning) -- I'd never run into that > before, but it's handy. > > Anyway, here's a link to the full source file: http://pastebin.com/m7666910c > > The list_item() routine is the one that would seem to have the > problem. It's recursive, and when it returns something's going awry. I > suspect there's something about how Python handles local variables in > recursive routines that I don't understand. > > The macro is completely contained within that file, except for some > CSS stuff. I don't think it'll affect anything, but it's just: > > .wiki-children li { font-weight:bold; list-style-type:none; } > .wiki-children-bottom li { font-weight:normal; display:inline; > padding-left:1em; } > > > Thanks for taking a look! > > > -- Evolution: Taking care of those too stupid to take care of themselves. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Trac Users" group. To post to this group, send email to trac-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/trac-users?hl=en -~----------~----~----~----~------~----~------~--~---