[tw] Re: [TW5] Presenting ifAisB Macro: Compare Strings if-then-else Style

2017-05-01 Thread Thomas Elmiger
Hi Josiah & all,

Here’s a little quiz for you: http://tid.li/tw5/hacks.html#Distances%20Quiz 

I just played a bit with a short quiz macro that uses ifAisB and a buttoun 
to set tags …

Have fun!
Thomas

-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
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/889379c0-ecf0-441e-8ae0-60cc71fc57c5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: My attempt at an editable table

2017-05-01 Thread Ste Wilson
Another thing I'll have to have a look at soon... Too many great toys to tinker 
with.. 

At the risk of putting a spanner in the works I mostly access my tiddlywikkis 
in my mobile and I don't seem to be able to scroll/ see any of the table off 
screen.

Could it play nice with the Mathcell plugin? 

Stephen. 

-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
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/c1e01e56-eb9c-4a20-ba87-bc6bdb6d0e0f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: My attempt at an editable table

2017-05-01 Thread Jeremy Ruston
Hi Stephen

> Jeremy might want to consider expanding the explanation to clarify the 
> various syntax at work here.

There was an update from Mark S. in January that covers pretty much the exact 
issue you encountered:

http://tiddlywiki.com/#Concatenating%20text%20and%20variables%20using%20macro%20substitution

Of course, finding such information in the documentation remains hard.

Best wishes

Jeremy

-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
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/331C07AC-9FA9-4DBF-B8EE-574AFB586D84%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: My attempt at an editable table

2017-05-01 Thread 'Stephen Kimmel' via TiddlyWiki
Thanks, Eric.

That's what I needed. And I feel a good less like a moron for not figuring 
that out on my own. 

Jeremy might want to consider expanding the explanation to clarify the 
various syntax at work here.

Stephen

-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
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/c047cf2c-edba-4219-8a0c-bf5cddab6a20%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: My attempt at an editable table

