[tw] Re: [TW5] Tabs Macro - alt names for tabs

2016-01-30 Thread Tobias Beer
Hui Hegart,
 

> I've had a go at a pull request, but I'm not sure if I've done this 
> correctly.
>
> *#4b528a5 
> 
>  
> Added optional tab-caption as a fallback field*
>

Great. 

I think that is just a commit to my fork of Jeremy's repo though. Sorry, 
> I'm still not really all that confident with GitHub.
>

Nonone expects things to be perfect the fist time around.
I think it's great you did this important "first" step to see how the 
experience unfolds.

Best wishes,

Tobias.

-- 
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/0693879e-4b4e-4e75-88c8-de80f21d5594%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: TW5 (or TWederation maybe?) based on P2P websites network ZeroNet.io

2016-01-30 Thread Barter Sympson
My mistake. I seed the sites not host. Also I am not creator of all this 
sites, just one of them. And I haven't dedicated machine for that. Instead 
I got regular notebook which isn't 24/7 working. But the sites are 24/7 
accessible because most of them are distributed among more then 10 peers. 
Each one-time-visitor becomes a peer for visited site by default. Each peer 
can delete any site manually from his HDD if he don't like to seed it.

On Saturday, January 30, 2016 at 7:17:14 PM UTC, Tobias Beer wrote:
>
> Hi Barter,
>  
>
>>  For now I host about 60 p2p sites personally, and it takes about 2,5 Gb 
>> of my HDD. 
>>
>
> Am I right in the assumption that for your p2p sites you have a dedicated 
> machine that kinda like acts as an "always on" peer / seed, i.e. "server"?
>
> Best wishes,
>
> Tobias. 
>

-- 
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/22a13ffd-c9ea-4d0f-8cd9-363a444385fb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5]Question about days operator

2016-01-30 Thread Tobias Beer
Hi CL,

For one, I think the documentation of the days filter — especially the 
output — is highly confusing, almost non-understandable. I'd also think the 
current examples are not sufficient. In fact, some issues may need 
"dynamically created test tiddlers" to demonstrate how they work.

This macro retrieve task due in 7 days but includes task due yesterday.
>
> <> 
>

So, if I understand you right, you wish to get a list of all that are due 
within *{-1,+7}*, correct?

Best wishes,

Tobias.

-- 
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/55ecd8e5-17bf-4e30-9b5e-96bb0e286f07%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: TW5 (or TWederation maybe?) based on P2P websites network ZeroNet.io

2016-01-30 Thread Tobias Beer
Hi Barter,
 

>  For now I host about 60 p2p sites personally, and it takes about 2,5 Gb 
> of my HDD. 
>

Am I right in the assumption that for your p2p sites you have a dedicated 
machine that kinda like acts as an "always on" peer, i.e. "server"?

Best wishes,

Tobias. 

-- 
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/1f272ea0-3c7b-4b8c-aa3c-7c26c6ae3954%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: A View Mode Editor and a simple Calcualtor

2016-01-30 Thread Yakov
Hi Vincent,

how are you? Any progress with the development? (arrow navigation between 
blocks, that stuff :)

Best regards,
Yakov.

-- 
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/26109991-0c51-4815-88a1-a257d65c41a0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: TW5 (or TWederation maybe?) based on P2P websites network ZeroNet.io

2016-01-30 Thread Barter Sympson
In that case you won't be able to access to these files. It may happen in 
future when the volume of all content of the network will rise drastically. 
I think this problem will be solved by that time with something like Storj, 
 Filecoin,  or IPFS 
+ Ethereum .

Zeronet uses only cryptography from Bitcoin). Domain names in zeronet is 
organized via Namecoin, but one can escape registering any and create site 
with name something like 1EU1tbG9oC1A8jz2ouVwGZyQ5asrNsE4Vr for free.

 For now I host about 60 p2p sites personally, and it takes about 2,5 Gb of 
