[tw5] Macro recursion runs out of control without reason

2020-07-20 Thread Mark Green
For those who have been following my efforts with mod- fields, this is the next chapter - thanks for all the help so far! Currently, ModifierBlockMacro contains: \define innermodifierblock(for:"") $for$ <$set name="x" value=<<__for__>> > <$set name="mfield" filter="[titlelowercase[]split[

[tw5] Re: Macro recursion runs out of control without reason

2020-07-20 Thread Mark Green
Thanks! That actually fixed it! I wonder why it was recursing at all with invalid syntax? -- 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

[tw5] Re: Converting a tiddler name to a field name to display relevant fields

2020-07-19 Thread Mark Green
I don't suppose anyone has any further enlightenment on this, do they? I'm still completely stuck. Even changing the macro to: \define ModifierBlock(for:"") Hello <$set name="x" value=<<__for__>> > <$set name="mfield" filter="[titlelowercase[]addprefix[mod-]]"> <> <$list

[tw5] Filter double conditional problem

2020-08-05 Thread Mark Green
Here's what I want to write in a filter: If the current tiddler - doesn't have the "reaction" tag - doesn't have an "a-actions" field - has a "m-components" list with one member - then display an extra icon. I originally wrote this as

[tw5] Converting a tiddler name to a field name to display relevant fields

2020-07-07 Thread Mark Green
I'm trying to specify a macro that will search all tiddlers for a field describing how they modify another tiddler (by default the current one) and list them together with the contents of those fields. This is my attempt, but it seems to produce no output, not even the output of the mfield

[tw5] Re: Converting a tiddler name to a field name to display relevant fields

2020-07-09 Thread Mark Green
Thanks for your help. Basically there are two steps to the process. 1. Implement mod- fields: each tiddler will list the tiddler name and field contents for any other tiddler with a "mod-" name matching it. So if tiddler Foo has a mod-Bar attribute of "Hello", then viewing tiddler Bar will

[tw5] Printing the results of a fliter

2020-06-27 Thread Mark Green
I'm trying to use the if-then options in a filter to create a transcludable template which will add a list of standard messages to a tiddler if it has certain tags. However, there doesn't seem to be a way to just print the result of a filter; it has to be listed instead. Also, the result of

[tw5] Export as a single file TiddlyWiki

2020-06-27 Thread Mark Green
I have found that Export All can save all tiddlers to a .html file, but what if I want to turn a tiddlywiki built in the Node format (with multiple .tid files) into a single .html file that is still a TiddlyWiki with the features of such? -- You received this message because you are

[tw5] Re: Printing the results of a fliter

2020-06-29 Thread Mark Green
Thanks! That's great! There is however a small problem that's come up as well. I'd like to display the warnings - all of them if possible - in a table.So I tried this: <$list filter="[all[current]tag[Obsolete]]"> | !Obsolete | This function is obsolete. | <$list

[tw5] Re: Printing the results of a fliter

2020-06-27 Thread Mark Green
I mean just output, but these are still transcluding another tiddler. What I want to do is to make a template that I can include in a tiddler which will, for example - If the current tiddler has the "Obsolete" tag, add the sentence "This function is obsolete." - If the current tiddler has the

[tw5] Re: Export as a single file TiddlyWiki

2020-06-28 Thread Mark Green
Thanks! That's really helpful! I do note however that the link says to see "TiddlyWikiFolders for details of defining build targets", but the linked page doesn't say anything about build targets, it just describes the structure of having multiple .tid files and how plugins are listed, nothing