[twdev] Re: Programmatic generation of macros

2018-11-22 Thread TonyM
Bimlas, Thanks for the suggestions. It seems to me the process to generate some macros may be an active process but the result needs to be a static tiddler, tagged for macros. Though I will keep looking for a hack. I interested in perhaps using the discovery of fields to generate macros by

[twdev] Re: Programmatic generation of macros

2018-11-20 Thread bimlas
Just played with nested macro definitions: https://bimlas.gitlab.io/demo/tw5/nested-macro-definition.html If I could use variables in transclusion, I could modify https://bimlas.gitlab.io/demo/tw5/generate-macros-by-tags.html

[twdev] Re: Programmatic generation of macros

2018-11-20 Thread bimlas
It's not an answer, but maybe helps: https://tobibeer.github.io/tb5/#Ad-Hoc%20Macro -- You received this message because you are subscribed to the Google Groups "TiddlyWikiDev" group. To unsubscribe from this group and stop receiving emails from it, send an email to

[twdev] Re: Programmatic generation of macros

2018-11-19 Thread TonyM
Bump, No answer, so just started some further experimentation. Its quite easy to build the text that would form a set of macro definitions. A single button could write this to a tiddler with the tag $:/tags/Macro \define append-text(tiddlername totiddlername) <$list