my HDD. 
On Thursday, January 28, 2016 at 10:01:57 AM UTC, Tobias Beer wrote:
>
> Hi,
>  
>
>> When you visit a new zeronet site, it tries to find peers using the 
>> BitTorrent network so it can download the site files (html, css, js...) 
>> from them. Each visited site becomes also served/seeded by you.
>>
>
> What happens if there are no "peers" seeding those files?
> Sounds to me there must be some server-like "peers" hanging about there,
> otherwise most all resources would be unavailable half the time.
>
> As a side-note, anything involving bitcoin is highly suspicious to me.
>
> Best wishes,
>
> Tobias. 
>

-- 
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/60b44377-aa89-4bcf-ac73-59facb53b716%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Tabs Macro - alt names for tabs

2016-01-30 Thread Hegart Dmishiv
Hi Tobias,

Do I need to do something else to get that PR into Jeremy's pull requests 
list ? It's not showing up 
there yet. I did that one PR before Christmas, for something minor in the 
TW documentation, but I can't remember what it was I did to get that one 
into the PR list. I feel like a fraud, with Jeremy having included me in 
the "contributors" list for the v5.1.10 release, just for that. ;-)

Hegart.


On Saturday, 30 January 2016 22:24:16 UTC+13, Tobias Beer wrote:
>
> Hui Hegart,
>  
>
>> I've had a go at a pull request, but I'm not sure if I've done this 
>> correctly.
>>
>> *#4b528a5 
>> 
>>  
>> Added optional tab-caption as a fallback field*
>>
>
> Great. 
>
> I think that is just a commit to my fork of Jeremy's repo though. Sorry, 
>> I'm still not really all that confident with GitHub.
>>
>
> Nonone expects things to be perfect the fist time around.
> I think it's great you did this important "first" step to see how the 
> experience unfolds.
>
> Best wishes,
>
> Tobias.
>

-- 
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/af27bfd9-8342-404b-8289-ff01c59619d5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] [TW5] Announcing TiddlyWiki v5.1.11

2016-01-30 Thread Jeremy Ruston
TiddlyWiki version 5.1.11 has just been released to fix a problem with
accessing the official plugin library in 5.1.10.

http://tiddlywiki.com/

There are technical details of the problem here:

https://github.com/Jermolene/TiddlyWiki5/issues/2260

Since there are no other changes, users are advised to immediately upgrade
any 5.1.10 files to the new release. Users upgrading older wikis should --
as usual -- be sure to keep careful backups before upgrading at:

http://tiddlywiki.com/upgrade.html

As usual, feedback is gratefully received!

Best wishes

-- 
Jeremy Ruston
mailto:jeremy.rus...@gmail.com

-- 
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/CAPKKYJb3XsP86ThtXB_8WEkuZWhKQ1javBdeFTiho5ODr%2Bxy7Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: How to get multiple text fields in Tiddler?

2016-01-30 Thread Sebas
Hello again,

Just to give an example: If I create my own editor/menu for my tiddlers and 
use something like:

<$edit-text tiddler="Target" field="text"/>

In this example, I can put normal wikitext and macro definitions in the 
text field. Everything works just fine.

But if I want my own second text field like so:

<$edit-text tiddler="Target" field="MyTextField"/>

The widget will change to a one-line field and if I display 
{{!!MyTextField}}, this will not display like a normal tiddler, because 
many things will not work ... like macro definitions or more complex 
formating.

Is there a way to set any field to type "text/vnd.tiddlywiki"? I guess that 
is all I am looking for.

Best regards,
Sebas




-- 
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/7bfb9ed5-4921-4cc1-bffc-4c4d1ed001fd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: [TW5] Unwanted behaviour when clicking duplicated tag pills

2016-01-30 Thread Eric Shulman


On Saturday, January 30, 2016 at 2:31:12 PM UTC-8, Thomas Woite wrote:
 

> Isn't what I am doing in the inner list (the {{||}} call of the tag 
> template a seperate transaclusion for each single tag? Or am I on the wrong 
> track here somehow?
>

