Update,
it seems to be the katex plugin causing the problem as, instead of the 
variable being placed in the field between double brackets so it can be 
displayed by the katex plugin the field contains *ParseError: KaTeX parse 
error: $ within math mode*.
even thought the data going into the field is valid for Katex.

Get the same error with \define convalue() 
$${{$:/state/NewTiddlerForm!!value}}$$ 
as \define convalue() <$latex 
text="{{$:/state/NewTiddlerForm!!value}}"></$latex>

My code here:
\define convalue() <$latex 
text="{{$:/state/NewTiddlerForm!!value}}"></$latex>

\define actions()
<$wikify name="valuetext" text=<<convalue>>>
<$action-setfield $tiddler="$:/state/NewTiddlerForm" $field="valuetext" 
$value=<<valuetext>> />
</$wikify>
\end


!Title
<$edit-text class='tc-edit-texteditor' tiddler='$:/state/NewTiddlerForm' 
field='name_temp' placeholder='Life the Universe and Everything' /><br>

!!Value of Constant

<$edit-text class='tc-edit-texteditor' tiddler='$:/state/NewTiddlerForm' 
field='value'/><br>

<$button>Create Tiddler
<<actions>>
<$action-setfield $tiddler={{$:/state/NewTiddlerForm!!name_temp}} 
text={{$:/state/NewTiddlerForm!!text}} 
value={{$:/state/NewTiddlerForm!!valuetext}}/>
<$action-navigate $to={{$:/state/NewTiddlerForm!!name_temp}}/>
<$action-setfield $tiddler='$:/state/NewTiddlerForm' name_temp='' text='' 
description='' tags=''/>
</$button>



On Thursday, 9 August 2018 12:11:32 UTC+1, Ste Wilson wrote:
>
>
> Hmm, possible bug!
>
> The above code from FrD works fine in new tiddliwiki and indeed works on 
> tiddlywiki.com however id doesn't work in my other wikis.
> It must be a plugin thought I.
> Starting with a blank wiki i tested then installed the katex plugin, at 
> which point it fails to send anything to the output field!
>
> Any thoughts?
>
> Stephen
>
> On Wednesday, 1 August 2018 12:49:16 UTC+1, Ste Wilson wrote:
>>
>> Thanks for the response. 
>> It looks spot on! 
>> Thank you! 
>>
>>

-- 
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/fae270d4-c9b7-4e4a-92f4-5ea09f750e17%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to