First of all thanks for your help Mark, I was able use your code and it works exactly as it should, except ( I suspect ) when the macro is defined in Javascript as it is in my case. I made a MWE, exported it as JSON and attached it here. The problem with my naive approach is that if there are no quotes around the transclusions only one gets passed as the argument, but if they are surrounded by quotes then the argument is literally passed.
-- 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 http://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/0a25d82e-1ff1-470d-b694-428941565da1%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
PlotData.json
Description: Binary data