That seems correct.  The transclusion creates a separate branch in the 
parse tree, so any <> macros it contains will produce a unique 
hash value for each tag template that is transcluded by the $list widget.


>  Nevertheless I tried to build on Jeremys comment, that the tag template 
> in difference to the tab macro does not have the ability to define a custom 
> state.
> I tried my own version of the tag template and enhanced the macros with a 
> custom state parameter to be passed in, but all I accomplished was, that 
> the click on my tags
> did not give any result at all. No popup, nothing.
>
> // my altered version of the tag-body-inner macro
> [...]
>
> \define tag-body-inner(colour,fallbackTarget,colourA,colourB*, state*)
> <$set name="foregroundColor" value=< fallbackTarget:"""$fallbackTarget$""" colourA:"""$colourA$""" 
> colourB:"""$colourB$""">>>
> <$set name="backgroundColor" value="""$colour$""">
> <$button popup=*<>* class="tc-btn-invisible 
> tc-tag-label" style=<>>
> <$transclude tiddler={{!!icon}}/> <$view field="title" format="text" />
> 
> <$reveal state=<> type="popup" 
> position="below" animate="yes"><$transclude 
> tiddler="$:/core/ui/ListItemTemplate"/>
> 
> <$list filter="[all[current]tagging[]]" 
> template="$:/core/ui/ListItemTemplate"/>
> 
> 
> 
> 
> \end
> [...]
>
>
>
The problem is that the state="..." param in the $reveal widget *must* be 
the same value as the popup="..." param in the corresponding $button 
widget.  Thus, you need to write:
<$button popup=<>...
<$reveal state=<> ...

or perhaps this would be even better:
<$button popup=<>
<$reveal state=<>

Also, note the use of tripled quotes around the parameters.  This is 
important, because the $state$ value MIGHT contain a double quote since you 
are constructing it from a tiddler title, which is allows to have quotes in 
it.  The triple quotes ensure that any quotes embedded in the value are not 
treated as a closing delimiter for the parameter itself.
 

> The state parameter I am passing in is build in a own macro, concatenated 
> from a the tiddler title and the current tag
>
> \define createTag(title, tag)
> <$set name="id" value="$:/state/popup/tag$title$$tag$">
> <$macrocall $name="tag-body" colour={{!!color}} palette={{$:/palette}} 
>  state=$(id)$/>
> 
> \end
>
>
One small problem here is that you forgot the quotes are $(id)$.  Since the 
id value MIGHT contains spaces (from the tiddler title), you should write:
... state="""$(id)$"""

Howevr, the much bigger problem here is that you can't use the $(id)$ 
syntax to insert the value from a variable that was just $set.  Macros do 
NOT "run" their content and return the output.  Rather, then ONLY expand 
the $(variable)$ and $param$ references that exist when it is invoked and 
then return THAT content for processing in the calling context.  Thus, your 
macro, when called with <> produces this output:
<$set name="id" value="$:/state/popup/tagfoobar">
<$macrocall $name="tag-body" colour={{!!color}} palette={{$:/palette}} 
 state=$(id)$/>

Note that the $(id)$ syntax remains, because the variable was NOT defined 
when the macro was *invoked*.

Fortunately, for this particular use case, there is a proper syntax that 
WILL work.  Since you are using the variable as a macro param, you can use 
<> in place of $(id)$:
\define createTag(title, tag)
<$set name="id" value="$:/state/popup/tag$title$$tag$">
<$macrocall $name="tag-body" colour={{!!color}} palette={{$:/palette}} 
 state=<>/>

\end

Unlike the $(variable)$ expansion that occurs within macros, <> 
references are evaluated whenever they occur in a "wikitext" rendering 
context, which includes the processing of widget parameter values.  Thus, 
unlike $(id)$, using <> DOES retrieve the variable value that was just 
$set.

I hope this makes things a bit clearer

let me know how it goes.

