Thanks Mark and Tony, I will play around with your suggestions and see where it takes me.
Thanks, Damon On Wednesday, June 5, 2019 at 7:25:05 PM UTC-5, TonyM wrote: > > Damon, > > Have you researched the alternative Toc's in Tiddlywiki.com ? > eg > https://tiddlywiki.com/#Example%20Table%20of%20Contents%3A%20Sorted%20Expandable > > [[TableOfContents]] > <div class="tc-table-of-contents"> > <<toc-expandable "TableOfContents" "sort[title]">> > </div> > > > Or make a macro > \define contents(roottiddler:"TableOfContents") > [[$roottiddler$]] > <div class="tc-table-of-contents"> > <<toc-expandable "roottiddler" "sort[title]">> > </div> > > <<contents>> > or > <<contents tiddlername">> > > Or for Current Tiddler as default > \define contentsc() > [[$(currentTiddler)$]] <!-- or linkWidget --> > <div class="tc-table-of-contents"> > <<toc-expandable "$(currentTiddler)$" "sort[title]">> > </div> > > <<contentsc>> > > I also like Marks suggestion to build your own TOC macro if you want to > customise it. > The key coding feature is how it needs two macros one which calls the > other, and the other calls itself. > > Regards > Tony > > > > On Thursday, June 6, 2019 at 9:42:28 AM UTC+10, Damon Pritchett wrote: >> >> Hey Tony, >> >> Yes, that works in a sense, but I would like the output to look like what >> the ListTree plugin output looks like. Also, I'm not sure how to call the >> ToC macro with the title of the current tiddler. >> >> This image is kind of what I'm looking for with the possibility of it >> being expandable. >> >> [image: Capture.PNG] >> >> >> On Wednesday, June 5, 2019 at 6:13:18 PM UTC-5, TonyM wrote: >>> >>> Damon, >>> >>> Surely this will do it? >>> >>> [[Top Tiddler]] >>> >>> <div class="tc-table-of-contents"> >>> <<toc "Top Tiddler">> >>> </div> >>> >>> >>> But then I do not yet use tidgraph >>> >>> Regards >>> Tony >>> >>> On Thursday, June 6, 2019 at 1:50:37 AM UTC+10, Damon Pritchett wrote: >>>> >>>> Hi Mark S., >>>> >>>> Thanks for the reply. That's not exactly what I'm looking for because >>>> then I would have to create many, many extraneous "Master" tiddlers and >>>> that would clutter things up considerably in my view although that would >>>> do >>>> what I'd like as you say. I'd like this to be generic in that I'm >>>> considering putting this in a tiddler tagged ViewTemplate. >>>> >>>> Damon >>>> >>>> >>>> On Wednesday, June 5, 2019 at 10:40:04 AM UTC-5, Mark S. wrote: >>>>> >>>>> About including the root in the tree. Can't you just make a tiddler >>>>> one level above what you want to start at? >>>>> >>>>> So, for instance, in the TOC examples, you could make a "Master" >>>>> tiddler. You could tag the "Contents" macro with "Master", and then start >>>>> the tree with the tag "Master". Now "Contents" is included in the tree. >>>>> Or >>>>> ... maybe you meant something else ? >>>>> >>>>> >>>>> >>>>> On Wednesday, June 5, 2019 at 8:17:14 AM UTC-7, Damon Pritchett wrote: >>>>>> >>>>>> Hi all, >>>>>> >>>>>> I would like to create a hierarchical tag tree similar to a table of >>>>>> contents that also includes the root in the list. I would also like to >>>>>> style it in the manner of list-tree (http://listtree.tiddlyspot.com/).. >>>>>> I'm using tags to show relationships of company changes of name and >>>>>> mergers >>>>>> (company succession). The ToC macros work great, but they don't include >>>>>> the >>>>>> root tiddler and I really like the list-tree format. I don't fell that >>>>>> my >>>>>> knowledge is good enough yet to figure out how to modify them on my one. >>>>>> In >>>>>> addition, I want to have the root as the current tiddler. >>>>>> >>>>>> Thanks very much in advance. >>>>>> >>>>>> Damon >>>>>> >>>>> -- 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 https://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/63a8fe11-4843-4f6b-b37b-13246fb8550b%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

