[tw] [TW5] filter only when value=

2017-12-17 Thread TonyM
Folks,

I have being beating my head against a brick wall, for a few hours now, I 
know I am missing something basic.

Please consider the below macro

\define dateincrements(datefield,inc:"d w f m h q y")
dateincrements "$inc$"
<$list filter="$inc$" variable=period>
Each:<>
<$list filter="THISFILTER" variable=day>
Action <>


\end


I want a filter "THISFILTER", such that, for example

Action <>

will only occur when <> is = "d".


Thanks in Advance

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 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/72752a55-d549-4470-abdd-e007cc8fc271%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Needing to combine these 2 macros

2017-12-17 Thread Jon
Mat & Mark, they both worked.

That's my WikiChristmas present right there!

Cheers
Jon

On Monday, 18 December 2017 01:53:17 UTC, Mat wrote:
>
> Jon
>  
>
>> This part<> produced the thumbnail alright 
>> but when clicked, there's a "File not found" message as it's still looking 
>> in the main folder rather than the "images" subfolder.
>>
>
> Ah, sorry, he href should also call the macro. See if doing this helps:
>
> > target="new"> etc
>  
> <:-)
>

-- 
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/7bcf1a23-f66a-4b23-90bf-aa5647569dc8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Few questions about tiddlywiki.info Files

2017-12-17 Thread Riz
1. What is the real use of "default-tiddler-location" option in the 
configuration?

  I set it to a folder called "./files". As expected, the newly  created 
tiddlers were saved into that folder. So far so good. However, when I 
restarted the node server, I got a blank TW. The tiddlers are still there 
in the "files" folder, but it is not being read from it. More than that, if 
I create tiddlers with the same name as those already existing in the 
folders, they are written to the folder as "mytiddler(1).tid" and so on. I 
assume this is not the expected behavior. Is there some other option I have 
to set to load tiddlers from the new "default-tiddler-location"? Or is it a 
bug?

OS:Ubuntu
TW5 version: 5.1.15
Node version: 8.4.0


2. The "includeWiki" documentation specifies that path should be given 
relative to the wiki folder. That did not wok for me. What worked is 
relative path to the tiddlywiki info file. There are two possibilities 
here, either mine is an individual experience and a bug, or "tiddlers" 
folder is called as wiki folder now. Barring these two, may be there is a 
need to correct the documentation. 

3. A little more information regarding "retain-original-tiddler-path" 
options please. I mean, the documentation says what does it do. However, it 
fails to mention what is the advantage of setting the option. Is the user 
missing out anything by not setting it? What is the use case of said option 
- as in, what can the user achieve by setting that option?


Finally, not a question - merely an suggestion to consider for the next 
higher edition. The configuration provided by $:/config/FileSystemPaths 
should be a part of .info file too. File naming and rearanging should start 
from the get go, rather than setting it after the story list tiddler (at 
least) is created in file system. If possible, it should be able to be 
effective retroactively - renaming the files appropriately on the next 
reload if the user is changing setting somewhat down the lane. 

-- 
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/1a11259f-8ac7-44db-8556-564d8330c137%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Wiki writing philosophy.

2017-12-17 Thread Mark Kerrigan
Treat external files as individual tiddlers.

This allows you to write about [[CSS Template|example-template.css]], then 
on the example-template.css tiddler, you can have a link to the file. For 
simplicity, have a reference folder in the same directory of your 
TiddlyWiki to hold miscellaneous files can be good. You could then write

[[View file|reference/example-template.css]]

and then perhaps you might expand more on the file in question.

You can also then do things with the list-links 
 macro 
such as <> to view all of your css files. 

Deciding on a consistent file naming convention (and documenting about it 
in your TiddlyWiki) would also be helpful. 

On Sunday, December 17, 2017 at 6:01:40 PM UTC-8, Shay Shaked wrote:
>
> I apologize in advance if this is going to sound like a huge rant. Because 
> it probably will be. 
>
> I've used TW for two years, and for the most part, it has been my journal. 
> I've created a style guide and image macro to help me with that, and things 
> have been good. I write three-four times a week or so, year round, and I am 
> not completing my second year. I have a long list of tiddlers loaded with 
> journal notes, and a media library with images and even self-recordings 
> which I grew to like. 
>
> Thing is, this is not exactly what a wiki is supposed to be, to me. I 
> know, I know, it is what you make of it, and if that's a good usage that I 
> feel comfortable with, what's the problem, right? Well, I'm about to 
> publish my TW on my website again, and it occurred to me that the technical 
> notes (those I can actually post) also tend to be personal, and long, and 
> rant-like. The reason I wanted to put a wiki up is so I have a recording of 
> the technical things I've been doing (mostly tech related), and share it 
> with the world... but you see, it's the *idea *of it that I think I've 
> done, not the actual thing. 90% of the wiki is all personal journal notes. 
>
> I went back and read a couple of pages back in tiddlywiki.com. I found a 
> couple of tools I wasn't aware of, but the website itself is not built in a 
> way that makes sense to me. I am not sure why. I find interesting bits of 
> information and tools, but I find that I happen to stumble upon them and 
> not get to them naturally. I like the general philosophy, pretty KISS-like, 
> and I want to adopt something of the sort... not sure how though. 
>
> Is there anyone here who uses TW to record technical information? 
> Technical documents? Something you can share? I'm interested in the style, 
> and the meta-information level, as in, what do you do and *why *do you do 
> it and how does it make sense to you. I feel a bit lost, not in a scary 
> way, but I do want my Wiki to start being more technical. For example, I 
> recorded the "recipe" for my newest site as a category.  You know, things 
> like what colors I used, what CSS edition I've added and why, etc. With 
> that, I suddenly had a good document to compare other notes to. It can be 
> anything really; how to tie shoes, how to make the bed, what is my cleaning 
> routine... So again, do you guys do anything like that with TW? 
>
> Thanks for reading!  
>

-- 
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/4c22e110-fb77-465e-a3d4-e2db817b4836%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: Wiki writing philosophy.

2017-12-17 Thread Diego Mesa
I accrue many more papers than I have time to read. So, I have a "touched" 
field, representing the last time I came across this paper "in the wild". 
This could be a recommendation, a reference, etc. This is something I've 
always wanted in Mendeley, Zotero, etc and I am so happy to be able to 
implement it myself  in TW.