2017-05-01 Thread Eric Shulman
On Monday, May 1, 2017 at 6:26:53 AM UTC-7, Stephen Kimmel wrote:
>
> ...problem appears to be passing the parameter fieldName from FieldChoice 
> to FieldThing...
> \define FieldChoice(name:"title")
> <$select field="field1" default='title'>
> none
> <$set name="currentTiddler" value="FieldsData">
> <$list filter="[all[current]indexes[]]" variable="fieldName">
> >><>
> 
> 
> 
> 
> \end
>
> \define FieldThing(name:"current_address")
> {{FieldsData##$name$}}
> \end
>
> <>
>
> Can someone tell me what I've done wrong and how to do this correctly?
>

Within the macro syntax, $(varname)$ expands values that are defined in 
variables **outside the macro definition** (i.e., using <$set> or <$vars>) 
and $varname$ expands values that are **passed as arguments** to the macro 
call.  To reference a variable that has been **defined within the current 
scope** (i.e., the "fieldName" variable defined by the <$list> widget) you 
need to use the <> syntax.

However, because you are passing <> as a parameter to another 
macro, you can't just use <> because the <<...>> syntax doesn't 
"nest". Thus, the following macro syntax does NOT work:
   <>>>

Fortunately, there is an alternative *widget* syntax for making a macro 
call, that does allow you to use the <<...>> syntax to specify parameters:
<$macrocall $name="FieldThing" name=<> />

That should do it.
Let me know how it goes.

enjoy,
-e
Eric Shulman
TiddlyTools.com: "Small Tools for Big Ideas" (tm)
InsideTiddlyWiki: The Missing Manuals

-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
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/b4f2e919-898d-488b-a354-86421b53646d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: My attempt at an editable table

2017-05-01 Thread 'Stephen Kimmel' via TiddlyWiki
Let me pose my question more directly. I assume the answer is obvious to 
the more experienced hands. 

The following code is not working correctly and I don't understand why. I 
would like the macro FieldChoice to return a select widget with a list of 
captions taken from the dictionary tiddler FieldsData. 
I get the Select that works but all the captions match the one for the 
default entry in FieldThing. The problem appears to be passing the 
parameter fieldName from FieldChoice to FieldThing. The code below is just 
one of my many failed attempts.

\define FieldChoice(name:"title")
<$select field="field1" default='title'>
none
<$set name="currentTiddler" value="FieldsData">
<$list filter="[all[current]indexes[]]" variable="fieldName">
>><>




\end

\define FieldThing(name:"current_address")
{{FieldsData##$name$}}
\end

<>

Can someone tell me what I've done wrong and how to do this correctly?

-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
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/3b09ae62-8dbc-4e9f-b739-5e66583fe929%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: TiddlySmile ...

2017-05-01 Thread @TiddlyTweeter
We received a letter from Mrs April Mackenzie of Moscow, Scotland 

 
with a question for people with more experience.

She have successfully tested porridge for taste, firmness and climpt using 
a TiddlyWiki... 



But she had to do the testing inside a flour pancake wrap that she is 
concerned may be distorting the results.

So far she has not found a way to test Naked Porridge through a TiddlyWiki 
and would appreciate any feedback others have.

Josiah

-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
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/eddecebd-1e0a-413b-8071-1fc4ecd1e933%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] TiddlySmile ...

2017-05-01 Thread @TiddlyTweeter
Monks on Mt. Athos live in cells alongside the bones of the previous 
occupant.



*But what happened to the penultimate monk? *

TiddlyWiki is badly needed to help them catalogue their former former 
colleagues.

Josiah

-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
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/4f727ab8-c9ac-4205-97b6-b0c7b5081e93%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Presenting ifAisB Macro: Compare Strings if-then-else Style

2017-05-01 Thread @TiddlyTweeter
Ciao Måns & Thomas

Semi-seriously ... apps that can play games are *very* inviting. 

Personally I need to see more *examples* of how the *ifAisB Macro* works to 
fully get it.

Best wishes
Josiah

On Monday, 1 May 2017 11:21:16 UTC+2, Måns wrote:
>
> Maybe we should announce a "create games & quizzes challenge" to speed up 
> things?
>

-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
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/26c67149-45d5-47d2-8816-fe72c384530d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Presenting ifAisB Macro: Compare Strings if-then-else Style

2017-05-01 Thread Ste Wilson
Ooohhh.. 
Will definitely have a play with this. 
Cheers. 

-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
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/32b362e8-0035-44de-b9f4-28e6960fd089%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Saving to Tiddlyspot Issues

2017-05-01 Thread Chris Hodge
Just to close the loop on my problem, it no longer happens after I 
restarted my Chromebook! I can save without any issues now on all my TW's 
on tiddlyspot.

On Friday, April 28, 2017 at 8:03:00 AM UTC-4, Chris Hodge wrote:
>
> Yes, please report if you find anything. I am still unable to save to 
> tiddlyspot on one hardware. I still have one TW that *used *to save on my 
> Chromebook but no longer does. It saves just fine in any browser on other 
> machines.
>
>
>>

-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
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/e8cf8e04-4072-4915-b1a5-11e2a3a8246e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Announcing the release of TiddlyWiki v5.1.14

2017-05-01 Thread Jeremy Ruston
Hi Thomas

That text actually precedes 5.1.14, I’ve raised a query on tobibeer’s commit 
over on GitHub:

https://github.com/Jermolene/TiddlyWiki5/commit/6085936475851a8f93a05a52f9e7ddcb066c6569

Best wishes

jeremy.


> On 1 May 2017, at 11:24, Thomas Elmiger  wrote:
> 
> Hi,
> 
> I am confused by the description of the new filter operator suffix has:field 
> as it seems that the examples filter the opposite of what is stated in the 
> documentation.
> http://tiddlywiki.com/#has%20Operator 
> 
> To me, the examples make sense, the documentation does not. It would be very 
> logical, if the parts marked yellow could be removed/added in the docs:
> 
> output
> suffix field
> » those input tiddlers in which field F does not exist
> ! output  
> 
> suffix field
> » those input tiddlers in which field F does not exists
> 
> Am I missing something?
> 
> This is just a detail – many thanks for the great new version anyway!!!
> 
> Cheers, 
> Thomas
> 
> * Many new and improved filter operators, including a several new string 
> encoding operators
> 

-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
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/464C1093-4134-4E61-A343-11A85E2A4190%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Announcing the release of TiddlyWiki v5.1.14

2017-05-01 Thread Thomas Elmiger
Hi,

I am confused by the description of the new filter operator suffix has:
*field* as it seems that the examples filter the opposite of what is stated 
in the documentation.
http://tiddlywiki.com/#has%20Operator

To me, the examples make sense, the documentation does not. It would be 
very logical, if the parts marked yellow could be removed/added in the docs:

output 
*suffix field*
» those input tiddlers in which field F does *not* exist 
! output  

*suffix field*
» those input tiddlers in which field F *does not* exists
Am I missing something?

This is just a detail – many thanks for the great new version anyway!!!

Cheers, 
Thomas

* Many new and improved filter operators, including a several new string 
> encoding operators
>
>

-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
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/42cf8fc3-ed4a-4a97-97a5-53049e04dfe4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Presenting ifAisB Macro: Compare Strings if-then-else Style

2017-05-01 Thread Måns
Hi Thomas

Great, great, great :-)
Well done!!

With the new 5.1.14 editions new features - dnd etc. - your macro could 
help start a veritable lavine of games for TiddlyWiki!!
Card games, dnd questions to answers with instant feedback etc., etc   

Maybe we should announce a "create games & quizzes challenge" to speed up 
things?

Cheers Måns Mårtensson

Den søndag den 30. april 2017 kl. 15.48.54 UTC+2 skrev Thomas Elmiger:
>
> Hi all  
>
> A new "hack" is ready for you to try – I hope you will find it useful, 
> e.g. to create quizzes or tests, to automate letters, …
>
> This macro offers a solution for simple if-then-else text generation. It 
> presents some added value compared to the reveal widget: it accepts 
> variables as well as text references and it can show an error message. The* 
> ifAisB macro *comes with full documentation in the tiddler 
> $:/_telmiger/ifAisB 
>  – a link to 
> the documentation can also be found below. 
>
>
> Credits and more examples: This solution was inspired by and developed 
> together with Måns who describes his usage of a former version in this 
> post  
> in the Google group. Many others have contributed with relating posts or 
> inspiring ideas. So thank you, TW community!
>
>
> --
>
> A shorthand macro to test if the value of a field *priority* equals "a" 
> could be defined and used like this:
>
>
> \define check-a() <$macrocall $name="ifAisB" A={{!!priority}} B="a" 
> then="priority is a" else="priority is not a"/>
>
> <>
>
> --
>
> See documentation here: 
> https://tid.li/tw5/hacks.html#ifAisB%20%E2%80%93%20Compare%20if-then-else%20Style%20in%20Wikitext
>  
>
>
> As always: *Do yourself a favour and save a backup* before trying my 
> stuff. 
>
> Let me know if it works for you.
>
> All the best, 
> Thomas
>

-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
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/e8d7bc03-6643-4a63-b826-d16f85c36851%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Announcing the 2nd TiddlyWiki European Meetup on 10th & 11th June 2017

2017-05-01 Thread Jeremy Ruston
Hi Elliot

> I'm a complete novice with TiddlyWiki, but very interested in learning more 
> about it.
> 
> I'm a freelance programmer (specialising in Go), but no JavaScript expert. 
> 
> My main interest would be to judge if I can use TidlyWiki as part of a future 
> project to help those with Dyslexia.
> 
> Would the meeting be the right place for someone like me?

Yes, absolutely, you’d be very welcome. Your project should precipitate an 
excellent discussion.

To stress this is not a developer-focussed meeting. GitHub works pretty well 
for TiddlyWiki developers to collaborate with each other. The things that I 
think worked well at the last meetup included:

* Discussing TiddlyWiki’s nature/purpose/direction/goals etc.
* Show and tell, where people demonstrated how they use TiddlyWiki in their 
everyday life
* Developers demonstrating the capabilities of stuff they’ve built
* Developers collaborating with non-developers to build/adapt stuff (we worked 
on TWederation last time)

I’d be very interested to hear more about the Dyslexia project.

Best wishes

Jeremy

> 
> -- 
> 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 post to this group, send email to tiddlywiki@googlegroups.com 
> .
> 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/4d7770ff-329c-459d-a59f-9f13fe27ee09%40googlegroups.com
>  
> .
> For more options, visit https://groups.google.com/d/optout 
> .

-- 
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 post to this group, send email to tiddlywiki@googlegroups.com.
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/448AF4C1-893D-4C1C-B744-B9378E8CFB2B%40gmail.com.
For more options, visit https://groups.google.com/d/optout.