[tw5] Re: TiddlyWiki Math Fields with tags

2020-04-09 Thread Eric Shulman
On Thursday, April 9, 2020 at 12:03:21 AM UTC-7, TonyM wrote:
>
> Just wrap the whole thing as follows
>
> '`
>

Minor typo in Tony's reply.  As with all widgets, the widget name should 
have a "$" prefix.  This differentiates it from a standard HTML or XML 
element.

Thus:
<$text text={{{ ... }}} />

and, for your desired literal "$", you would write:
$<$text text={{{ ... }}} />

enjoy,
-e

>

-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/8518a69a-3d3c-4c7a-bf2f-e35d6cf01f77%40googlegroups.com.


[tw5] Re: TiddlyWiki Math Fields with tags

2020-04-09 Thread TonyM
Just wrap the whole thing as follows

'`

tony

-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/5a1af3d6-5928-4cfd-9377-12fe1400568f%40googlegroups.com.


[tw5] Re: TiddlyWiki Math Fields with tags

2020-04-08 Thread Reaktorblue
Eric,

Just curious but is there a way to format this as text? It seems to make 
the sum a link to a tiddler but I'd rather just have it display the value 
as text so I can format it with a "$" in front of it if possible

On Wednesday, April 8, 2020 at 5:38:53 PM UTC-4, Eric Shulman wrote:
>
> On Wednesday, April 8, 2020 at 1:35:09 PM UTC-7, Reaktorblue wrote:
>>
>> Is there a way to add up numbers that are in the tiddler fields? For 
>> example, if I wanted to add up all of the numbers in field "cost" for all 
>> tiddlers tagged "incomplete" and "component" would that be possible? I was 
>> thinking maybe the mathematics operators but I haven't been having much 
>> luck getting that to work
>>
>
> This will do exactly what you want:
> {{{ [tag[component]tag[incomplete]get[cost]sum[]] }}}
>
> enjoy,
> -e
>
>  
>

-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/7a7007e3-ff76-461d-a35b-fc1b78b2c005%40googlegroups.com.


[tw5] Re: TiddlyWiki Math Fields with tags

2020-04-08 Thread Reaktorblue
Thanks!

This is exactly what I was looking to do. Thank you so much for all of the 
help!!

On Wednesday, April 8, 2020 at 5:38:53 PM UTC-4, Eric Shulman wrote:
>
> On Wednesday, April 8, 2020 at 1:35:09 PM UTC-7, Reaktorblue wrote:
>>
>> Is there a way to add up numbers that are in the tiddler fields? For 
>> example, if I wanted to add up all of the numbers in field "cost" for all 
>> tiddlers tagged "incomplete" and "component" would that be possible? I was 
>> thinking maybe the mathematics operators but I haven't been having much 
>> luck getting that to work
>>
>
> This will do exactly what you want:
> {{{ [tag[component]tag[incomplete]get[cost]sum[]] }}}
>
> enjoy,
> -e
>
>  
>

-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/8010f4d8-219e-4ecf-94be-99b80d0f9fbe%40googlegroups.com.


[tw5] Re: TiddlyWiki Math Fields with tags

2020-04-08 Thread Eric Shulman
On Wednesday, April 8, 2020 at 1:35:09 PM UTC-7, Reaktorblue wrote:
>
> Is there a way to add up numbers that are in the tiddler fields? For 
> example, if I wanted to add up all of the numbers in field "cost" for all 
> tiddlers tagged "incomplete" and "component" would that be possible? I was 
> thinking maybe the mathematics operators but I haven't been having much 
> luck getting that to work
>

This will do exactly what you want:
{{{ [tag[component]tag[incomplete]get[cost]sum[]] }}}

enjoy,
-e

 

-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/ae431aa3-bc81-46d1-baf5-39bf64eea52a%40googlegroups.com.


[tw5] Re: TiddlyWiki Math Fields with tags

2020-04-08 Thread Mohammad
I am sure you get some detailed answers but for short and quick: Shiraz 
dynamic table is a one answer!

--Mohammad


On Thursday, April 9, 2020 at 1:05:09 AM UTC+4:30, Reaktorblue wrote:
>
> Hello,
>
> Is there a way to add up numbers that are in the tiddler fields? For 
> example, if I wanted to add up all of the numbers in field "cost" for all 
> tiddlers tagged "incomplete" and "component" would that be possible? I was 
> thinking maybe the mathematics operators but I haven't been having much 
> luck getting that to work
>

-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/596da589-0dfa-4786-bab3-b5e9111ff224%40googlegroups.com.