I think you forgot to paste a "<$tiddler>" widget at the top?

You have 3 set widget tags, but only one </$set> matching tag -- that will 
throw things off.

-- Mark

On Wednesday, August 15, 2018 at 4:39:09 PM UTC-7, Ste Wilson wrote:

> Hi Jeremy (and other wonderful peeps),
>
> Finally had time to play with your code.
> I need to expand it to accept output multiple variables so my button mow 
> looks like
>
> <$button>
> Create Tiddler
>
> <$set
>  name="valuetext" value={{{ [{!!value_temp}addprefix[<$latex 
> text="]addsuffix["displayMode="true"></$latex>]] }}} >
> <$set
>  name="constext" value={{{ [{!!const_temp}addprefix[<$latex 
> text="]addsuffix["displayMode="true"></$latex>]] }}} >
> <$set
>  name="unittext" value={{{ [{!!unit_temp}addprefix[<$latex 
> text="]addsuffix["displayMode="true"></$latex>]] }}} >
> <$action-setfield $tiddler={{!!name_temp}} 
> text={{!!text_temp}} 
> value=<<valuetext>>
> variablelatex=<<constext>>
> unitlatex=<<unittext>>
> tags='constant'/>
> </$set>
> <$action-navigate $to={{!!name_temp}}/>
>
> </$button>
>
> </$tiddler>
>
> All works as expected apart from the button which now reads *Create 
> Tiddler </$button> **</$tiddler>*
>
> I suspect I've missed a bracket somewhere, but my attempts to resolve the 
> matter end in only the final field being created.
>
> Stephen
>
> 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. 
>>
>>

-- 
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/b3e753e0-6423-42e0-8a10-93bb515f1832%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to