On Sunday, December 17, 2017 at 9:49:46 PM UTC-6, Shay Shaked wrote:
>
> Interesting. How does it get sorted by a customized field? What does it 
> mean?
>
> On Dec 17, 2017 21:56, "Diego Mesa"  
> wrote:
>
>> Hello Shay,
>>
>> I use TW as my entire external brain! That means I have a tag for 
>> "Personal"  and "Research" (which is technical). So my journal entries are 
>> all tagged with Journal, as well as either Research or Personal. I also 
>> keep bits of math, code-snippets, and journal paper notes in my TW with 
>> appropriate tags. 
>>
>> I make extensive use of lists to group things together. For example, my 
>> "Research Journal" tiddler is:
>>
>>
>> <$list filter="[tag[Research]tag[Journal]!sort[created]]">
>> <$link><$transclude field="title" mode="block"/>
>> <$transclude field="text" mode="block"/> 
>> <$link to="Research Journal">> "true">
>> 
>> 
>> 
>>
>>
>> My "Papers of Interest" Tiddler is:
>>
>> !! Health 
>> <$list filter="[tag[PoI]tag[EHR]!nsort[touched]]" template=
>> "$:/.dm/templates/list-summary-prioritize"/>
>>
>>
>> !! General
>> <$list type="dl" filter="[tag[PoI]!tag[EHR]!nsort[touched]]" template
>> ="$:/.dm/templates/list-summary-prioritize"/>
>>
>> where PoI is Papers of Interest, and touched is a field I use to keep 
>> papers Ive recently come across floated to the top. 
>>
>> Let me know if you'd like to discuss more!
>>
>> Diego
>>
>>
>> On Sunday, December 17, 2017 at 8:01:40 PM UTC-6, Shay Shaked wrote:
>>>
>>> I apologize in advance if this is going to sound like a huge rant. 
>>> Because it probably will be. 
>>>
>>> I've used TW for two years, and for the most part, it has been my 
>>> journal. I've created a style guide and image macro to help me with that, 
>>> and things have been good. I write three-four times a week or so, year 
>>> round, and I am not completing my second year. I have a long list of 
>>> tiddlers loaded with journal notes, and a media library with images and 
>>> even self-recordings which I grew to like. 
>>>
>>> Thing is, this is not exactly what a wiki is supposed to be, to me. I 
>>> know, I know, it is what you make of it, and if that's a good usage that I 
>>> feel comfortable with, what's the problem, right? Well, I'm about to 
>>> publish my TW on my website again, and it occurred to me that the technical 
>>> notes (those I can actually post) also tend to be personal, and long, and 
>>> rant-like. The reason I wanted to put a wiki up is so I have a recording of 
>>> the technical things I've been doing (mostly tech related), and share it 
>>> with the world... but you see, it's the *idea *of it that I think I've 
>>> done, not the actual thing. 90% of the wiki is all personal journal notes. 
>>>
>>> I went back and read a couple of pages back in tiddlywiki.com. I found 
>>> a couple of tools I wasn't aware of, but the website itself is not built in 
>>> a way that makes sense to me. I am not sure why. I find interesting bits of 
>>> information and tools, but I find that I happen to stumble upon them and 
>>> not get to them naturally. I like the general philosophy, pretty KISS-like, 
>>> and I want to adopt something of the sort... not sure how though. 
>>>
>>> Is there anyone here who uses TW to record technical information? 
>>> Technical documents? Something you can share? I'm interested in the style, 
>>> and the meta-information level, as in, what do you do and *why *do you 
>>> do it and how does it make sense to you. I feel a bit lost, not in a scary 
>>> way, but I do want my Wiki to start being more technical. For example, I 
>>> recorded the "recipe" for my newest site as a category.  You know, things 
>>> like what colors I used, what CSS edition I've added and why, etc. With 
>>> that, I suddenly had a good document to compare other notes to. It can be 
>>> anything really; how to tie shoes, how to make the bed, what is my cleaning 
>>> routine... So again, do you guys do anything like that with TW? 
>>>
>>> Thanks for reading!  
>>>
>> -- 
>> You received this message because you are subscribed to a topic in the 
>> Google Groups "TiddlyWiki" group.
>> To unsubscribe from this topic, visit 
>> https://groups.google.com/d/topic/tiddlywiki/mXo94QO385w/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to 
>> tiddlywiki+...@googlegroups.com .
>> To post to this group, send email to tiddl...@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/3e3400ad-06ff-491c-a4b4-9b36b357b359%40googlegroups.com
>>  
>> 

[tw] Re: Inserting a picture in a Tiddler

2017-12-17 Thread 'Mark S.' via TiddlyWiki

I've tried really hard to understand the point of the _canonical_uri. 
Everything from the excessively verbose and technical field name to the 
double-referencing seems to be designed to make linking images more 
complicated and user unfriendly than it has to. Removing the text field 
means you have to add your own description field to annotate the image.

About the only advantage is, if you have an image you use more than once, 
you can quickly re-reference a new file name. But for note-taking, I almost 
never repeat an image, and I imagine most other people don't either. 

Now if the _canonical_uri had a way to switch it's base path address, that 
would be a real plus.

Better than _canonical_uri is to use a macro where you can change the base 
path address as you move from platform to platform.  Actually, if you put 
Tobias' ximg macro in a tiddler, then you can transclude the tiddler just 
like a _canonical_uri, but in addition be able to change the base path as 
needed. 

-- Mark

On Sunday, December 17, 2017 at 7:34:02 PM UTC-8, Riz wrote:
>
> Your best bet is to embed via canonical uri field and relative linking. It 
> is also the recommended practice. 
>
> Refer: https://tiddlywiki.com/#ExternalImages
>

-- 
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/b1b0e257-253f-4efb-8194-f640ab182d34%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: Wiki writing philosophy.

2017-12-17 Thread Shay Shaked
Interesting. How does it get sorted by a customized field? What does it
mean?

On Dec 17, 2017 21:56, "Diego Mesa"  wrote:

> Hello Shay,
>
> I use TW as my entire external brain! That means I have a tag for
> "Personal"  and "Research" (which is technical). So my journal entries are
> all tagged with Journal, as well as either Research or Personal. I also
> keep bits of math, code-snippets, and journal paper notes in my TW with
> appropriate tags.
>
> I make extensive use of lists to group things together. For example, my
> "Research Journal" tiddler is:
>
>
> <$list filter="[tag[Research]tag[Journal]!sort[created]]">
> <$link><$transclude field="title" mode="block"/>
> <$transclude field="text" mode="block"/> 
> <$link to="Research Journal"> "true">
> 
> 
> 
>
>
> My "Papers of Interest" Tiddler is:
>
> !! Health
> <$list filter="[tag[PoI]tag[EHR]!nsort[touched]]" template=
> "$:/.dm/templates/list-summary-prioritize"/>
>
>
> !! General
> <$list type="dl" filter="[tag[PoI]!tag[EHR]!nsort[touched]]" template=
> "$:/.dm/templates/list-summary-prioritize"/>
>
> where PoI is Papers of Interest, and touched is a field I use to keep
> papers Ive recently come across floated to the top.
>
> Let me know if you'd like to discuss more!
>
> Diego
>
>
> On Sunday, December 17, 2017 at 8:01:40 PM UTC-6, Shay Shaked wrote:
>>
>> I apologize in advance if this is going to sound like a huge rant.
>> Because it probably will be.
>>
>> I've used TW for two years, and for the most part, it has been my
>> journal. I've created a style guide and image macro to help me with that,
>> and things have been good. I write three-four times a week or so, year
>> round, and I am not completing my second year. I have a long list of
>> tiddlers loaded with journal notes, and a media library with images and
>> even self-recordings which I grew to like.
>>
>> Thing is, this is not exactly what a wiki is supposed to be, to me. I
>> know, I know, it is what you make of it, and if that's a good usage that I
>> feel comfortable with, what's the problem, right? Well, I'm about to
>> publish my TW on my website again, and it occurred to me that the technical
>> notes (those I can actually post) also tend to be personal, and long, and
>> rant-like. The reason I wanted to put a wiki up is so I have a recording of
>> the technical things I've been doing (mostly tech related), and share it
>> with the world... but you see, it's the *idea *of it that I think I've
>> done, not the actual thing. 90% of the wiki is all personal journal notes.
>>
>> I went back and read a couple of pages back in tiddlywiki.com. I found a
>> couple of tools I wasn't aware of, but the website itself is not built in a
>> way that makes sense to me. I am not sure why. I find interesting bits of
>> information and tools, but I find that I happen to stumble upon them and
>> not get to them naturally. I like the general philosophy, pretty KISS-like,
>> and I want to adopt something of the sort... not sure how though.
>>
>> Is there anyone here who uses TW to record technical information?
>> Technical documents? Something you can share? I'm interested in the style,
>> and the meta-information level, as in, what do you do and *why *do you
>> do it and how does it make sense to you. I feel a bit lost, not in a scary
>> way, but I do want my Wiki to start being more technical. For example, I
>> recorded the "recipe" for my newest site as a category.  You know, things
>> like what colors I used, what CSS edition I've added and why, etc. With
>> that, I suddenly had a good document to compare other notes to. It can be
>> anything really; how to tie shoes, how to make the bed, what is my cleaning
>> routine... So again, do you guys do anything like that with TW?
>>
>> Thanks for reading!
>>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "TiddlyWiki" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/
> topic/tiddlywiki/mXo94QO385w/unsubscribe.
> To unsubscribe from this group and all its topics, 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/3e3400ad-06ff-491c-a4b4-9b36b357b359%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 

[tw] Re: Formula: Spreadsheet-like mathematics for TiddlyWiki

2017-12-17 Thread Evan Balster
Hey all —

What appears missing that I need at the moment is; Add_month, Add_year


Heh, you got me.  I haven't written add or difference functions for years 
or months yet because those entities represent variable quantities of time 
and the proper approach wasn't quite clear.  For the moment you can hack 
around it with something like:

(= date(year(mydate)+1, month(mydate), day(mydate)) =)

Results might not be what you expect if the month-day isn't applicable to 
the resulting month.  Anyway, I'll add these functions next iteration. 


`ValueError: TypeError: value.asString is not a function value: 
> 20180101001411129`
>

That's an internal error and a rookie mistake on my part.  I'll patch it 
tonight or tomorrow.


Just to make sure it is intentional - concatenation:  1 & 2 = 1.002.00 
> (...i.e 1.00 and 2.00) 
>

OK, so this is a weird one.

