Thanks Mario!
Good stuff!

Mohammad

On Tuesday, August 7, 2018 at 2:36:10 PM UTC+4:30, PMario wrote:
>
> 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%7Csort: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/19f34f2d-8a15-4568-a326-d92507e16095%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to