enjoy,
-e
Eric Shulman
TiddlyTools / ELS Design Studios
Inside TiddlyWiki: 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/d33e4093-988d-4319-8399-d5738e241746%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] How to get multiple text fields in Tiddler?

2016-01-30 Thread Sebas
Hi  everyone,

Have to say again, TiddlyWiki is great ... and more people need to know 
about it! ...

But my question: is there a way to get more than one "text" field in a 
tiddler?

I know I can just show the text of any field with {{!!myTextField}}, 
however this is not wikified correctly ... I think because there are no 
newline characters in it.
I want to have only one tiddler for one topic/semantic unit. At the moment 
I use something like this in one tiddler:
/define text_lang_en() 
/define text_lang_fr() 
<>
and so on. And then each tiddler has a macro that displays the correct 
language. But this is really not nice when editing it, I would rather like 
to be able to change the language with the ActionWidget so that the 
tiddlers text field refers to "text_en" or "text_fr" ... and the editor 
displays an empty new tiddler (for that language).
I know there are other means for translations, but this would not only be 
useful for translations.

I would greatly appreciate any ideas on this ...

Cheers,
Sebas

-- 
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/88651dd5-438e-4d55-bb9a-eae62235a8e3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Simple emojis like this

2016-01-30 Thread HansWobbe
Tobi:

I've been working with "Unicode values as tags" for a few years now and am 
having reasonable success thinking of them as a very large "alphabet".

Unfortunately (as the unicode consortium freely cautions), the order of the 
characters is not necessarily in the same order as expect by the users of 
the natural language)s) in which the letters originate.  Obviously, this 
can cause apparent SORT inconsistencies.

That being said, I've been quite successful in identifying long strings of 
characters that do have "expected" sort sequences, so I've been able to 
create some very long "vectors" that I can index through.  This is 
particularly powerful when combined with your cycleTags macro since its 
possible to create "mixed radix positional notation)s" that become a very 
powerful "Number System" that effectively creates a structure for all of 
the left-most values.  I have good results explaining this staring with an 
"odometer" analogy and then suggesting that each of the "positions" in the 
number can have a different base.  Canadians catch on quite quickly since 
our postal codes are ANA-NAN  e.g. M1C-3L3 which equates to  ... 

 13X26^5 + 1x10^4 + 3x26#3 + 3x10^2 + 12x26^1 + 3x10^0

It may not be obvious how this relates to what I believe you are working 
on, but I would be happy to try to make it clear, if you are interested.

Cheers (and gratitude for all of your many contributions to this community),
Hans





On Thursday, January 28, 2016 at 8:46:25 AM UTC-5, Tobias Beer wrote:
>
> Hi Mat,
>
> I was working on a plugin called itags, which I intended for use as 
> "inline-tags".
>
> They would cater for two cases:
>
> 1. #hashtag like tags
>
> with different possible prefixes, e.g. ! ? & $
>
> 2. inline tags
>
> That would specify a category and then an item from that category. This is 
> where I would put emoji's.
>
> With my envisioned wikitext, the syntax would be freely definable and 
> something like:
>
> ::the-tag::
> ::category|item::
> ::emo|smile::
> ::emo|sad::
> ::emo|angry::
> ::wheather|sunny::
>
> Both the category (left) and the [optional] item (right) are freely 
> definable via either individual tiddlers or dictionary tiddlers.
> Obviously, unicode emojis would be in the form of dictionaries.
>
> The reason why I got stuck with this is that #hashtags break palettes 
> (grrr):
>
> *#2192 hashtags wikirule breaks stylesheets*
> https://github.com/Jermolene/TiddlyWiki5/issues/2192
>
> On the other hand, *Sukima* might just have been a step ahead:
> https://github.com/Jermolene/TiddlyWiki5/issues/2256#issuecomment-176184426
>
> Best wishes,
>
> Tobias.
>


 

-- 
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/9d745137-5179-45d4-84f0-99e24fc8f33f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: [TW5] Unwanted behaviour when clicking duplicated tag pills

