Note 1: The button label lmst proceed the </$button>

<$button>
<$action-setfield $tiddler="Newtid" $field="test" 
$value=''<$macrocall $name="mylatex" a={{lddata}}> /''
Work...Please work
</$button>

On Sunday, July 29, 2018 at 11:16:21 PM UTC+10, Ste Wilson wrote:
>
> I'm trying to set some user input between latex markers so the user 
> doesn't have to put in the $$. 
>
> So far I have: 
>
> \define mylatex(a)
> <$latex text="{$a$}" displayMode="true"></$latex>
> \end
>
> <$button>
> Work...Please work
> <$action-setfield $tiddler="Newtid" $field="test" 
> $value=''<$macrocall $name="mylatex" a={{lddata}}> /''
> </$button>
>
> So what I'd want in field test is for example <latex>3+5</latex> or $$3+4$$
>
> The macro will render a latex string in the text field without having to 
> add anything.
> I just don't know how to get that Wiki text into a different field. 
>
>
> Any help as always appreciated. 
>
>

-- 
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/93b12433-e729-4e84-b725-3c761753897d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to