When numbers are turned into strings (including by concatenation) they use 
the conversion rules defined for the widget.  Currently you can choose to 
set no rule (in which case fractional numbers tend to print very long), you 
can set fixed point (N digits after zero, as I've done on the wiki's main 
page), or you can set a fixed number of significant digits.  There is not, 
at the moment, any logic to nudge a number like .250001 to .25 without 
forcing a format onto it (because the Javascript standard library doesn't 
appear to provide as much).

Anyway, long story short, I could probably stand to implement smarter 
stringification and/or a function that allows the string format to be 
specified on an individual basis.


Apropos binary - additional feature idea: I occasionally want to convert 
> between number bases... hex, dec, binary etc.
>

This isn't hard; I'd probably just make it a new function. 
 

On Sunday, 17 December 2017 20:23:02 UTC-6, Mat wrote:
>
> Evan, 
>
> Just to make sure it is intentional - concatenation:
>
> 1 & 2 = 1.002.00 (...i.e 1.00 and 2.00) 
>
> ... is this supposed to be allowed? A user might expect "= 12" but missed 
> the quote marks because he e.g transcluded the numbers.
>
> I can see use in concatenating numbers if constructing number sequences, 
> e.g binary 0010110001. No decimals then of course. But then maybe that 
> would be strings rather than numbers? I don't have an opinion on this, just 
> asking to make sure it's intentional.
>
> Apropos binary - additional feature idea: I occasionally want to convert 
> between number bases... hex, dec, binary etc.
>
> <:-)
>

-- 
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/a168a17c-f538-4098-8cf5-b66e406e0ec2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Inserting a picture in a Tiddler

2017-12-17 Thread Riz
Your best bet is to embed via canonical uri field and relative linking. It is 
also the recommended practice. 

Refer: https://tiddlywiki.com/#ExternalImages

-- 
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/69c5243a-6ac6-41b5-a92b-c466790c1513%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Wiki writing philosophy.

2017-12-17 Thread Diego Mesa
Hello Shay,

I use TW as my entire external brain! That means I have a tag for 
"Personal"  and "Research" (which is technical). So my journal entries are 
all tagged with Journal, as well as either Research or Personal. I also 
keep bits of math, code-snippets, and journal paper notes in my TW with 
appropriate tags. 

I make extensive use of lists to group things together. For example, my 
"Research Journal" tiddler is:


<$list filter="[tag[Research]tag[Journal]!sort[created]]">
<$link><$transclude field="title" mode="block"/>
<$transclude field="text" mode="block"/> 
<$link to="Research Journal">





My "Papers of Interest" Tiddler is:

!! Health 
<$list filter="[tag[PoI]tag[EHR]!nsort[touched]]" template=
"$:/.dm/templates/list-summary-prioritize"/>


!! General
<$list type="dl" filter="[tag[PoI]!tag[EHR]!nsort[touched]]" template=
"$:/.dm/templates/list-summary-prioritize"/>

where PoI is Papers of Interest, and touched is a field I use to keep 
papers Ive recently come across floated to the top. 

Let me know if you'd like to discuss more!

Diego


On Sunday, December 17, 2017 at 8:01:40 PM UTC-6, Shay Shaked wrote:
>
> I apologize in advance if this is going to sound like a huge rant. Because 
> it probably will be. 
>
> I've used TW for two years, and for the most part, it has been my journal. 
> I've created a style guide and image macro to help me with that, and things 
> have been good. I write three-four times a week or so, year round, and I am 
> not completing my second year. I have a long list of tiddlers loaded with 
> journal notes, and a media library with images and even self-recordings 
> which I grew to like. 
>
> Thing is, this is not exactly what a wiki is supposed to be, to me. I 
> know, I know, it is what you make of it, and if that's a good usage that I 
> feel comfortable with, what's the problem, right? Well, I'm about to 
> publish my TW on my website again, and it occurred to me that the technical 
> notes (those I can actually post) also tend to be personal, and long, and 
> rant-like. The reason I wanted to put a wiki up is so I have a recording of 
> the technical things I've been doing (mostly tech related), and share it 
> with the world... but you see, it's the *idea *of it that I think I've 
> done, not the actual thing. 90% of the wiki is all personal journal notes. 
>
> I went back and read a couple of pages back in tiddlywiki.com. I found a 
> couple of tools I wasn't aware of, but the website itself is not built in a 
> way that makes sense to me. I am not sure why. I find interesting bits of 
> information and tools, but I find that I happen to stumble upon them and 
> not get to them naturally. I like the general philosophy, pretty KISS-like, 
> and I want to adopt something of the sort... not sure how though. 
>
> Is there anyone here who uses TW to record technical information? 
> Technical documents? Something you can share? I'm interested in the style, 
> and the meta-information level, as in, what do you do and *why *do you do 
> it and how does it make sense to you. I feel a bit lost, not in a scary 
> way, but I do want my Wiki to start being more technical. For example, I 
> recorded the "recipe" for my newest site as a category.  You know, things 
> like what colors I used, what CSS edition I've added and why, etc. With 
> that, I suddenly had a good document to compare other notes to. It can be 
> anything really; how to tie shoes, how to make the bed, what is my cleaning 
> routine... So again, do you guys do anything like that with TW? 
>
> Thanks for reading!  
>

-- 
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/3e3400ad-06ff-491c-a4b4-9b36b357b359%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Formula: Spreadsheet-like mathematics for TiddlyWiki

2017-12-17 Thread Mat
Evan, 

Just to make sure it is intentional - concatenation:

1 & 2 = 1.002.00 (...i.e 1.00 and 2.00) 

... is this supposed to be allowed? A user might expect "= 12" but missed 
the quote marks because he e.g transcluded the numbers.

I can see use in concatenating numbers if constructing number sequences, 
e.g binary 0010110001. No decimals then of course. But then maybe that 
would be strings rather than numbers? I don't have an opinion on this, just 
asking to make sure it's intentional.

Apropos binary - additional feature idea: I occasionally want to convert 
between number bases... hex, dec, binary etc.

<:-)

-- 
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/01d4c01d-c298-40c8-a4f9-11a5232ec5e6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Wiki writing philosophy.

2017-12-17 Thread Shay Shaked
I apologize in advance if this is going to sound like a huge rant. Because 
it probably will be. 

I've used TW for two years, and for the most part, it has been my journal. 
I've created a style guide and image macro to help me with that, and things 
have been good. I write three-four times a week or so, year round, and I am 
not completing my second year. I have a long list of tiddlers loaded with 
journal notes, and a media library with images and even self-recordings 
which I grew to like. 

Thing is, this is not exactly what a wiki is supposed to be, to me. I know, 
I know, it is what you make of it, and if that's a good usage that I feel 
comfortable with, what's the problem, right? Well, I'm about to publish my 
TW on my website again, and it occurred to me that the technical notes 
(those I can actually post) also tend to be personal, and long, and 
rant-like. The reason I wanted to put a wiki up is so I have a recording of 
the technical things I've been doing (mostly tech related), and share it 
with the world... but you see, it's the *idea *of it that I think I've 
done, not the actual thing. 90% of the wiki is all personal journal notes. 

I went back and read a couple of pages back in tiddlywiki.com. I found a 
couple of tools I wasn't aware of, but the website itself is not built in a 
way that makes sense to me. I am not sure why. I find interesting bits of 
information and tools, but I find that I happen to stumble upon them and 
not get to them naturally. I like the general philosophy, pretty KISS-like, 
and I want to adopt something of the sort... not sure how though. 

Is there anyone here who uses TW to record technical information? Technical 
documents? Something you can share? I'm interested in the style, and the 
meta-information level, as in, what do you do and *why *do you do it and 
how does it make sense to you. I feel a bit lost, not in a scary way, but I 
do want my Wiki to start being more technical. For example, I recorded the 
"recipe" for my newest site as a category.  You know, things like what 
colors I used, what CSS edition I've added and why, etc. With that, I 
suddenly had a good document to compare other notes to. It can be anything 
really; how to tie shoes, how to make the bed, what is my cleaning 
routine... So again, do you guys do anything like that with TW? 

Thanks for reading!  

-- 
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/c3d6f8b5-e782-40c8-ba97-0b0f17b8de0f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Needing to combine these 2 macros

2017-12-17 Thread Mat
Jon
 

> This part<> produced the thumbnail alright 
> but when clicked, there's a "File not found" message as it's still looking 
> in the main folder rather than the "images" subfolder.
>