2016-01-30 Thread Thomas Woite
Hi all,

I am all knew to tiddlywiki and facing the same problem. I try to use the 
task example from the TW5 Homepage and enhance it, so that right next to 
each task I can see the tags attached to this tiddler.

Maybe my understanding of what excactly "different transclusions mean" is 
all wrong and i can't get it fixed.


<$list filter="[!has[draft.of]tag!tag[done]sort[created]]">

<$checkbox tag="done"> <$link to={{!!title}}><$view 
field="title"/>
<$list filter="[all[current]tags[]sort[title]] +[remove[Task todo]] " 
storyview="pop">
  {{||$:/core/ui/TagTemplate}}




Isn't what I am doing in the inner list (the {{||}} call of the tag 
template a seperate transaclusion for each single tag? Or am I on the wrong 
track here somehow?


 Nevertheless I tried to build on Jeremys comment, that the tag template in 
difference to the tab macro does not have the ability to define a custom 
state.
I tried my own version of the tag template and enhanced the macros with a 
custom state parameter to be passed in, but all I accomplished was, that 
the click on my tags
did not give any result at all. No popup, nothing.

// my altered version of the tag-body-inner macro
[...]

\define tag-body-inner(colour,fallbackTarget,colourA,colourB*, state*)
<$set name="foregroundColor" value=<>>
<$set name="backgroundColor" value="""$colour$""">
<$button popup=*<>* class="tc-btn-invisible 
tc-tag-label" style=<>>
<$transclude tiddler={{!!icon}}/> <$view field="title" format="text" />

<$reveal state=<> type="popup" 
position="below" animate="yes"><$transclude 
tiddler="$:/core/ui/ListItemTemplate"/>

<$list filter="[all[current]tagging[]]" 
template="$:/core/ui/ListItemTemplate"/>




\end
[...]


The state parameter I am passing in is build in a own macro, concatenated 
from a the tiddler title and the current tag

\define createTag(title, tag)
<$set name="id" value="$:/state/popup/tag$title$$tag$">
<$macrocall $name="tag-body" colour={{!!color}} palette={{$:/palette}} 
 state=$(id)$/>

\end

Am I completely off track here?

Regards,
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/61a37e9c-d2b9-4962-ab4f-3060af1527a1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: List continue formatting

2016-01-30 Thread Scott Simmons (Secret-HQ)
On Wednesday, January 27, 2016 at 11:41:21 AM UTC-5, Jake Dulivitch wrote:

As I'm recommending Tiddlywiki for people that are not familiar with any 
> coding, I was hoping to use only wikitext notation,
> however using html, obviously, won't be a problem.
>
 
Hi, Jake —

If you want to avoid HTML tags, triple quotes will do the trick, too:

#This is list item 1.
#"""This is list item 2.

It goes on a ways.
As you can see.

