On Sunday, 29 July 2018 14:16:21 UTC+1, 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.
For those of you on e-mail...Original post updated as I pressed the wrong
button while typing it.
--
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/139befaf-1123-4cdb-a49a-c7716aabf559%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.