On Tuesday, August 7, 2018 at 11:16:51 AM UTC+2, Mohammad wrote:
>
> Thanks Tony!
> So it seems I should go inside those macros to understand what going ob 
> there!
> By the way the standard macro toc-selective-expandable seems to get a 
> sort parameter which apply to all root and childern!
>
>
> <div class="tc-table-of-contents">
> <<toc-selective-expandable "slideshow" "sort[caption]">>
> </div>
>
> So, it seems I cannot use the default macro
>

That's right. .. The default TOC macros cover about 80% of usecases. The 
other 20% are highly user specific and much harder to implement in a 
generic way. ... That's why they may be plugins .. .

 - I did 1 plugin, which is called: tocP ... "parent based" TOC. see: 
https://wikilabs.github.io/editions/tocP/ ... which *probably won't work 
for your usecase*

 - I also did an experimental version named: "toc merge" which atm 
overwrites the "core toc macros". That's why it is still an experiment. You 
can learn more here in the group 
<https://groups.google.com/forum/#!searchin/tiddlywiki/toc$20merge$20pmario|sort:date/tiddlywiki/55zEWhzGF3c/KJsQUnFgCgAJ>.
 
This thread also contains an attachment, that you can use for testing. 

This one may be a starting point for your usecase. ... It actually could do 
what you want. ... but ... it still needs a lot of manual adjustments, 
which may be too hard for "end users" ... It should be OK for advanced 
users. ..... 

There is no docs, so have a closer look at the linked threads. ... all of 
them!

have fun!
mario





-- 
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/2c264c54-28be-489e-8951-286b9fb04756%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to