Not sure I get the use case, ie the structure subclasses and is-individual
of
*Why is the output=html ?*
I am not sure how "[is_subclass_of{!!title}]" works
Rather than get class_sub to return links, why not simply return titles you
can then use the title to display a link as you do by using list-links.
Try removing *output=html *
and removing* <$link><<currentTiddler>></$link> *
*and just use **<<currentTiddler>>*
I think then* <<class_sub>> *will return what you expect.
Also you may replace list links with a list widget then you can have more
control and debug better.
Tony
On Wednesday, October 3, 2018 at 2:48:18 PM UTC+10, LorenzGL wrote:
>
> I'm working on creating a semantic structure in TW. U fortunately, this
> requires recursive filters. I’m stuck trying to feed the output of a
> recursive macro into a filter using wikify. The problem seems to be that
> the macro is outputting a formatted list but the filter expects a title
> list. I haven't been able to figure out how to solve the problem. The goal
> is to display a list of all individuals of a superclass for individuals
> that are only linked to subclasses but not the superclass. Here is my code:
>
> \define class_sub()
> <$list filter="[is_subclass_of{!!title}]">
> <$link><<currentTiddler>></$link>
> <$macrocall $name="class_sub">>
> </$list>
> \end
>
> <$wikify name="all_subclasses" text=<<class_sub>> output=html>
> <<list-links filter:"[enlist<all_subclasses>listed[is_individual_of]]">>
> </$wikify>
>
> Any help on this would be greatly appreciated.
--
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/2db3e5d0-99e3-4537-9e97-c3a5c73e60d9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.