On multiple lines, even."""
#And this is list item 3.

;)

-- 
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/6df0c122-d64c-43b9-98eb-26dd355f63ce%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: How to get multiple text fields in Tiddler?

2016-01-30 Thread Tobias Beer
Hi Sebas,

I am not actually sure I quite understand the multi-language approach you 
were trying to take.
Fwiw, for more than one reason, I would not recommend overloading 
individual tiddlers
with various language versions of it in the form of fields, problem #1 
being the title.

Admittedly, I have yet to see a properly defined multi-language operational 
mode emerge.

To avoid conflicts, I would have all tiddlers prefixed with the language, 
e.g. *en-Welcome*, *fr-Bienvenue*...
and then have that prefix removed from the title display, and display a 
"pretty-title" if defined in a field.

Ideally, that pretty title (or the title after removing the language 
prefix) is consistently displayed throughout the wiki,
not just in the title itself but also for links. So, this begs for a core 
LinkTemplate.

In any case, translations would not be different fields here, but 
independent tiddlers.
I probably would define a *master* language of which to make translated 
versions in other languages.
Each language version would point to the corresponding tiddler in the 
master language, e.g. in some "master" field.
In other words, all translated versions could be fetched by looking for all 
tiddlers that have their
master field set to a give title, e.g. to the same title as the one we're 
looking at...
and could be displayed as of this or that language depending on the prefix.

Best wishes,

Tobias.

-- 
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/8b39619d-5a59-4dea-aa0e-1a261ad3d753%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Simple emojis like this

2016-01-30 Thread Tobias Beer
Hi Hans,
 

> It may not be obvious how this relates to what I believe you are working 
> on, but I would be happy to try to make it clear, if you are interested.


Please forgive the ignorance I felt when reading your post.
I had a very hard time understanding what you were actually suggesting
and where it could perhaps play a role and how. :D

Can you perhaps give some "real-world" example of what you suggested there
as well as how and where you see it applied?

Best wishes,

Tobias.

-- 
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/72479352-8033-4128-b901-7bc1e797b58e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Tabs Macro - alt names for tabs

2016-01-30 Thread Scott Simmons (Secret-HQ)
On Thursday, January 28, 2016 at 3:37:19 PM UTC-5, Hegart Dmishiv wrote:

Nice to see someone else came up with the same solution I did, Scott
>

"GMTA," as they say.  ;)
 

> I see in your macro, line 7 contains your *caption_alt* field. Very cool. 
> Is there any advantage of one method over the other, of using a shadow 
> tiddler versus copying the core macro contents to a whole new macro as we 
> did?
>

Well, the existing macro *is* a shadow tiddler, so if we changed and saved 
it, we'd effectively "overwrite" the shadow, leaving our TiddlyWiki with 
only the new <$tabs> macro we just created.  I decided to clone the core 
macro and give it a new name so that the basic <$tabs> from the core would 
still be available.  That way, if <$tabs> gets major updates in the core 
somewhere down the line, I'll be able to see them in my regular tabsets — 
and adjust my home-baked <$tabs-altCaptions> macro accordingly.

Best of both worlds, in my opinion!  ;)

-- 
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/22c26df1-520f-4eed-b5f9-7b52ee8df1fb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] [TW5] Template Transclusion Within <$List> Macro

2016-01-30 Thread Tobias Beer
What's wrong with using either of:

<$list filter="...">
{{||template}}


Or then...

<$list filter="..." template="template title"/>

?

Best wishes, Tobias.

-- 
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/b16c5dac-246e-4320-a572-268a4fa157d2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Re: [TW5] Unwanted behaviour when clicking duplicated tag pills

2016-01-30 Thread Matabele
Hi Thomas

There's a <> macro which often simplifies things -- for example, try 
this (in a tiddler with some tags.)

<$list filter="[tags[]]"><>

This can then be placed within another list -- for example try this on 
tw5.com:

<$list filter="[tag[Concepts]]">

{{!!title}} <$list filter="[is[current]tags[]]"><>


-- the outer listing uses a filter to select the tiddlers from which you 
wish to view the tags
-- the inner list then displays the list of tags for the current tiddler

regards

On Sunday, 31 January 2016 00:31:12 UTC+2, Thomas Woite wrote:
>
> Hi all,
>
> I am all knew to tiddlywiki and facing the same problem. I try to use the 
> task example from the TW5 Homepage and enhance it, so that right next to 
> each task I can see the tags attached to this tiddler.
>

-- 
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/e733d8a3-141f-40ae-9e3e-2a5e3b71a8a9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: How to get multiple text fields in Tiddler?

2016-01-30 Thread Matabele
Hi Sebas

This doesn't entirely address your problem, but might help a little.

Instead of {{!!MyTextField}} -- try this:

<$transclude field="MyTextField" mode="block"/>


However, I'm inclined to agree with Tobias -- I think it will be more 
flexible to create separate tiddlers for each language, then transclude the 
tiddlers (the 'text' field of each language tiddler.) In this way, the 
material can be edited as normal, and transclusion is simpler.)

A thought: if you peruse the material here 
 -- I have been playing around with 
'marking' tiddler titles with emoji. Perhaps you could use the relevant 
flag to mark the tiddler for each language. This might tidy up your naming 
scheme, as tiddlers 'marked' in this way can have the same plain text title.




regards

On Sunday, 31 January 2016 00:41:57 UTC+2, Sebas wrote:
>
> Hello again,
>
> Just to give an example: If I create my own editor/menu for my tiddlers 
> and use something like:
>
> <$edit-text tiddler="Target" field="text"/>
>
> In this example, I can put normal wikitext and macro definitions in the 
> text field. Everything works just fine.
>
> But if I want my own second text field like so:
>
> <$edit-text tiddler="Target" field="MyTextField"/>
>
> The widget will change to a one-line field and if I display 
> {{!!MyTextField}}, this will not display like a normal tiddler, because 
> many things will not work ... like macro definitions or more complex 
> formating.
>
> Is there a way to set any field to type "text/vnd.tiddlywiki"? I guess 
> that is all I am looking for.
>
> Best regards,
> Sebas
>
>
>
>
>

-- 
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/9c45ab66-b254-4a3d-8bdf-a753f260b573%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] [TW5] Template Transclusion Within <$List> Macro

2016-01-30 Thread Scott Simmons (Secret-HQ)
I have some newhere buttons I'd like to transclude into different tiddlers. 
 Naturally, I want them to behave as if currentTiddler is the including 
tiddler, not the tiddler where the button lives.  (For example, I want to 
assign the tags of the tiddler from which the button is clicked, not the 
tags of the tiddler where the button is defined.)

Rather than resorting to macros, I'm know I can invoke those buttons with 
template transclusion (e.g, {{||MyButton}}).

But how can I use template transclusion within the <$list> macro?

This doesn't seem to work:

<$list filter="[my[filter]]"><$tiddler><$transclude />

Nor does this:

<$list filter="[my[filter]]"><$tiddler tiddler=<> 
><$transclude />

Nor this:

<$list filter="[my[filter]]"><$transclude tiddler=<> 
/>

Well — they work in that the button is transcluded, but it fails to treat 
the including tiddler as currentTiddler, instead defaulting to the tiddler 
where the button is defined.

Is this a limitation I've stumbled up to, or (more likely) am I just 
missing an obvious syntactical solution?

-- 
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/e164cb1b-8726-4ed2-b2c3-d24d78d128ea%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Template Transclusion Within <$List> Macro

2016-01-30 Thread Eric Shulman
On Saturday, January 30, 2016 at 7:21:28 PM UTC-8, Scott Simmons 
(Secret-HQ) wrote:
>
> Rather than resorting to macros, I'm know I can invoke those buttons with 
> template transclusion (e.g, {{||MyButton}}).
> But how can I use template transclusion within the <$list> macro?
>
This doesn't seem to work:
> <$list filter="[my[filter]]"><$tiddler><$transclude />
> Nor does this:
> <$list filter="[my[filter]]"><$tiddler tiddler=<> 
> ><$transclude />
> Nor this:
> <$list filter="[my[filter]]"><$transclude tiddler=<> 
> />
>

Have you tried:
\define trans() {{||$(x)$}}
<$list filter="[my[filter]]" variable="x"><>
* using variable="x" prevents the $list widget from changing the current 
tiddler context.
* the trans() macro assembles the transclusion syntax using the current 
value of "x"

Thus, if your filter matches tiddlers A, B, and C, the resulting $list 
output is:
   {{||A}} {{||B}} {{||C}}
which renders A, B, and C using the current tiddler context.  Q.E.D.

Note: I thought that the <$transclude> widget had params for both 
tiddler="..." and template="...", so that template transclusion using 
variable params could be done without needing a macro to assemble the 
{{tiddler||template}} syntax... but it doesn't seem to be the case.

enjoy,
-e

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To 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/f9c865c4-427f-481d-afbe-9ecdde5403dd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.