Ah, sorry, he href should also call the macro. See if doing this helps:

> target="new"> etc
 
<:-)

-- 
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/6f2f994d-0d5f-43f3-b663-24509b3be386%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Formula: Spreadsheet-like mathematics for TiddlyWiki

2017-12-17 Thread TonyM
Evan,

I have started using the date functions. What appears missing that I need 
at the moment is;

Add_month
Add_year

In fact add_month would be sufficient because
+12 months is add year
+3 months is add quarter (next quarter)
+6 months is next half year

In an attempt to create a TW date 14 days hence I use this

(= to_tw_date(add_days(now,14) ) =)

But it returns want I want, but in an error message.

`ValueError: TypeError: value.asString is not a function value: 
20180101001411129`

I have tried to set variables to make this work with no luck.

Regards
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 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/9f36c250-037e-4746-adf2-befe64a4004e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Inserting a picture in a Tiddler

2017-12-17 Thread 'Mark S.' via TiddlyWiki
I've been looking for an information system that does all those things on 
multiple platforms also. And yes, there's always something missing.

What I'm saying about space is that, with only say 10 regular resolution 
images, you could bring your tablet or phone-based TW to a halt.

The simplest solution doesn't require any googling. Just put your images in 
a folder below where your TW is. Let's call it "images". Then just refer to 
your pictures like:

  [img[images/mypicture.jpg]]

Good luck,
Mark

On Sunday, December 17, 2017 at 11:28:50 AM UTC-8, Surya wrote:
>
> Hi Mark,
>
>
> you're right, I really don't want my Wiki become too big in size. But I 
> don't have the time at the moment for going deep in the other solutions- I 
> really don't understand nothing there. I am a poweruser with my computer, 
> but a simple one ;-)
> I searched now for months for a program for writing notes with pictures, 
> tags and formatting, working & synchronizing between Linux and Android. The 
> last 8 weeks I didn't do anything else- working, sleeping, eating and 
> searching / trying programs for notes. There are some great ones, but 
> always something important were missing. I have to build these two Wikis 
> inbetween the next month, and I know, it will be a lot of work
>
> That's why I cannot google now for days and days for learning the other 
> solutions (PHP and from the link of Stan).
>
> But I am sure, I will do that one time
> Bettina
>

-- 
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/e7750b65-dfb0-447f-80fc-bba2d122a275%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Importing old Tiddlywiki plugins

2017-12-17 Thread Marcel
Perfect, just what I needed!

Thanks,
-- Marcel

On Sunday, December 17, 2017 at 3:14:18 PM UTC-8, Birthe C wrote:
>
> You might like this plugin http://grosinger.net/tw5-checklist/
>
> Birthe
>
>
> Den søndag den 17. december 2017 kl. 23.35.28 UTC+1 skrev Marcel:
>>
>> Hmm, okay. Maybe I'm missing something, but what I was looking for is to 
>> make todo lists without each item being a tiddler tagged with a specific 
>> tag.
>>
>> I would like to create a simple list of items which I can prefix with '[ 
>> ]' turning them into a checklist. Then if I check one of these boxes, have 
>> the contents of the tiddler rewritten to '[X]' which renders as a checked 
>> checkbox.
>>
>> I looked into the built-in checkbox, but it seems to require you to write 
>> '<>' and an expression that selects tiddlers as items. Can what I 
>> need be done with the built-in checkbox? If not, how can I add the old 
>> behavior into tiddlywiki5?
>>
>

-- 
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/a7500f48-e0e8-4416-b9c6-765bb495f5f2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Needing to combine these 2 macros

2017-12-17 Thread 'Mark S.' via TiddlyWiki
Oops, I was working on a tablet and typing in the small wedge of space it 
gave me. Lost the "\end". This works on my system:

\define imageit(image:"image.jpg" path:"TW-Images/2017/")

\end

Note that the default path must have a final forward slash on the end. Yes, 
this is a replacement for the previous macros.

Good luck!
Mark

On Sunday, December 17, 2017 at 1:58:55 PM UTC-8, Jon wrote:
>
> Hi Mark,
>
> Do you mean using this macro alone, instead of what's gone before?
>
> In which case I put it into a tiddler, changed your example folder path, 
> tagged it with $:/tags/Macro and in a separate tiddler inserted < "Photoname.jpg">>
>
> However, no luck. What I did notice though is the macro tiddler produced a 
> thumbnail which wanted to find...ImageFolder/$path$$image$. and the other 
> tiddler didn't show anything.
>
> Cheers
> Jon
>
> On Sunday, 17 December 2017 20:57:31 UTC, Mark S. wrote:
>>
>> This should do literally what you want:
>>
>> \define imageit(image:"image.jpg",path:"TW-Images/2017/")
>> > height="25%" />
>>
>> BTW, I have a variation of Tobias' macro that allows me to configure the 
>> image path with a drop-down selection of paths. So it's easier to hop 
>> between platforms. At least in theory.
>>
>> -- Mark
>>
>>
>>
>>
>> On Saturday, December 16, 2017 at 11:42:55 PM UTC-8, Jon wrote:
>>>
>>> Hi,
>>>
>>> This macro provided by Mark S in an earlier post 
>>>  will 
>>> give a clickable thumbnail image which will then go to full size in the 
>>> browser. Inserting the macro in a tiddler and then tagging it with 
>>> $:/tags/Macro 
>>> will then, of course, make this a global effect for all photos in the wiki 
>>> eg. <> (the quotes around this 
>>> part "$image$" now allows for a gap in the picture file name).
>>>
>>> \define imageit(image:"image.jpg")
 >>> "25%" />
 \end

 e.g.

 <>



>>> I think this is brilliant, and I'm going to apply it retrospectively to 
>>> all the pictures in my wiki.
>>>
>>> Whilst I'm at it, I'd also like to incorporate a global folder path for 
>>> external images 
>>> .
>>>
>>> So the question is, how do I join these two macros together?
>>>
>>> Thanks
>>> Jon
>>>
>>>

-- 
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/b561540d-a6f7-4abb-8850-b9555e5771b5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Formula: Spreadsheet-like mathematics for TiddlyWiki

2017-12-17 Thread TonyM
Wow, is all I can say. Thanks

Tony

On Monday, 18 December 2017 10:14:02 UTC+11, Evan Balster wrote:
>
> Hey, all —
>
> Here's *Formula plugin* 0.1.1:  
> http://evanbalster.com/tiddlywiki/formulas.html
> Source and issue tracking on GitHub:  
> https://github.com/EvanBalster/TiddlyWikiFormula
>
> This version adds:
>
>- A $formula-vars macro
>- Preliminary date and time support
>   - Date literals as datum values
>   - Support for converting to/from TiddlyWiki timestamps
>   - Offset and difference functions
>   - Calendar functions
>- Workflow enhancements based on spreadsheet software
>   - Datums (included values) beginning with "=" are treated as 
>   formulas
>   - Can use names like "B3" as shorthand for individual DataTiddler 
>   indexes
>- Fixed errors with rounding functions
>- Fixed an issue with error handing in datums
>- Various other small stuff
>
> Please continue experimenting and reporting any issues you turn up.  I'll 
> be interested to see if the date & time stuff suits the needs of the users 
> who've chimed in about that.
>
>
> On Sunday, 17 December 2017 02:22:36 UTC-6, Evan Balster wrote:
>>
>> Hey, Tony —
>>
>> I might have been a little terse in documenting the logical functions.
>>
>> The IF function chooses between its second and third arguments based on 
>> the first.  For example,
>>
>> if({{!!x}}<1, "x is less than 1", "x is more than 1")
>>
>> The second and third argument can be whatever sort of date you like.  
>> Instead of strings they could be transclusions, or other functions or 
>> complicated bits of math.
>>
>> IFS basically works like "if (arg1) {return arg2} else if (arg3) {return 
>> arg4} else if (arg5) {return arg6} else return undefined".  The 
>> odd-numbered arguments should be booleans and the even-numbered arguments 
>> can be whatever you like.  So this would be fine:
>>
>> ifs(and({{!!x}} > {{!!y}}, {{!!x}} > {{!!z}}), "x is biggest", ({{!!y}} > 
>> {{!!z}}), "y is biggest", TRUE, "z is biggest");
>>
>> Though it would be the same as:
>>
>> if(and({{!!x}} > {{!!y}}, {{!!x}} > {{!!z}}), "x is biggest", if({{!!y}} 
>> > {{!!z}}, "y is biggest", "z is biggest"));
>>
>> Anyway, all the logic functions are designed to work like their 
>> (better-documented) analogs in Excel and Google Sheets.
>>
>> * (Notably, formula currently uses javascript rules when determining 
>> whether to treat numbers and strings as "true" or "false".  So zero and 
>> empty strings are falsy, while non-zero numbers and non-empty strings are 
>> truthy.  I can't guarantee this behavior will continue to be the case, as 
>> it might be different from how spreadsheet software does things.)
>>
>>
>> On Saturday, 16 December 2017 20:02:28 UTC-6, TonyM wrote:
>>>
>>> Evan,
>>>
>>> Please forgive my Ignorance; What can a and b be equal to in Formulas' 
>>> logical functions, like IF and IFS?
>>>
>>> I am thinking if something evaluates to true how do I use this to
>>>
>>>- list
>>>- transclude
>>>- Use macro
>>>- Show some text etc...
>>>- Set a variable/field
>>>
>>>
>>> I imagine there is a way to write a list filter if a formula it true to 
>>> show when true (or False) etc...
>>>
>>> I expect knowing this may help the less sophisticated users (still me at 
>>> this point) make use of formula.
>>>
>>> Thanks in Advance
>>> Tony
>>>
>>> On Sunday, 17 December 2017 12:41:19 UTC+11, Evan Balster wrote:

 Hey, Tony —

 I'm not an impatient reader.  :)

 I've added a Date type in my working copy, based on JavaScript's 
 built-in Date (which is reasonably feature-rich).  TiddlyWiki has some 
 functions for date formatting in core, too.  Libraries like moment.js 
 offer 
 a "kitchen sink" of features but I'm not sure if that's necessary at the 
 moment.

 Probably my next step will be to add a basic date parser and some 
 utility functions (convert timestamps, convert with string, construct and 
 decompose dates).

 *Is there value sharing what I find, or do you have it covered?*
