Ok, I found a workaround that solves my problem. I made the argument to be
a list of tiddler titles and parsed them inside the PlotData function. Here
is (finally) a MRWE (R stands for really). Thanks for your help Mark!
--
You received this message because you are subscribed to the Google
What I've done, and it might not be the best approach, when I've needed to
concatenate two transclusions (which is what you're doing) is to call a
macro within a macro.
*\define myMacro(cat1: cat2:)*
*$macrocall $name=helper scat1=$cat1$ scat2=$cat2$ /*
*\end*
*\define helper(scat1: scat2:)*
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
Thanks for your quick reply, unfortunately I couldn't make it work or I
didn't understand you. myMacro in the code you supplied only displays the
concatenated transclusions {{Value1}} {{Value2}}, how can I use that as the
argument of another macro? Also I get an undesired result if the tiddler
You know, I'm not sure if you can call a parameterized macro from within
another macro. But you can call it from within a widget, and you can call a
macro as a widget. I put strings around the transclusions. I made a little
macro to test the calling called echo. And I simplified the code:
5 matches
Mail list logo