what about a bold plus sign for closed tiddlers with children, and bold minus signs for open tiddlers with children, and for tiddlers with no children?
On Tue, Aug 19, 2014 at 6:31 AM, Jeremy Ruston <[email protected]> wrote: > Hi Dave > > Great, glad it's making sense. > > I've just added a variant of the toc macro that selectively displays the > expand/collapse buttons according to whether a node actually has any > children: > > > https://github.com/Jermolene/TiddlyWiki5/commit/58730b74526c056ff0206fdc3469354c3fe21d24 > > It needs more careful styling to look decent, of course. > > Best wishes > > Jeremy > > > > On Tue, Aug 19, 2014 at 12:16 PM, David Gifford <[email protected]> > wrote: > >> Hey Jeremy >> >> Here are the results of my experimenting with your toc macro, slightly >> tweaked and with different CSS >> >> http://giffmex.org/experiments/toctemplate.html#StartHere >> >> Sorry I can't be at the hangouts this semester, I have classes at the >> seminary on Tuesdays. Blessings! And thanks again for yet another awesome >> toll for TiddlyWiki. >> >> Dave >> >> >> On Monday, August 18, 2014 8:28:03 PM UTC-5, David Gifford wrote: >>> >>> Well, that was easy, you have it right in the macro tiddler: <$macrocall >>> $name="toc-expandable" tag=<<currentTiddler>>/> >>> >>> >>> On Mon, Aug 18, 2014 at 8:08 PM, David Gifford <[email protected]> >>> wrote: >>> >>>> Hi Jeremy, first of all, thanks for the expandable macro. Very nice! I >>>> hope late this week to use it to organize the first draft of a tutorial for >>>> you. >>>> >>>> Second, I now see how to properly view in Github and copy to my TW5. >>>> Having fun playing with the expandable after adding some CSS. >>>> >>>> Third, would there be a way for me to have an expandable macro in every >>>> tiddler, that appears if there are any tiddlers tagged with that tiddler's >>>> title? That way no matter what tiddler I am in, I can still tunnel down. I >>>> will experiment in a moment, but I have a feeling I won't see how to do it. >>>> >>>> Blessings, >>>> >>>> >>>> On Mon, Aug 18, 2014 at 5:50 PM, David Gifford <[email protected]> >>>> wrote: >>>> >>>>> Wow, great, Jeremy! Let me know when you add it to >>>>> http://tw5test.tiddlyspot.com/ so I can give it a try. >>>>> >>>>> >>>>> Dave >>>>> >>>>> >>>>> On Mon, Aug 18, 2014 at 3:32 PM, Jeremy Ruston < >>>>> [email protected]> wrote: >>>>> >>>>>> Hi Dave >>>>>> >>>>>> I've added a couple of simple table of contents macro to the core >>>>>> that show how to solve the problem you've encountered. See the >>>>>> `toc-expandable` macro: >>>>>> >>>>>> https://github.com/Jermolene/TiddlyWiki5/commit/ >>>>>> 8cf726275c19ed5b4a0ed1cf8354d64d1bc29da5 >>>>>> >>>>>> The trick is to use an inner macro that includes the title of the >>>>>> current tiddler into the qualified state tiddler root. Without the inner >>>>>> macro the "currentTiddler" variable would inherit the value from the >>>>>> caller >>>>>> of the outer `toc-expandable` macro. >>>>>> >>>>>> Best wishes >>>>>> >>>>>> Jeremy >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> On Mon, Aug 18, 2014 at 6:53 PM, David Gifford <[email protected]> >>>>>> wrote: >>>>>> >>>>>>> Leave it to me to come with ideas on Saturday morning...hey guys now >>>>>>> that it is Monday, maybe some of you could look at this question of >>>>>>> mine in >>>>>>> my previous post on this thread...if I get it answered, at least there >>>>>>> will >>>>>>> be a way to create tree menus in TW5, something similar to >>>>>>> tagglytagging...Blessings to you all >>>>>>> >>>>>>> Dave >>>>>>> >>>>>>> -- >>>>>>> You received this message because you are subscribed to the Google >>>>>>> Groups "TiddlyWiki" group. >>>>>>> To unsubscribe from this group and stop receiving emails from it, >>>>>>> send an email to [email protected]. >>>>>>> To post to this group, send email to [email protected]. >>>>>>> Visit this group at http://groups.google.com/group/tiddlywiki. >>>>>>> For more options, visit https://groups.google.com/d/optout. >>>>>>> >>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> Jeremy Ruston >>>>>> mailto:[email protected] >>>>>> >>>>>> -- >>>>>> You received this message because you are subscribed to a topic in >>>>>> the Google Groups "TiddlyWiki" group. >>>>>> To unsubscribe from this topic, visit https://groups.google.com/d/ >>>>>> topic/tiddlywiki/-glmJ7009HM/unsubscribe. >>>>>> To unsubscribe from this group and all its topics, send an email to >>>>>> [email protected]. >>>>>> To post to this group, send email to [email protected]. >>>>>> Visit this group at http://groups.google.com/group/tiddlywiki. >>>>>> For more options, visit https://groups.google.com/d/optout. >>>>>> >>>>> >>>>> >>>>> >>>>> -- >>>>> David Gifford >>>>> Christian Reformed World Missions, Mexico City >>>>> >>>> >>>> >>>> >>>> -- >>>> David Gifford >>>> Christian Reformed World Missions, Mexico City >>>> >>> >>> >>> >>> -- >>> David Gifford >>> Christian Reformed World Missions, Mexico City >>> >> -- >> You received this message because you are subscribed to the Google Groups >> "TiddlyWiki" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> To post to this group, send email to [email protected]. >> Visit this group at http://groups.google.com/group/tiddlywiki. >> For more options, visit https://groups.google.com/d/optout. >> > > > > -- > Jeremy Ruston > mailto:[email protected] > > -- > You received this message because you are subscribed to a topic in the > Google Groups "TiddlyWiki" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/tiddlywiki/-glmJ7009HM/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/tiddlywiki. > For more options, visit https://groups.google.com/d/optout. > -- David Gifford Christian Reformed World Missions, Mexico City -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/tiddlywiki. For more options, visit https://groups.google.com/d/optout.