>

 If you find something interesting, sure, share it.  But given that 
 there's standardized support for basic date processing in JavaScript 
 itself 
 I'm going to try to steer clear of libraries.

 *May I ask how you use the results TRUE and FALSE in wikitest once 
> calculated?*
>

 Right now, the best use of these is in Formulas' logical functions, 
 like IF and IFS.  In the future I might implement a $formula-if widget 
 that 
 works a little like the reveal widget.

 Expect a new update tomorrow or so.



 On Saturday, 16 December 2017 19:17:24 UTC-6, TonyM wrote:
>
> Evan,
>
> Very exciting, date manipulation is timely for me, rather than wait I 
> will look into some existing options. *Is there value sharing what I 
> find, or do you have it covered?*
>

[tw] Re: Importing old Tiddlywiki plugins

2017-12-17 Thread TonyM
In Birthe's suggested plugin

The Simple form like TWC [ ] [X] is available - my error.

Tony

On Monday, 18 December 2017 09:44:00 UTC+11, TonyM wrote:
>
> Marcel, As Jed Says
>
> Use https://tiddlywiki.com/#CheckboxWidget
>
> The value of the checkbox can be tags or values in fields, not cookies 
> like in TWC
>
> The Simple form from TWC [_] [X] is not available but perhaps someone can 
> create that. 
>
> But since you are building a todo list in a tiddler search for todo or 
> checklist solutions and you will find half a dozen.
>
> Best wishes,
> Tony
>
>
>
>
> On Monday, 18 December 2017 08:43:24 UTC+11, Marcel wrote:
>>
>> Coming back to TiddlyWiki after 12 years, and a lot has changed. I'm 
>> using version 5.1.15 and would like to start using the CheckBoxPlugin from 
>> http://www.tiddlytools.com/. That plugin is fairly old and does not seem 
>> to be written for the modern Tiddlywiki architecture.
>>
>> Importing plugins now works via drag-and-drop, and I cannot seem to find 
>> the name of the plugin starting with $:/.
>>
>> Can someone help me with how to install that old plugin in a new version 
>> of TiddlyWiki?
>>
>> Thanks,
>> -- Marcel
>>
>

-- 
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/a9c120cc-5acb-483a-8350-a1bec9e88d16%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] [TW5] Log by append

2017-12-17 Thread TonyM
Folks,

I have searched the groups extensively looking to find out how to append 
text, however most references are to TWC.

I want to do something as follows

In a given Create a tiddler named <> or a global tiddler

Then in all relevant buttons and action widgets append (or Pre-pend) some 
details to the text field of <>

Need I Treat Txt as a field?


Thanks in advance

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 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/c9939fea-0ba6-4128-ac56-9d1922fb89d5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Importing old Tiddlywiki plugins

2017-12-17 Thread Birthe C
You might like this plugin http://grosinger.net/tw5-checklist/

Birthe


Den søndag den 17. december 2017 kl. 23.35.28 UTC+1 skrev Marcel:
>
> Hmm, okay. Maybe I'm missing something, but what I was looking for is to 
> make todo lists without each item being a tiddler tagged with a specific 
> tag.
>
> I would like to create a simple list of items which I can prefix with '[ 
> ]' turning them into a checklist. Then if I check one of these boxes, have 
> the contents of the tiddler rewritten to '[X]' which renders as a checked 
> checkbox.
>
> I looked into the built-in checkbox, but it seems to require you to write 
> '<>' and an expression that selects tiddlers as items. Can what I 
> need be done with the built-in checkbox? If not, how can I add the old 
> behavior into tiddlywiki5?
>

-- 
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/2b3ec0ee-470e-46d2-ae66-e228b83ede0b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Formula: Spreadsheet-like mathematics for TiddlyWiki

2017-12-17 Thread Evan Balster
Hey, all —

Here's *Formula plugin* 0.1.1:  
http://evanbalster.com/tiddlywiki/formulas.html
Source and issue tracking on GitHub:  
https://github.com/EvanBalster/TiddlyWikiFormula

This version adds:

   - A $formula-vars macro
   - Preliminary date and time support
  - Date literals as datum values
  - Support for converting to/from TiddlyWiki timestamps
  - Offset and difference functions
  - Calendar functions
   - Workflow enhancements based on spreadsheet software
  - Datums (included values) beginning with "=" are treated as formulas
  - Can use names like "B3" as shorthand for individual DataTiddler 
  indexes
   - Fixed errors with rounding functions
   - Fixed an issue with error handing in datums
   - Various other small stuff

Please continue experimenting and reporting any issues you turn up.  I'll 
be interested to see if the date & time stuff suits the needs of the users 
who've chimed in about that.


On Sunday, 17 December 2017 02:22:36 UTC-6, Evan Balster wrote:
>
> Hey, Tony —
>
> I might have been a little terse in documenting the logical functions.
>
> The IF function chooses between its second and third arguments based on 
> the first.  For example,
>
> if({{!!x}}<1, "x is less than 1", "x is more than 1")
>
> The second and third argument can be whatever sort of date you like.  
> Instead of strings they could be transclusions, or other functions or 
> complicated bits of math.
>
> IFS basically works like "if (arg1) {return arg2} else if (arg3) {return 
> arg4} else if (arg5) {return arg6} else return undefined".  The 
> odd-numbered arguments should be booleans and the even-numbered arguments 
> can be whatever you like.  So this would be fine:
>
> ifs(and({{!!x}} > {{!!y}}, {{!!x}} > {{!!z}}), "x is biggest", ({{!!y}} > 
> {{!!z}}), "y is biggest", TRUE, "z is biggest");
>
> Though it would be the same as:
>
> if(and({{!!x}} > {{!!y}}, {{!!x}} > {{!!z}}), "x is biggest", if({{!!y}} > 
> {{!!z}}, "y is biggest", "z is biggest"));
>
> Anyway, all the logic functions are designed to work like their 
> (better-documented) analogs in Excel and Google Sheets.
>
> * (Notably, formula currently uses javascript rules when determining 
> whether to treat numbers and strings as "true" or "false".  So zero and 
> empty strings are falsy, while non-zero numbers and non-empty strings are 
> truthy.  I can't guarantee this behavior will continue to be the case, as 
> it might be different from how spreadsheet software does things.)
>
>
> On Saturday, 16 December 2017 20:02:28 UTC-6, TonyM wrote:
>>
>> Evan,
>>
>> Please forgive my Ignorance; What can a and b be equal to in Formulas' 
>> logical functions, like IF and IFS?
>>
>> I am thinking if something evaluates to true how do I use this to
>>
>>- list
>>- transclude
>>- Use macro
>>- Show some text etc...
>>- Set a variable/field
>>
>>
>> I imagine there is a way to write a list filter if a formula it true to 
>> show when true (or False) etc...
>>
>> I expect knowing this may help the less sophisticated users (still me at 
>> this point) make use of formula.
>>
>> Thanks in Advance
>> Tony
>>
>> On Sunday, 17 December 2017 12:41:19 UTC+11, Evan Balster wrote:
>>>
>>> Hey, Tony —
>>>
>>> I'm not an impatient reader.  :)
>>>
>>> I've added a Date type in my working copy, based on JavaScript's 
>>> built-in Date (which is reasonably feature-rich).  TiddlyWiki has some 
>>> functions for date formatting in core, too.  Libraries like moment.js offer 
>>> a "kitchen sink" of features but I'm not sure if that's necessary at the 
>>> moment.
>>>
>>> Probably my next step will be to add a basic date parser and some 
>>> utility functions (convert timestamps, convert with string, construct and 
>>> decompose dates).
>>>
>>> *Is there value sharing what I find, or do you have it covered?*

