You're going to need a recent version of TW5. Then define your macro like
this:
\define mylatex(a,b)
<$wikify name="doit" text="""
<$latex text="{$a$}+{$b$}" displayMode="true"></$latex>""" >
<<doit>>
</$wikify>
\end
Worked on my set-up.
Good luck!
Mark
On Wednesday, June 14, 2017 at 2:20:12 AM UTC-7, Stephen Wilson wrote:
>
> Hi Mark,
> Thanks for the help.
> Unfortunately that returns
>
> *<$latex text="{7}+{1}" displayMode="true"></$latex>*
>
> in the view pane. Transcluding from another tiddler
> yields similar results and putting the eval in a field and transcluding
> from there, the same.
>
> I had already tried your solution but assumed the fault was mine, so it's
> nice to know it wasn't just me :)
>
> Back to the drawing board,
>
> Stephen
>
> On Tuesday, 13 June 2017 17:04:11 UTC+1, Mark S. wrote:
>>
>> I'm not familiar with the latex plugin, so I don't know if your mylatex
>> macro is set up correctly. Assuming that it is, then I think you need to
>> invoke it like:
>>
>> <$macrocall $name="mylatex" a=<<eval1 datatiddler:"Data" cell:"Random">>
>> b=<<eval1 datatiddler:"Data" cell:"Random">> >
>>
>> Good luck!
>> Mark
>>
>> On Tuesday, June 13, 2017 at 6:53:08 AM UTC-7, Stephen Wilson wrote:
>>>
>>> Ok.
>>>
>>> I'm using the mathcell plugin/ macro to generate a random number between
>>> 1 and 10
>>>
>>
>>
--
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/363ab877-4640-45ee-9c07-0008cfc2f9d3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.