Also Here is a Parent field based TOC list, but the filter is not
implemented.
\define each-child(filter)
[[$(currentTiddler)$]]<br>
<$list filter="[parent[$(currentTiddler)$]]">
<<each-child $filter$>>
</$list>
\end
\define list-tocP(tiddlername)
<$tiddler tiddler="$tiddlername$">
[[$tiddlername$]]<br>
<$list filter="[parent[$tiddlername$]]">
<<each-child>>
</$list>
</$tiddler>
\end
<<list-tocP "New Home">>
Regards
Tony
On Tuesday, October 16, 2018 at 6:05:26 PM UTC+11, TonyM wrote:
>
> First,
>
> I am sure the answer is yes to handling tags as mathematical sets. But I
> am still not clear on your Question, in part because I believe there is
> basic functionality allowing this, and yet you have already created a
> plugin.
>
> What do you mean associated? Do you simple mean tagged.
>
> If you have any list generated by a filter you can use this list of
> tiddlers that result to act as the input to another process.
>
> When it comes to identifying a single parent on a tiddler you could have a
> problem if it has multiple tags, one solution is to store the parent in a
> custom field such as Marios https://wikilabs.github.io/editions/tocP/ ToCP
> offers.
>
> I can help more but only when I understand your needs better.
>
> Tony
>
> On Tuesday, October 16, 2018 at 4:49:57 PM UTC+11, bimlas wrote:
>>
>> Hi!
>>
>> I'm using tags heavily, for example if I had to write a tiddler about
>> TiddlyWiki, I would apply "Software", "NoteTaking", "Windows", "Linux" so
>> anything that is related to Tiddly.
>>
>> The tags are sorted in hierarchical way:
>>
>> Software
>> Linux
>> TiddlyWiki
>> Windows
>> Attribute
>> NoteTaking
>>
>> I wrote FilteredTags plugin to easily navigate in tags, it lists only
>> those tiddlers that are assigned to each of the selected tags:
>> https://bimlas.gitlab.io/#Filter%20by%20multiple%20tags%20easily%3A%20FilteredTag%20example
>>
>>
>> If I would have to write a tiddler about a TiddlyWiki plugin, I would
>> apply "TiddlyWiki" and "Plugin" tags. In this case this plugin is not
>> associated to "NoteTaking" tag, thus it will not list if I filter to
>> "NoteTaking" and "Plugin" tags; I would have to add the same tags to the
>> plugin as I did for TiddlyWiki, so the plugin would be associated to
>> "Software", "NoteTaking", "Windows", "Linux" and "Plugin".
>>
>> Is there a way to see if a tiddler or its parents are associated to given
>> tags (so in the example I would like to know if the plugin or its parents
>> are associated to "NoteTaking" and "Plugin")? I would like to handle tags
>> as (mathematical) sets (https://en.wikipedia.org/wiki/Set_(mathematics))
>> instead of "labels".
>>
>
--
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/1167bd77-3238-4a80-a9f4-33049b806304%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.