>>>
>>> If you find something interesting, sure, share it.  But given that 
>>> there's standardized support for basic date processing in JavaScript itself 
>>> I'm going to try to steer clear of libraries.
>>>
>>> *May I ask how you use the results TRUE and FALSE in wikitest once 
 calculated?*

>>>
>>> Right now, the best use of these is in Formulas' logical functions, like 
>>> IF and IFS.  In the future I might implement a $formula-if widget that 
>>> works a little like the reveal widget.
>>>
>>> Expect a new update tomorrow or so.
>>>
>>>
>>>
>>> On Saturday, 16 December 2017 19:17:24 UTC-6, TonyM wrote:

 Evan,

 Very exciting, date manipulation is timely for me, rather than wait I 
 will look into some existing options. *Is there value sharing what I 
 find, or do you have it covered?*

 On multidimensional, I am not so much looking for array manipulation. 
 Tiddlywiki and your solution already meets my requirements. Imagin a large 
 2d spreadsheet with 3 columns containing unique keys (or missing keys) 
 even 
 including date/time. If you choose a key 

[tw] Re: [TW5] Needing to combine these 2 macros

2017-12-17 Thread Jon
Hi Mat,

Thanks for this and the instructions.

To be on the safe side I created a subfolder called "images" and put a 
photo in it.

This part<> produced the thumbnail alright but 
when clicked, there's a "File not found" message as it's still looking in 
the main folder rather than the "images" subfolder.

Almost there!

Jon



On Sunday, 17 December 2017 22:37:45 UTC, Mat wrote:
>
> Jon, this is how you would use this. Assume you have a subfolder in your 
> TW directory (i.e where your TW resides) called "images".
>
> In a tiddler you write 
>
> title: whatever you want
> tags: $:/tags/Macro
> text:
> \define imgpath(img) images/$img$
>
> \define imageit(image:"image.jpg")
> <$set name=path value=<>>
> > width="25%" height="25%" 
> />
> 
> \end
>
> Then in another tiddler you use it like so: 
>
> <>
>
>
> <:-)
>

-- 
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/1b12a54d-7054-402a-abfd-fba00cc4f579%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Inserting a picture in a Tiddler

2017-12-17 Thread TonyM
Surya,

You have come to the right place but at the wrong time. Tiddlywiki can meet 
your requirements for sure, but you need to invest a little time and ask 
the community. 

Perhaps identify how small you can make the image files as a set and see 
what the total size adds up to. Then either place it in a images folder 
below or embed them. If using an images folder use dropbox or drive/google 
drive as tiddlywiki access.

If you decide to use tiddlywiki now just get a tool to reduce the size and 
quality of your images enough and packing them in a tiddlywiki may be fine. 
Just use drag and drop once you have your smaller files then organise with 
tags, lists and transclusion in other tiddlers.

Regards
Tony




On Monday, 18 December 2017 06:28:50 UTC+11, Surya wrote:
>
> Hi Mark,
>
>
> you're right, I really don't want my Wiki become too big in size. But I 
> don't have the time at the moment for going deep in the other solutions- I 
> really don't understand nothing there. I am a poweruser with my computer, 
> but a simple one ;-)
> I searched now for months for a program for writing notes with pictures, 
> tags and formatting, working & synchronizing between Linux and Android. The 
> last 8 weeks I didn't do anything else- working, sleeping, eating and 
> searching / trying programs for notes. There are some great ones, but 
> always something important were missing. I have to build these two Wikis 
> inbetween the next month, and I know, it will be a lot of work
>
> That's why I cannot google now for days and days for learning the other 
> solutions (PHP and from the link of Stan).
>
> But I am sure, I will do that one time
> Bettina
>

-- 
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/30aa40a1-19e2-4508-b46a-8815c52946f4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Importing old Tiddlywiki plugins

2017-12-17 Thread TonyM
Marcel, As Jed Says

Use https://tiddlywiki.com/#CheckboxWidget

The value of the checkbox can be tags or values in fields, not cookies like 
in TWC

The Simple form from TWC [_] [X] is not available but perhaps someone can 
create that. 

But since you are building a todo list in a tiddler search for todo or 
checklist solutions and you will find half a dozen.

Best wishes,
Tony




On Monday, 18 December 2017 08:43:24 UTC+11, Marcel wrote:
>
> Coming back to TiddlyWiki after 12 years, and a lot has changed. I'm using 
> version 5.1.15 and would like to start using the CheckBoxPlugin from 
> http://www.tiddlytools.com/. That plugin is fairly old and does not seem 
> to be written for the modern Tiddlywiki architecture.
>
> Importing plugins now works via drag-and-drop, and I cannot seem to find 
> the name of the plugin starting with $:/.
>
> Can someone help me with how to install that old plugin in a new version 
> of TiddlyWiki?
>
> Thanks,
> -- Marcel
>

-- 
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/07ccb86b-3895-4405-85b5-9fa130e49ea5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Why is blockchain perfect for TW?

2017-12-17 Thread Mat
Having just jumped in on the cryptocraze (a token release for Sophia 
) and having read up a little 
on blockchains, I'm wondering if maybe this is the distributed network we 
need for sharing tiddlers and plugins and also enabling to monetize ones 
efforts if desired?

Here 

 
is an article that indicates it should be possible. It's just an arbitrary 
article, nothing special about it.

So, I'm just throwing out the question: Might blockchain be the solution 
for many problems in TW?

<:-)

-- 
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/444d1d4d-cfce-44df-8aab-cabf796cfaaf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Needing to combine these 2 macros

2017-12-17 Thread Mat
Jon, this is how you would use this. Assume you have a subfolder in your TW 
directory (i.e where your TW resides) called "images".

In a tiddler you write 

title: whatever you want
tags: $:/tags/Macro
text:
\define imgpath(img) images/$img$

\define imageit(image:"image.jpg")
<$set name=path value=<>>
> width="25%" height="25%" 
/>

\end

Then in another tiddler you use it like so: 

<>


<:-)

-- 
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/982e6aee-ea4b-4355-9956-a8648d5d35a9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Importing old Tiddlywiki plugins

2017-12-17 Thread Marcel
Hmm, okay. Maybe I'm missing something, but what I was looking for is to 
make todo lists without each item being a tiddler tagged with a specific 
tag.

I would like to create a simple list of items which I can prefix with '[ ]' 
turning them into a checklist. Then if I check one of these boxes, have the 
contents of the tiddler rewritten to '[X]' which renders as a checked 
checkbox.

I looked into the built-in checkbox, but it seems to require you to write 
'<>' and an expression that selects tiddlers as items. Can what I 
need be done with the built-in checkbox? If not, how can I add the old 
behavior into tiddlywiki5?

-- 
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/7cafeda8-62ce-4d3b-95cf-06bdd1cbb225%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: What's the xmastiddle bringing?

2017-12-17 Thread TonyM
A present to us all,

I think I may package some of my solutions and give a gift to the 
tiddlywiki community too.

Tony

On Monday, 18 December 2017 06:31:26 UTC+11, Jed Carty wrote:
>
> I am hoping to have the multi-user wiki plugin set up so that it can 
> server multiple wikis. Right now it is stable enough that I am using it on 
> my wikis so that may be my christmas present.
>

-- 
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/a11d9c3f-0c4c-4732-bf3f-825c512e421d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Importing old Tiddlywiki plugins

2017-12-17 Thread Jed Carty
I think that you can do everything that the checkbox plugin allowed you to 
do with the build-in checkbox widgets now.

Also none of the plugins from that site will work with the new tiddlywiki. 
A few years ago we switched to tiddlywiki 5 and for the most part it isn't 
backwards compatible with old plugins.

-- 
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/58214795-fdda-4766-aabf-cf7c554b4a0b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Needing to combine these 2 macros

2017-12-17 Thread Jon
Hi Mark,

Do you mean using this macro alone, instead of what's gone before?

In which case I put it into a tiddler, changed your example folder path, 
tagged it with $:/tags/Macro and in a separate tiddler inserted <>

However, no luck. What I did notice though is the macro tiddler produced a 
thumbnail which wanted to find...ImageFolder/$path$$image$. and the other 
tiddler didn't show anything.

Cheers
Jon

On Sunday, 17 December 2017 20:57:31 UTC, Mark S. wrote:
>
> This should do literally what you want:
>
> \define imageit(image:"image.jpg",path:"TW-Images/2017/")
>  height="25%" />
>
> BTW, I have a variation of Tobias' macro that allows me to configure the 
> image path with a drop-down selection of paths. So it's easier to hop 
> between platforms. At least in theory.
>
> -- Mark
>
>
>
>
> On Saturday, December 16, 2017 at 11:42:55 PM UTC-8, Jon wrote:
>>
>> Hi,
>>
>> This macro provided by Mark S in an earlier post 
>>  will 
>> give a clickable thumbnail image which will then go to full size in the 
>> browser. Inserting the macro in a tiddler and then tagging it with 
>> $:/tags/Macro 
>> will then, of course, make this a global effect for all photos in the wiki 
>> eg. <> (the quotes around this 
>> part "$image$" now allows for a gap in the picture file name).
>>
>> \define imageit(image:"image.jpg")
>>> >> "25%" />
>>> \end
>>>
>>> e.g.
>>>
>>> <>
>>>
>>>
>>>
>> I think this is brilliant, and I'm going to apply it retrospectively to 
>> all the pictures in my wiki.
>>
>> Whilst I'm at it, I'd also like to incorporate a global folder path for 
>> external images .
>>
>> So the question is, how do I join these two macros together?
>>
>> Thanks
>> Jon
>>
>>

-- 
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/763efb2a-ac02-48ef-9f5d-635270e7a5f4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Importing old Tiddlywiki plugins

2017-12-17 Thread Marcel
Coming back to TiddlyWiki after 12 years, and a lot has changed. I'm using 
version 5.1.15 and would like to start using the CheckBoxPlugin 
from http://www.tiddlytools.com/. That plugin is fairly old and does not 
seem to be written for the modern Tiddlywiki architecture.

Importing plugins now works via drag-and-drop, and I cannot seem to find 
the name of the plugin starting with $:/.

Can someone help me with how to install that old plugin in a new version of 
TiddlyWiki?

Thanks,
-- Marcel

-- 
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/5a9a219c-e2bc-438d-9451-ca33d939ef9a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Needing to combine these 2 macros

2017-12-17 Thread Jon
Hi Mat,

Thanks for your reply.

I don't know if this is what you intended, but I inserted your macro before 
the macro in the $:/macros/ximg  

tiddler.

I then typed <> in a new tiddler which produced a photo 
from the global directory as before, but it didn't have the desired 
clickable action.

(<> produced an empty thumbnail)

As you've probably gathered, I've no idea how these things go together.

Should I have done something else?


Thanks
Jon

On Sunday, 17 December 2017 13:00:02 UTC, Mat wrote:
>
> I think this should work
>
> \define imgpath(img) images/$img$
>
> \define imageit(image:"image.jpg")
> <$set name=path value=<>>
> > width="25%" height="25%" 
> />
> 
> \end
>
>
>
> <:-)
>
>

-- 
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/44240393-f0f4-4cc4-b064-3fd7acf52312%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: What's the xmastiddle bringing?

2017-12-17 Thread Jed Carty
I am hoping to have the multi-user wiki plugin set up so that it can server 
multiple wikis. Right now it is stable enough that I am using it on my 
wikis so that may be my christmas present.

-- 
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/3c1b3e1c-3363-46b4-ac51-02ea31cfb8ca%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Inserting a picture in a Tiddler

2017-12-17 Thread 'Surya' via TiddlyWiki

>
> Hi Mark,


you're right, I really don't want my Wiki become too big in size. But I 
don't have the time at the moment for going deep in the other solutions- I 
really don't understand nothing there. I am a poweruser with my computer, 
but a simple one ;-)
I searched now for months for a program for writing notes with pictures, 
tags and formatting, working & synchronizing between Linux and Android. The 
last 8 weeks I didn't do anything else- working, sleeping, eating and 
searching / trying programs for notes. There are some great ones, but 
always something important were missing. I have to build these two Wikis 
inbetween the next month, and I know, it will be a lot of work

That's why I cannot google now for days and days for learning the other 
solutions (PHP and from the link of Stan).

But I am sure, I will do that one time
Bettina

-- 
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/367b18ec-5bad-4c75-b8db-9581f838cb22%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] What's the xmastiddle bringing?

2017-12-17 Thread Ste Wilson
As we approach the most tiddlery of times I wondered what would be filling your 
tiddlerstocking hanging over your nice regex fire? Don't forget to leave out 
some nice scotch for 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/b6852aa2-5e20-4bdb-9096-4767934bde0b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Is decrypting tiddlers on Chrome for Android no longer supported?

2017-12-17 Thread Duarte Farrajota Ramos
So just for the record turns out it was probably either an issue with 
Chrome or perhaps with my custom ROM, I can now apparently successfully 
decrypt on Chromium based browsers.
Did a full system update again and it seems to be working as intended now, 
either the Chrom* issue was solved or the incompatibility with my ROM is 
gone.

Go figure... :)

On Tuesday, 11 July 2017 18:12:55 UTC+1, Duarte Farrajota Ramos wrote:
>
> So I recently bough a new Android phone with the latest 7.1.2, and was 
> happily gonna transfer my regular TiddlyWiki files into the new device. I 
> have always used AndTidWiki on my old phone (Android 5.0) without issues so 
> I was surprised to find that on the new device it could never decrypt any 
> password protected TiddlyWikis.
>
> I tried the default system browser, and many other browsers from the 
> Playstore and non work. I even tough I was somehow wrongly inputting my 
> password, but the only way I could still access my password protected TWs 
> in the new phone is through Firefox for Android (obviously Gecko based), 
> which points to something with Chromium/Blink render engine which is the 
> common point for all other browsers.
> I have tried opening from the SDCard, internal memory, or directly from 
> the web (just to rule that out) and no password protected TW5 ever opens, 
> it just fails silently as if the password is wrong,
>
> So is this a known issue, anyone else experiencing this problem? Is this 
> somehow a problem with Android security, or the Chrome/Blink engine itself, 
> or is it a TiddyiWiki incompatibility?
> Or is this just an issue specific to my phone/ROM?
>
> Any known way around it, or is there something I can do to help diagnose 
> the problem? Any help would be greatly 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 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/bc5b9bf3-995b-475e-ba8b-d137eda8c617%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Inserting a picture in a Tiddler

2017-12-17 Thread 'Mark S.' via TiddlyWiki
The problem with this approach is that you can quickly inflate the size of 
your TW. Depending on the power of your device, somewhere between 6 and 30 
megs your TW will become unusable. That is why it is better to link to 
images outside your TW, either on your device or in the cloud.

-- Mark



> @all TiddlyWiki-Beginners:
>
>- Klick this "Import"-Button (the button is a paperclip) on the 
>sidebar. If it is not visible, klick the down-arrow for more 
> possibilities, 
>there it should be shown then.
>- In the PopUp-Window choose your file, double-click it or click on 
>"open".
>- Wait until the "Import"-Tiddler opens.
>- In the "Import"-Tiddler click on "Import"
>- Wait until the "Import"-Tiddler shows the (blue) link of that picture
>- For an example, you have a picture called "picture.jpg"
>- Now you can in any other Tiddler link it with [[picture.jpg]] or 
>show it with {{picture.jpg}} or [img[picture.jpg]] or show it 
>left-aligned with the size 30% <>
> 
>- You can see that picture now everywhere (Desktop-PC, Smartphone, 
>Tablet), where the TiddlyWiki is synchronized with. I use my TiddlyWiki on 
>Chrome / Linux with TiddlyDrive & Google Drive and on Android (Smartphone 
> & 
>Tablet) also with Google Drive.
>
> Again thankyou all and see you in my next coming questions ;-)
> Bettina
>

-- 
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/b0ba7372-6fd5-4ea9-bb39-3c1a034c7e99%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Inserting a picture in a Tiddler

2017-12-17 Thread 'Surya' via TiddlyWiki


> Hi,

 
thankyou all for your really fast answers :-)

@BurningTreeC: Now that works- after I found the possibility of importing 
pictures :-)

@Mark S: Unfortunately I didn't understand anything in that link you wrote. 
I googled and googled for this PHP, but really understood just nothing

@Stan001: That sounds really great. I also don't want my TiddlyWiki get too 
big. But unfortunately I didn't understand how to do it. And because I have 
to build two TiddlyWikis with hundreds of notes in fast time, I couldn't 
spend so much time for just trying to understand what they are talking 
about in that link. But maybe one time I'll go back to that and try to 
learn it

@TonyM: I didn't find it there. But I tried then again all the buttons in 
the sidebar. And there was the solution: Over "importing different types of 
files (i.e. text, images, TiddlyWiki or JSON)".

@all TiddlyWiki-Beginners:

   - Klick this "Import"-Button (the button is a paperclip) on the sidebar. 
   If it is not visible, klick the down-arrow for more possibilities, there it 
   should be shown then.
   - In the PopUp-Window choose your file, double-click it or click on 
   "open".
   - Wait until the "Import"-Tiddler opens.
   - In the "Import"-Tiddler click on "Import"
   - Wait until the "Import"-Tiddler shows the (blue) link of that picture
   - For an example, you have a picture called "picture.jpg"
   - Now you can in any other Tiddler link it with [[picture.jpg]] or show 
   it with {{picture.jpg}} or [img[picture.jpg]] or show it left-aligned 
   with the size 30% <> 
   - You can see that picture now everywhere (Desktop-PC, Smartphone, 
   Tablet), where the TiddlyWiki is synchronized with. I use my TiddlyWiki on 
   Chrome / Linux with TiddlyDrive & Google Drive and on Android (Smartphone & 
   Tablet) also with Google Drive.

Again thankyou all and see you in my next coming questions ;-)
Bettina

-- 
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/9b70c8e9-6714-46ef-98f9-f251c7df411d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Needing to combine these 2 macros

2017-12-17 Thread Mat
I think this should work

\define imgpath(img) images/$img$

\define imageit(image:"image.jpg")
<$set name=path value=<>>
> width="25%" height="25%" 
/>

\end



<:-)

-- 
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/5639cc6f-1bbb-45b5-b664-36e8fd7f2a59%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [INTRO] uni-link plugin now includes an Alias links- and backlinks-mechanism

2017-12-17 Thread Mat
@pmario

Maybe I misunderstand something but does uni-link introduce "subtitle" as a 
new field that basically is a caption field but with space separated words?

IMO the term subtitle is implicitly already taken for the 
$:/core/ui/ViewTemplate/subtitle 
 i.e 
the line below the title. But if "implicitly used" is not enough, there is 
also a field explicitly named "subtitle" as used by the core as "The 
subtitle text for a wizard" according to this tiddler 
.

One idea for name for a space-separated caption field could be 
"spaced_caption" or similar.

<:-)

-- 
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/21a2032b-4145-41de-9031-80c533b29712%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Formula: Spreadsheet-like mathematics for TiddlyWiki

2017-12-17 Thread Evan Balster
Hey, Tony —

I might have been a little terse in documenting the logical functions.

The IF function chooses between its second and third arguments based on the 
first.  For example,

if({{!!x}}<1, "x is less than 1", "x is more than 1")

The second and third argument can be whatever sort of date you like.  
Instead of strings they could be transclusions, or other functions or 
complicated bits of math.

IFS basically works like "if (arg1) {return arg2} else if (arg3) {return 
arg4} else if (arg5) {return arg6} else return undefined".  The 
odd-numbered arguments should be booleans and the even-numbered arguments 
can be whatever you like.  So this would be fine:

ifs(and({{!!x}} > {{!!y}}, {{!!x}} > {{!!z}}), "x is biggest", ({{!!y}} > 
{{!!z}}), "y is biggest", TRUE, "z is biggest");

Though it would be the same as:

if(and({{!!x}} > {{!!y}}, {{!!x}} > {{!!z}}), "x is biggest", if({{!!y}} > 
{{!!z}}, "y is biggest", "z is biggest"));

Anyway, all the logic functions are designed to work like their 
(better-documented) analogs in Excel and Google Sheets.

* (Notably, formula currently uses javascript rules when determining 
whether to treat numbers and strings as "true" or "false".  So zero and 
empty strings are falsy, while non-zero numbers and non-empty strings are 
truthy.  I can't guarantee this behavior will continue to be the case, as 
it might be different from how spreadsheet software does things.)


On Saturday, 16 December 2017 20:02:28 UTC-6, TonyM wrote:
>
> Evan,
>
> Please forgive my Ignorance; What can a and b be equal to in Formulas' 
> logical functions, like IF and IFS?
>
> I am thinking if something evaluates to true how do I use this to
>
>- list
>- transclude
>- Use macro
>- Show some text etc...
>- Set a variable/field
>
>
> I imagine there is a way to write a list filter if a formula it true to 
> show when true (or False) etc...
>
> I expect knowing this may help the less sophisticated users (still me at 
> this point) make use of formula.
>
> Thanks in Advance
> Tony
>
> On Sunday, 17 December 2017 12:41:19 UTC+11, Evan Balster wrote:
>>
>> Hey, Tony —
>>
>> I'm not an impatient reader.  :)
>>
>> I've added a Date type in my working copy, based on JavaScript's built-in 
>> Date (which is reasonably feature-rich).  TiddlyWiki has some functions for 
>> date formatting in core, too.  Libraries like moment.js offer a "kitchen 
>> sink" of features but I'm not sure if that's necessary at the moment.
>>
>> Probably my next step will be to add a basic date parser and some utility 
>> functions (convert timestamps, convert with string, construct and decompose 
>> dates).
>>
>> *Is there value sharing what I find, or do you have it covered?*
>>>
>>
>> If you find something interesting, sure, share it.  But given that 
>> there's standardized support for basic date processing in JavaScript itself 
>> I'm going to try to steer clear of libraries.
>>
>> *May I ask how you use the results TRUE and FALSE in wikitest once 
>>> calculated?*
>>>
>>
>> Right now, the best use of these is in Formulas' logical functions, like 
>> IF and IFS.  In the future I might implement a $formula-if widget that 
>> works a little like the reveal widget.
>>
>> Expect a new update tomorrow or so.
>>
>>
>>
>> On Saturday, 16 December 2017 19:17:24 UTC-6, TonyM wrote:
>>>
>>> Evan,
>>>
>>> Very exciting, date manipulation is timely for me, rather than wait I 
>>> will look into some existing options. *Is there value sharing what I 
>>> find, or do you have it covered?*
>>>
>>> On multidimensional, I am not so much looking for array manipulation. 
>>> Tiddlywiki and your solution already meets my requirements. Imagin a large 
>>> 2d spreadsheet with 3 columns containing unique keys (or missing keys) even 
>>> including date/time. If you choose a key and sort on it before you 
>>> manipulate a 2D array you are effectively looking at the data in another 
>>> dimension. This is very easy for TiddlyWiki.
>>>
>>> *May I ask how you use the results TRUE and FALSE in wikitest once 
>>> calculated?*
>>>
>>> Do you use it in filters etc?
>>>
>>> Regards
>>> Tony
>>>
>>> On Sunday, 17 December 2017 03:20:17 UTC+11, Evan Balster wrote:

 Question: do you have or are you planning any rounding  or averaging 
> functions?


 There are rounding functions in there now.  See "Functions" and 
 "FormulaWidget" in the doc wiki.  No averaging yet, but that's a popular 
 function I'll replicate at some point soon.  (My last round of functions 
 was ).

 I did find that the rounding functions fail when a second parameter is 
> provided, so I submitted an issue on Github.


 Ah, I'll fix those then.  Good catch.


 I am very interested in "Multidimensional" arrays.

  
 From what I can tell Excel and Sheets can do 1D and 2D arrays, and 
 these may be internally represented as selection sets.  Anyway, there's a 
 lot of