[tw] [TW5] Problem with tooltip in sidebar

2015-10-03 Thread FrD
Hi,

I'm using some css in order to display a tooltip when I hover on some 
links. The tooltip displays the content of the tiddler (these tiddlers are 
meant to be short -:) ).

When using this tool from the storyriver, it's ok (see first screenshot).
But when I put this tiddler in the sidebar; the tooltip is masked by the 
tiddler in the story river (second screenshot), although z-index is 1000.

Content of the css tiddler :

.tooltip {
color: black;
text-decoration: none;
position:relative;
}
 
.tooltip:hover {
color: red;
position: relative;
}
 
.tooltip span
{
display:none;
color:black;
background:white;   
//  -moz-border-radius:6px;
//  -webkit-border-radius:6px;
//  border-radius:6px;
}


.tooltip span img
{
float:left;
margin:0px 8px 8px 0;
}


.tooltip:hover span
{
display:block;
position:absolute;
width:500px;
max-height:300px;
text-justify: inter-word;
top:100%;
left:50%;
z-index:1000;
padding:8px;
overflow: auto;
-webkit-box-shadow: 2px 2px 15px 1px rgba(119, 119, 119, 0.5);
-moz-box-shadow: 2px 2px 15px 1px rgba(119, 119, 119, 0.5);
box-shadow: 2px 2px 15px 1px rgba(119, 119, 119, 0.5);
}



My skills are limited on this css stuff and it's mainly copy and paste from 
what I find (and understand ?) on some sites.

How could I do to get back these tooltips on top ?

Thanks

FrD




-- 
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/64bd5912-2dab-4449-973e-b293607e3ccc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] [TW5] Behaviour of the list-links macro with camelcase caption field value

2015-10-03 Thread FrD
Hi,

When using the list-links macro, I found a strange behaviour in some cases.

Say you put this in TiddlerA :

<>

And you have some tiddlers tagged "foo".
For one of them, say "test3" you define a caption field with value 
"TestThree".

The list-links macro lists this tiddler under the name : TestThree but 
doesn't link to "test3" but to the non-existent tiddler "TestThree".

If you put ~TestThree in the caption field, it works as expected.


FrD

-- 
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/f15a07b5-9005-4f5d-b626-1596f3fd8caf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: TW group welcome message might need an update?

2015-10-03 Thread Robert Edwards
...and for that matter on the welcome tiddler, it could say something like, 
"Hello! This is the community documentation for Tiddlywiki Classic. In 2015 
Tiddlywiki received a ground-up rewrite -- that project is called 
Tiddlywiki 5 and can be found at tiddlywiki.com". Again, just to make as 
obvious as possible to folks who may not have know about tiddlywiki 15 
minutes prior to landing on that page

On Saturday, October 3, 2015 at 9:52:56 AM UTC-4, Robert Edwards wrote:
>
> I can be pretty dense some times and I generally assume I'm in no way 
> special, therefore other people can be pretty dense at times as well. So to 
> make it abundantly obvious to people like me, why not change the name of 
> the link and the linked-to page from "TiddlyWiki Community Documentation" 
>  to "TiddlyWiki Classic Community Documentation 
> "? I know it says "For Classic" on this 
> page and "For TW <=2.8.1" on the doc page, but the link and the title are 
> going to be the first things people look at. I do agree with keeping the 
> Classic docs linked -- as long as classic is still in use then it's 
> beneficial to keep around. And as a user of both classic and tw5, I know I 
> look at it from time to time
>
> On Friday, October 2, 2015 at 1:48:10 PM UTC-4, Eric Shulman wrote:
>>
>> They are not two separate applications.  Nearly everything in Tiddlywiki5 
>> is based on funtionality initially developed in Tiddlywiki Classic.  Just 
>> because *you* don't use TWC doesn't mean that we should push 10 years of 
>> valuable discussions off to the side.  If we had wanted to do that, we 
>> would have started a new group just for TW5.  Before you summarily dismiss 
>> TWC as irrelevant to TW5 discussions, you should consider the fact that 
>> most of the requests for new features in TW5 are based on what has already 
>> been done as plugins in TWC.  You could learn a lot by getting to know TWC 
>> and it's rich eco-system of plugins, themes, etc.
>>
>> -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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/b297ccca-ac52-4bdc-9552-4e7bf592063b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TWC] problem embedding html5 audio player

2015-10-03 Thread sklpns
Hey Tobias,

every time I have a question  you come up with a plugin!

Seems to work great, even with my real case TW which has a rather peculiar 
set up.

Let me tell you, If I may, the kind of trouble this gets me out from:

Not knowing javascript or any kind of coding, in order to show an
html5 audio player (android compatible is the goal)
in my tw, in an audio player div, I basically have to:

1. Create an xml playlist with mp3 files
2. Create an html page with the player and host it somewhere
3. Iframe the aforementioned page in a tiddler in a separate TW
4. Iframe the aformentioned tiddler in my mainTW.

Same with flash, host the swf and xml files elsewhere and use them via
a separate, audio player repository TW.

Granted, coding knowledge would have reduced the red tape anyway.
The above set up is far from clever, it just works.

But if this plugin works like I think it will in my actual TW I can have 
playlists and players all in my main TW, which for me is awesome, albeit 
with the help of a pseudostory set up (opening player tiddlers in a 
separate pseudostory column).

Thank you very much Tobias, I really appreciate your help.

sklpns

PS. Also great, people still getting involved with TWC.
Not having jumped the TW5 train yet, this is encouraging!


-- 
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/0dc0d54f-d8a3-47b1-b0c4-24d9f02b28b9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TWC] problem embedding html5 audio player

2015-10-03 Thread Tobias Beer
Hi sklpns,

PS. Also great, people still getting involved with TWC.
> Not having jumped the TW5 train yet, this is encouraging!
>

I have sure jumped on that train but...
I see no reason to leave that other train hanging.

It kinda bugs me just how easy it was to develop that in TWC
and how hard it will be doing the same in TW5,
that is without basic and meaningful DOM manipulation via jQuery.

Best wishes,

— tb 

-- 
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/73f72184-ca82-47b2-8e2f-2feeac5d9689%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] How to Transclude all tiddlers with a tag

2015-10-03 Thread Nolan
Thank you, Tobias!

Your first option was exactly what I was looking for.  

-- 
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/0671bd99-3904-4773-94e8-1ca04a2cdfd3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: TW group welcome message might need an update?

2015-10-03 Thread Robert Edwards
I can be pretty dense some times and I generally assume I'm in no way 
special, therefore other people can be pretty dense at times as well. So to 
make it abundantly obvious to people like me, why not change the name of 
the link and the linked-to page from "TiddlyWiki Community Documentation" 
 to "TiddlyWiki Classic Community Documentation 
"? I know it says "For Classic" on this page 
and "For TW <=2.8.1" on the doc page, but the link and the title are going 
to be the first things people look at. I do agree with keeping the Classic 
docs linked -- as long as classic is still in use then it's beneficial to 
keep around. And as a user of both classic and tw5, I know I look at it 
from time to time

On Friday, October 2, 2015 at 1:48:10 PM UTC-4, Eric Shulman wrote:
>
> They are not two separate applications.  Nearly everything in Tiddlywiki5 
> is based on funtionality initially developed in Tiddlywiki Classic.  Just 
> because *you* don't use TWC doesn't mean that we should push 10 years of 
> valuable discussions off to the side.  If we had wanted to do that, we 
> would have started a new group just for TW5.  Before you summarily dismiss 
> TWC as irrelevant to TW5 discussions, you should consider the fact that 
> most of the requests for new features in TW5 are based on what has already 
> been done as plugins in TWC.  You could learn a lot by getting to know TWC 
> and it's rich eco-system of plugins, themes, etc.
>
> -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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/f11b58ce-3e0b-423f-9aa9-504d836f776b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] [TW5] Problem with tooltip in sidebar

2015-10-03 Thread FrD
Hi Jeremy,

I've read the thread you mentionned (
https://github.com/Jermolene/TiddlyWiki5/issues/1679)

The proposed solution would be great for me : to display the content of the 
tiddler the mouse is hovering inside a panel at the bottom of the sidebar 
tab.
But so far I don't have any idea on how to implement this ...

FrD

Le samedi 3 octobre 2015 19:05:52 UTC+2, Jeremy Ruston a écrit :
>
> Hi FrD
>
> The content of the sidebar is scrollable, and it is not possible for 
> content within a scrollable to escape its boundaries. There’s a discussion 
> here:
>
> https://github.com/Jermolene/TiddlyWiki5/issues/1679
>
> I think it has come up in another discussion but I can’t find it now - 
> Tobias, I think you were involved if you remember?
>
> Best wishes
>
> Jeremy.
>
>
> On 3 Oct 2015, at 15:58, FrD  wrote:
>
> Hi,
>
> I'm using some css in order to display a tooltip when I hover on some 
> links. The tooltip displays the content of the tiddler (these tiddlers are 
> meant to be short -:) ).
>
> When using this tool from the storyriver, it's ok (see first screenshot).
> But when I put this tiddler in the sidebar; the tooltip is masked by the 
> tiddler in the story river (second screenshot), although z-index is 1000.
>
> Content of the css tiddler :
>
> .tooltip {
>   color: black;
>   text-decoration: none;
>   position:relative;
> }
>  
> .tooltip:hover {
>   color: red;
>   position: relative;
> }
>  
> .tooltip span
> {
>   display:none;
>   color:black;
>   background:white;   
> //-moz-border-radius:6px;
> //-webkit-border-radius:6px;
> //border-radius:6px;
> }
>
>
> .tooltip span img
> {
>   float:left;
>   margin:0px 8px 8px 0;
> }
>
>
> .tooltip:hover span
> {
>   display:block;
>   position:absolute;
>   width:500px;
>   max-height:300px;
>   text-justify: inter-word;
>   top:100%;
>   left:50%;
>   z-index:1000;
>   padding:8px;
>   overflow: auto;
>   -webkit-box-shadow: 2px 2px 15px 1px rgba(119, 119, 119, 0.5);
>   -moz-box-shadow: 2px 2px 15px 1px rgba(119, 119, 119, 0.5);
>   box-shadow: 2px 2px 15px 1px rgba(119, 119, 119, 0.5);
> }
>
>
>
> My skills are limited on this css stuff and it's mainly copy and paste 
> from what I find (and understand ?) on some sites.
>
> How could I do to get back these tooltips on top ?
>
> Thanks
>
> FrD
>
> 
>
>
> 
>
> -- 
> 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+...@googlegroups.com .
> To post to this group, send email to tiddl...@googlegroups.com 
> .
> Visit this group at http://groups.google.com/group/tiddlywiki.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/tiddlywiki/64bd5912-2dab-4449-973e-b293607e3ccc%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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/e13064fa-ddb9-4c66-9abd-0eda7c1bf5dd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] [TW5] Problem with tooltip in sidebar

2015-10-03 Thread BJ
HI Tobias,
one complication is that a popup can be inside another popup, which is 
currently determined by search up the dom nodes from the current popups dom 
node.

cheers
BJ

On Saturday, October 3, 2015 at 8:05:22 PM UTC+1, Tobias Beer wrote:
>
> Hi Jeremy,
>  
>
>> I think it has come up in another discussion but I can’t find it now 
>>
> Tobias, I think you were involved if you remember?
>>
>
> Yes, it was about something similar with columns...
>
> *#1102 reveal widget: allow popups to work with column-count layouts*
> https://github.com/Jermolene/TiddlyWiki5/issues/1102 
>
> ...and my desire to take popups out of the document flow by rendering them 
> somewhere else entirely.
>
> One possibility would be to just leave an anchor widget in the place where 
> the popup is now rendered
> that links it to the popup being rendered completely independent of the 
> story or sidebar.
>
> Best wishes,
>
> — tb
>

-- 
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/71ca2624-bee2-46c9-87b5-33be1d20c3cc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Missing toddler filter

2015-10-03 Thread Ste Wilson
My tiddlywiki (stephenteacher.tiddlyspot.com) has become large and 
labarinthine. Due to the nature of it's construction I have links to missing 
tiddlers not yet writen buried in its depths. Is there any way to list the 
tiddlers which contain the links to missing toddlers so they can be writen?

 

-- 
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/e019d9fb-38a5-4a0c-a61c-6aea57c4393f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Missing toddler filter

2015-10-03 Thread Jeremy Ruston
Hi Ste

Switch to the More/Missing tab of the sidebar on the right, then click on the 
title of a missing tiddler. A dropdown will then appear showing the title of 
the missing tiddler, and then a list of the tiddlers that reference it.

Only explicitly written links count for the “Missing” tab; for example, it 
doesn’t take into account the automatically created links in the table of 
contents.

Best wishes

Jeremy

> On 3 Oct 2015, at 19:41, Ste Wilson  wrote:
> 
> My tiddlywiki (stephenteacher.tiddlyspot.com) has become large and 
> labarinthine. Due to the nature of it's construction I have links to missing 
> tiddlers not yet writen buried in its depths. Is there any way to list the 
> tiddlers which contain the links to missing toddlers so they can be writen?
> 
> 
> 
> -- 
> 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 http://groups.google.com/group/tiddlywiki.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/tiddlywiki/e019d9fb-38a5-4a0c-a61c-6aea57c4393f%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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/56B565EE-2BC1-4366-8EA7-CB4C6D8BE0E3%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] How to create a button that replaces a field value based on the current field value?

2015-10-03 Thread 'Mark S.' via TiddlyWiki
Hello,

What I've found so far is:

1) Macros and widgets may look something like javascript functions and 
variables, but they often behave differently
2) You can't use a widget's output inside a widget
3) You can use a macro inside a widget IF it doesn't have a parameter
4) Therefore, you will most often need to use <$set ...> to set a variable 
to be used by a macro that gets fed to your widget

Mark

On Saturday, October 3, 2015 at 10:49:00 AM UTC-7, Antaeus Feldspar wrote:
>
> Or, to express it a different way from the subject line, how can I create 
> a button widget that will:
> a) take the current value of a tiddler field;
> b) use that current value as a parameter to a macro to calculate a new 
> value; and
> c) put that new value back into the tiddler field that was read?
>
> WHAT I TRIED:
>
> I've tried various things; my most recent attempt is this:
>
> <$button set=!!test setTo=<$macrocall $name=".js-macro-link" 
> text={{!!test}}/> >Test button
>
> However, the parser can't seem to handle the angle brackets of the 
> macrocall widget appearing in the middle of the button widget declaration. 
>  Everything after the "/>" that closes the macrocall widget appears as 
> WikiText following a blank button.
>
> Before that I tried calling the macro through the standard syntax, and 
> discovered that (unless there's some way to do it that I missed) you can't 
> use a macro call as an element attribute.
>
> It occurred to me that since a ButtonWidget can contain multiple 
> ActionWidgets, that might be the solution - except that there's nothing in 
> the documentation guaranteeing an order in which such widgets execute, so 
> assigning the output of a macro to a temporary tiddler and then copying it 
> back to the original field does not seem to be an option.
>
> PLEASE NOTE:
>
> Please note that I am trying to get an answer to the GENERAL question, not 
> "how do I get the same effect as if I was applying this particular macro?" 
>  I am sure that there would be a simple way to apply the effect of THIS 
> macro with template transclusion, but that does not answer my question, 
> because sooner or later I will be using the technique for Javascript macros 
> that do mathematical calculations.
>
> DOCUMENTATION SUGGESTION:
>
> A chart which shows the various forms of data sourcing (plain text, 
> TextReference, macro output, etc.) in columns and then shows in rows what 
> they can and can't be used for (macro parameters, element attributes, etc.) 
> would be useful.
>
>

-- 
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/b9f31e05-bf09-4170-a63e-5e57225f3cc0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] [TW5] Behaviour of the list-links macro with camelcase caption field value

2015-10-03 Thread Jeremy Ruston
Hi FrD


> When using the list-links macro, I found a strange behaviour in some cases.
> 
> Say you put this in TiddlerA :
> 
> <>
> 
> And you have some tiddlers tagged "foo".
> For one of them, say "test3" you define a caption field with value 
> "TestThree".
> 
> The list-links macro lists this tiddler under the name : TestThree but 
> doesn't link to "test3" but to the non-existent tiddler "TestThree".
> 
> If you put ~TestThree in the caption field, it works as expected.

As you know, the caption field, if present, is wikified by the list-links macro 
in preference to displaying the unwikified “title” field. The title TestThree 
is CamelCase, and so it is automatically made into a link to that tiddler, 
embedded within the expected link.

So, there may be two unexpected things going on: that the caption field is 
wikified, and that links can be nested.

Best wishes

Jeremy.


> 
> 
> FrD
> 
> -- 
> 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 http://groups.google.com/group/tiddlywiki 
> .
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/tiddlywiki/f15a07b5-9005-4f5d-b626-1596f3fd8caf%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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/9DFD9561-FE8B-4460-AD80-3E62B032580D%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


[tw] [TW5] KaTeX display style equations not as expected

2015-10-03 Thread Bob Flandard
Hello,

The KaTeX plugin is rather excellent and seems like magic, but I was 
expecting the \displaystyle mode to place the equation on a line of its own 
and centre-align it on the page (that's how they behave in LaTeX).
I've tested this in TW5.1.9 and 5.1.10-prerelease with Firefox 41.0.1 on 
Windows 7.

Here's some sample code that demonstrates the issue.


This default "inline" equation works as expected
$$f(x) = \int_{-\infty}^\infty\hat f(\xi)\,e^{2 \pi i \xi x}\,d\xi$$. Which 
is nice.

---
But this "displaystyle" equation is not...
$$\displaystyle f(x) = \int_{-\infty}^\infty\hat f(\xi)\,e^{2 \pi i \xi x}\,
d\xi$$
...on a line of its own...

---
...and this "displaystyle" equation is not centre-aligned on the page.


$$\displaystyle f(x) = \int_{-\infty}^\infty\hat f(\xi)\,e^{2 \pi i \xi x}\,
d\xi$$


Any workarounds?

Thanks, Bob 




 

-- 
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/cc53e10e-7040-4dd9-af05-6954e878b5fa%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] [TW5] How to create a button that replaces a field value based on the current field value?

2015-10-03 Thread Antaeus Feldspar
Or, to express it a different way from the subject line, how can I create a 
button widget that will:
a) take the current value of a tiddler field;
b) use that current value as a parameter to a macro to calculate a new value; 
and
c) put that new value back into the tiddler field that was read?

WHAT I TRIED:

I've tried various things; my most recent attempt is this:

<$button set=!!test setTo=<$macrocall $name=".js-macro-link" text={{!!test}}/> 
>Test button

However, the parser can't seem to handle the angle brackets of the macrocall 
widget appearing in the middle of the button widget declaration.  Everything 
after the "/>" that closes the macrocall widget appears as WikiText following a 
blank button.

Before that I tried calling the macro through the standard syntax, and 
discovered that (unless there's some way to do it that I missed) you can't use 
a macro call as an element attribute.

It occurred to me that since a ButtonWidget can contain multiple ActionWidgets, 
that might be the solution - except that there's nothing in the documentation 
guaranteeing an order in which such widgets execute, so assigning the output of 
a macro to a temporary tiddler and then copying it back to the original field 
does not seem to be an option.

PLEASE NOTE:

Please note that I am trying to get an answer to the GENERAL question, not "how 
do I get the same effect as if I was applying this particular macro?"  I am 
sure that there would be a simple way to apply the effect of THIS macro with 
template transclusion, but that does not answer my question, because sooner or 
later I will be using the technique for Javascript macros that do mathematical 
calculations.

DOCUMENTATION SUGGESTION:

A chart which shows the various forms of data sourcing (plain text, 
TextReference, macro output, etc.) in columns and then shows in rows what they 
can and can't be used for (macro parameters, element attributes, etc.) would be 
useful.

-- 
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/c6e201f0-c78e-465a-8677-1f3b423e291d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TWC] problem embedding html5 audio player

2015-10-03 Thread sklpns

Hi Tobias,

so far my android devices (both a new smartphone and an older, low spec, 
tablet)
seem to respond well to the plugin with UC browser (apart from a zoom 
in-out problem but that's
irrelevant), so I would urge you
not to spend any more time on audiojs, so far your plugin does the job a ok.

Just my two cents here: you might however wanna have a look at 
http://www.wimpyplayer.com/, especially
if you're thinking about a twc/tw5 implementation: in my html5 audio player 
quest
I found it to be the simplest in implementation with nice skins etc. Tried 
it last night in twc
per their instructions but couldn't get it to work (surprise).

Thanks again for your time

sklpns


 


-- 
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/9eb7f564-ede4-411c-ac8e-3e2a621d0d8a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] How to create a button that replaces a field value based on the current field value?

2015-10-03 Thread Tobias Beer
Hi Antaeus,

One (perhaps) clumsy way to go about it would be
to not try and pass a ("text") *parameter* to your inner macro,
but rather set a *variable* outside of all that via the SetWidget,
so you could then do...

<$set name="js-macro-link-text" value={{!!test}}>
<$button set=!!test setTo=<>>Test button


Best wishes,

— tb

-- 
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/adf5e48f-4791-4e5d-ad87-c5609f8ec758%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] [TW5] Behaviour of the list-links macro with camelcase caption field value

2015-10-03 Thread FrD
Hi Jeremy,

Thanks for your quick answer.
It makes sense.

But it's somewhat disconcerting to have a link which is displayed among the 
others and doesn't work.
I'll take care to use non camelcase captions or to escape them with ~.

FrD

Le samedi 3 octobre 2015 19:01:09 UTC+2, Jeremy Ruston a écrit :
>
> Hi FrD
>
>
> When using the list-links macro, I found a strange behaviour in some cases.
>
> Say you put this in TiddlerA :
>
> <>
>
> And you have some tiddlers tagged "foo".
> For one of them, say "test3" you define a caption field with value 
> "TestThree".
>
> The list-links macro lists this tiddler under the name : TestThree but 
> doesn't link to "test3" but to the non-existent tiddler "TestThree".
>
> If you put ~TestThree in the caption field, it works as expected.
>
>
> As you know, the caption field, if present, is wikified by the list-links 
> macro in preference to displaying the unwikified “title” field. The title 
> TestThree is CamelCase, and so it is automatically made into a link to that 
> tiddler, embedded within the expected link.
>
> So, there may be two unexpected things going on: that the caption field is 
> wikified, and that links can be nested.
>
> Best wishes
>
> Jeremy.
>
>
>
>
> FrD
>
> -- 
> 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+...@googlegroups.com .
> To post to this group, send email to tiddl...@googlegroups.com 
> .
> Visit this group at http://groups.google.com/group/tiddlywiki.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/tiddlywiki/f15a07b5-9005-4f5d-b626-1596f3fd8caf%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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/78d248d0-b3f8-484e-80cc-193ebcf8c390%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] TW group welcome message might need an update?

2015-10-03 Thread Jeremy Ruston
Hi Robert

I’ve made some changes to the introduction tiddler at http://tiddlywiki.org 
along the lines you suggested,

Many thanks,

Jeremy.

> On 3 Oct 2015, at 15:47, Robert Edwards  wrote:
> 
> ...and for that matter on the welcome tiddler, it could say something like, 
> "Hello! This is the community documentation for Tiddlywiki Classic. In 2015 
> Tiddlywiki received a ground-up rewrite -- that project is called Tiddlywiki 
> 5 and can be found at tiddlywiki.com ". Again, just 
> to make as obvious as possible to folks who may not have know about 
> tiddlywiki 15 minutes prior to landing on that page
> 
> On Saturday, October 3, 2015 at 9:52:56 AM UTC-4, Robert Edwards wrote:
> I can be pretty dense some times and I generally assume I'm in no way 
> special, therefore other people can be pretty dense at times as well. So to 
> make it abundantly obvious to people like me, why not change the name of the 
> link and the linked-to page from "TiddlyWiki Community Documentation" 
>  to "TiddlyWiki Classic Community Documentation 
> "? I know it says "For Classic" on this page 
> and "For TW <=2.8.1" on the doc page, but the link and the title are going to 
> be the first things people look at. I do agree with keeping the Classic docs 
> linked -- as long as classic is still in use then it's beneficial to keep 
> around. And as a user of both classic and tw5, I know I look at it from time 
> to time
> 
> On Friday, October 2, 2015 at 1:48:10 PM UTC-4, Eric Shulman wrote:
> They are not two separate applications.  Nearly everything in Tiddlywiki5 is 
> based on funtionality initially developed in Tiddlywiki Classic.  Just 
> because *you* don't use TWC doesn't mean that we should push 10 years of 
> valuable discussions off to the side.  If we had wanted to do that, we would 
> have started a new group just for TW5.  Before you summarily dismiss TWC as 
> irrelevant to TW5 discussions, you should consider the fact that most of the 
> requests for new features in TW5 are based on what has already been done as 
> plugins in TWC.  You could learn a lot by getting to know TWC and it's rich 
> eco-system of plugins, themes, etc.
> -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 http://groups.google.com/group/tiddlywiki 
> .
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/tiddlywiki/b297ccca-ac52-4bdc-9552-4e7bf592063b%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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/D6E9A0CA-CDCD-46AA-93C7-BFCA72FECF9D%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] Missing toddler filter

2015-10-03 Thread Ste Wilson
Thanks. That is both enlightening and depressing. Enlightening in that I had 
not really noticed the more tab before or what is contained therein, depressing 
because it now shows me a long list of tiddlers I have to write :)

Cheers

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/df07158b-b931-4d81-bf9c-d3b5c6583dfe%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] [TW5] Problem with tooltip in sidebar

2015-10-03 Thread FrD
Hi Jeremy,

Thanks for the explanation.
I guess one way to go for me would be for the tooltip to fit inside the 
boundaries of the sidebar.

The idea behind that tooltip was to be able to have a quick look at some 
journal entries and drag the link of the relevant ones in the journal entry 
I was writing.

FrD

Le samedi 3 octobre 2015 19:05:52 UTC+2, Jeremy Ruston a écrit :
>
> Hi FrD
>
> The content of the sidebar is scrollable, and it is not possible for 
> content within a scrollable to escape its boundaries. There’s a discussion 
> here:
>
> https://github.com/Jermolene/TiddlyWiki5/issues/1679
>
> I think it has come up in another discussion but I can’t find it now - 
> Tobias, I think you were involved if you remember?
>
> Best wishes
>
> Jeremy.
>
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/ff56bfbd-5142-496f-b373-28fae35de398%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] How to create a button that replaces a field value based on the current field value?

2015-10-03 Thread Tobias Beer
 Hi
 

> 4) Therefore, you will most often need to use <$set ...> to set a variable 
> to be used by a macro that gets fed to your widget
>

Not much of a fan of this part either...

Best wishes,

— tb 

-- 
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/203c8c53-2674-45e6-bd1d-ec3053707dfd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] [TW5] Problem with tooltip in sidebar

2015-10-03 Thread Jeremy Ruston
Hi FrD

The content of the sidebar is scrollable, and it is not possible for content 
within a scrollable to escape its boundaries. There’s a discussion here:

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

I think it has come up in another discussion but I can’t find it now - Tobias, 
I think you were involved if you remember?

Best wishes

Jeremy.


> On 3 Oct 2015, at 15:58, FrD  wrote:
> 
> Hi,
> 
> I'm using some css in order to display a tooltip when I hover on some links. 
> The tooltip displays the content of the tiddler (these tiddlers are meant to 
> be short -:) ).
> 
> When using this tool from the storyriver, it's ok (see first screenshot).
> But when I put this tiddler in the sidebar; the tooltip is masked by the 
> tiddler in the story river (second screenshot), although z-index is 1000.
> 
> Content of the css tiddler :
> 
> .tooltip {
>   color: black;
>   text-decoration: none;
>   position:relative;
> }
>  
> .tooltip:hover {
>   color: red;
>   position: relative;
> }
>  
> .tooltip span
> {
>   display:none;
>   color:black;
>   background:white;   
> //-moz-border-radius:6px;
> //-webkit-border-radius:6px;
> //border-radius:6px;
> }
> 
> 
> .tooltip span img
> {
>   float:left;
>   margin:0px 8px 8px 0;
> }
> 
> 
> .tooltip:hover span
> {
>   display:block;
>   position:absolute;
>   width:500px;
>   max-height:300px;
>   text-justify: inter-word;
>   top:100%;
>   left:50%;
>   z-index:1000;
>   padding:8px;
>   overflow: auto;
>   -webkit-box-shadow: 2px 2px 15px 1px rgba(119, 119, 119, 0.5);
>   -moz-box-shadow: 2px 2px 15px 1px rgba(119, 119, 119, 0.5);
>   box-shadow: 2px 2px 15px 1px rgba(119, 119, 119, 0.5);
> }
> 
> 
> My skills are limited on this css stuff and it's mainly copy and paste from 
> what I find (and understand ?) on some sites.
> 
> How could I do to get back these tooltips on top ?
> 
> Thanks
> 
> FrD
>  
> 
>  
> 
> 
> -- 
> 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 http://groups.google.com/group/tiddlywiki 
> .
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/tiddlywiki/64bd5912-2dab-4449-973e-b293607e3ccc%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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/68831D58-E867-4517-86E1-D23769858046%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] [TW5] KaTeX display style equations not as expected

2015-10-03 Thread Jeremy Ruston
Hi Bob

One of the examples at 
http://tiddlywiki.com/plugins/tiddlywiki/katex/index.html shows one way of 
doing what you want:


$$\displaystyle \left( \sum_{k=1}^n a_k b_k \right)^2 \leq \left( \sum_{k=1}^n 
a_k^2 \right) \left( \sum_{k=1}^n b_k^2 \right)$$


But I agree that one might expect the “displaystyle” directive to do everything 
necessary to centre the equation. There doesn’t appear to be any CSS class 
assigned by default to indicate that the equation is in display style, though, 
so it’s not clear that it could be implemented that way.

Best wishes

Jeremy



> On 3 Oct 2015, at 18:43, Bob Flandard  wrote:
> 
> Hello,
> 
> The KaTeX plugin is rather excellent and seems like magic, but I was 
> expecting the \displaystyle mode to place the equation on a line of its own 
> and centre-align it on the page (that's how they behave in LaTeX).
> I've tested this in TW5.1.9 and 5.1.10-prerelease with Firefox 41.0.1 on 
> Windows 7.
> 
> Here's some sample code that demonstrates the issue.
> 
> 
> This default "inline" equation works as expected
> $$f(x) = \int_{-\infty}^\infty\hat f(\xi)\,e^{2 \pi i \xi x}\,d\xi$$. Which 
> is nice.
> 
> ---
> But this "displaystyle" equation is not...
> $$\displaystyle f(x) = \int_{-\infty}^\infty\hat f(\xi)\,e^{2 \pi i \xi 
> x}\,d\xi$$
> ...on a line of its own...
> 
> ---
> ...and this "displaystyle" equation is not centre-aligned on the page.
> 
> 
> $$\displaystyle f(x) = \int_{-\infty}^\infty\hat f(\xi)\,e^{2 \pi i \xi 
> x}\,d\xi$$
> 
> 
> Any workarounds?
> 
> Thanks, Bob 
> 
> 
> 
> 
>  
> 
> -- 
> 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 http://groups.google.com/group/tiddlywiki 
> .
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/tiddlywiki/cc53e10e-7040-4dd9-af05-6954e878b5fa%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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/B37BA09B-B64C-472D-B1A2-EF039E22A1B7%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] [TW5] Problem with tooltip in sidebar

2015-10-03 Thread Tobias Beer
Hi Jeremy,
 

> I think it has come up in another discussion but I can’t find it now 
>
Tobias, I think you were involved if you remember?
>

Yes, it was about something similar with columns...

*#1102 reveal widget: allow popups to work with column-count layouts*
https://github.com/Jermolene/TiddlyWiki5/issues/1102 

...and my desire to take popups out of the document flow by rendering them 
soemwhere else entirely.

One possibility would be to just leave an anchor widget in the place where 
the popup is now rendered
that links it to the popup being rendered completely independent of the 
story or sidebar.

Best wishes,

— tb

-- 
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/31d4c612-1c8b-45a5-8a6e-2277f2dd4bcb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] [TW5] Problem with tooltip in sidebar

2015-10-03 Thread Tobias Beer
 Hi BJ,
 

> one complication is that a popup can be inside another popup, which is 
> currently determined by search up the dom nodes from the current popups dom 
> node.
>

I think it shouldn't be like that.
Rather popups should relate to their parent via attributes,
all the way to a non-popup anchor in the document flow.
That way, their positioning is basically independent, but hooked.

Best wishes,

— tb

-- 
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/9653b3ee-1911-43f0-9411-ff75507e5a9b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] How to create a button that replaces a field value based on the current field value?

2015-10-03 Thread Antaeus Feldspar
By the way, if macros with parameters don't work as widget attributes...  does 
that mean that the last example shown for the MacroCall Widget doesn't actually 
work?

>From http://tiddlywiki.com/#MacroCallWidget :

<$macrocall $name="italicise" text=<>/>

Does this not work, and it got included as an example without testing?  Or, if 
it does work, why does it work when other attempts to use macros as attributes 
fail?

-- 
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/feb97456-c7b2-488b-beb0-b0916de7e6a8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [How to] [TW5] Multiple tag fields

2015-10-03 Thread Jed Carty
This is one of the things I have been poking a bit recently. I have an 
early version of some modifications that allow multiple tag fields. There 
are formatting problems but most of the basic parts work.

Currently these work:
tm-add-tag
tm-remove-tag
tag filter operator
tags filter operator

I changed the fieldmangler widget so it takes an optional field parameter 
to set the field used for the messages, the filter operators use 
tag:fieldname the same way as the field operator to specify which field is 
used.

The tagging operator doesn't work yet and is[tag] doesn't work with the 
alternate fields.

The current demo is here:

http://ooktech.com/jed/ExampleWikis/MultipleTagFields/

-- 
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/9bb76311-b0a1-469b-b249-4eb58936059f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] How to create a button that replaces a field value based on the current field value?

2015-10-03 Thread 'Mark S.' via TiddlyWiki
Apparently you can use static text. But this is of limited value IMO. What 
you want is something more like <> .

I just know whenever I've tried making a bit of simple widget code work 
with some macros, I usually end up needing to use <$set>.

Mark

On Saturday, October 3, 2015 at 3:23:44 PM UTC-7, Antaeus Feldspar wrote:
>
> By the way, if macros with parameters don't work as widget attributes... 
>  does that mean that the last example shown for the MacroCall Widget 
> doesn't actually work?
>
> From http://tiddlywiki.com/#MacroCallWidget :
>
> <$macrocall $name="italicise" text=< the text to be italicised">>/>
>
> Does this not work, and it got included as an example without testing? 
>  Or, if it does work, why does it work when other attempts to use macros as 
> attributes fail?
>
>

-- 
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/ddaf33ec-3b96-47c0-a4d0-89e5ac16700e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] [TW5] How to create a button that replaces a field value based on the current field value?

2015-10-03 Thread Jeremy Ruston
Hi Mark

> 3) You can use a macro inside a widget IF it doesn't have a parameter

That is not correct. Macro invocations used as widget attributes may have 
parameters.

However, there are a couple of points to watch:

* The output of the macro is not wikified; it is used directly as the value of 
the attribute
* The double angle brackets widget call syntax only allows parameters to be 
specified as strings

Best wishes

Jeremy.

> 4) Therefore, you will most often need to use <$set ...> to set a variable to 
> be used by a macro that gets fed to your widget
> 
> Mark
> 
> On Saturday, October 3, 2015 at 10:49:00 AM UTC-7, Antaeus Feldspar wrote:
> Or, to express it a different way from the subject line, how can I create a 
> button widget that will:
> a) take the current value of a tiddler field;
> b) use that current value as a parameter to a macro to calculate a new value; 
> and
> c) put that new value back into the tiddler field that was read?
> WHAT I TRIED:
> 
> I've tried various things; my most recent attempt is this:
> 
> <$button set=!!test setTo=<$macrocall $name=".js-macro-link" 
> text={{!!test}}/> >Test button
> 
> However, the parser can't seem to handle the angle brackets of the macrocall 
> widget appearing in the middle of the button widget declaration.  Everything 
> after the "/>" that closes the macrocall widget appears as WikiText following 
> a blank button.
> 
> Before that I tried calling the macro through the standard syntax, and 
> discovered that (unless there's some way to do it that I missed) you can't 
> use a macro call as an element attribute.
> 
> It occurred to me that since a ButtonWidget can contain multiple 
> ActionWidgets, that might be the solution - except that there's nothing in 
> the documentation guaranteeing an order in which such widgets execute, so 
> assigning the output of a macro to a temporary tiddler and then copying it 
> back to the original field does not seem to be an option.
> 
> PLEASE NOTE:
> 
> Please note that I am trying to get an answer to the GENERAL question, not 
> "how do I get the same effect as if I was applying this particular macro?"  I 
> am sure that there would be a simple way to apply the effect of THIS macro 
> with template transclusion, but that does not answer my question, because 
> sooner or later I will be using the technique for Javascript macros that do 
> mathematical calculations.
> 
> DOCUMENTATION SUGGESTION:
> 
> A chart which shows the various forms of data sourcing (plain text, 
> TextReference, macro output, etc.) in columns and then shows in rows what 
> they can and can't be used for (macro parameters, element attributes, etc.) 
> would be useful.
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> -- 
> 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 http://groups.google.com/group/tiddlywiki 
> .
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/tiddlywiki/b9f31e05-bf09-4170-a63e-5e57225f3cc0%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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/52D71482-64D9-4097-A3D7-1178CBD74588%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] How to create a button that replaces a field value based on the current field value?

2015-10-03 Thread Antaeus Feldspar
Tobias, Mark, thank you for your suggestions...  The use of SetWidgets to set 
variables is something I didn't understand before, and I can tell I'll 
eventually be able to use it to achieve a much cleaner solution.

Right now, though, I still have a problem that's completely blocking me:  how 
do I get the *results* of a macro call into a variable?

The project I'm working on will involve dates.  I can write a macro in 
Javascript which takes a date in TW's format and adds or subtracts a given 
amount of time.  But how can I have TiddlyWiki call that macro *and* store it 
in a field rather than simply rendering the result on the screen?

-- 
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/8782aa2c-69ae-48a0-968d-dee916f2d037%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] [TW5] KaTeX display style equations not as expected

2015-10-03 Thread Bob Flandard
Hello Jeremy,

Thanks, that's great.

If any other TW5 novice wants to do the same thing repeatedly in a tiddler 
and save a bit of typing, this macro is marginally useful

\define TeX(TeXstring) 

<$latex text="\displaystyle $TeXstring$">

\end



macro call with text either side
But this "displaystyle" equation is ...
<>
...on a line of its own and centre aligned


All the best, Bob

-- 
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/1e0c86b4-605c-431b-ac30-ca5dfd130fb6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] TW group welcome message might need an update?

2015-10-03 Thread Robert Edwards
Thanks!

On Saturday, October 3, 2015 at 1:37:21 PM UTC-4, Jeremy Ruston wrote:
>
> Hi Robert
>
> I’ve made some changes to the introduction tiddler at 
> http://tiddlywiki.org along the lines you suggested,
>
> Many thanks,
>
> Jeremy.
>
> On 3 Oct 2015, at 15:47, Robert Edwards  
> wrote:
>
> ...and for that matter on the welcome tiddler, it could say something 
> like, "Hello! This is the community documentation for Tiddlywiki Classic. 
> In 2015 Tiddlywiki received a ground-up rewrite -- that project is called 
> Tiddlywiki 5 and can be found at tiddlywiki.com". Again, just to make as 
> obvious as possible to folks who may not have know about tiddlywiki 15 
> minutes prior to landing on that page
>
> On Saturday, October 3, 2015 at 9:52:56 AM UTC-4, Robert Edwards wrote:
>>
>> I can be pretty dense some times and I generally assume I'm in no way 
>> special, therefore other people can be pretty dense at times as well. So to 
>> make it abundantly obvious to people like me, why not change the name of 
>> the link and the linked-to page from "TiddlyWiki Community Documentation" 
>>  to "TiddlyWiki Classic Community 
>> Documentation "? I know it says "For 
>> Classic" on this page and "For TW <=2.8.1" on the doc page, but the 
>> link and the title are going to be the first things people look at. I do 
>> agree with keeping the Classic docs linked -- as long as classic is still 
>> in use then it's beneficial to keep around. And as a user of both classic 
>> and tw5, I know I look at it from time to time
>>
>> On Friday, October 2, 2015 at 1:48:10 PM UTC-4, Eric Shulman wrote:
>>>
>>> They are not two separate applications.  Nearly everything in 
>>> Tiddlywiki5 is based on funtionality initially developed in Tiddlywiki 
>>> Classic.  Just because *you* don't use TWC doesn't mean that we should push 
>>> 10 years of valuable discussions off to the side.  If we had wanted to do 
>>> that, we would have started a new group just for TW5.  Before you summarily 
>>> dismiss TWC as irrelevant to TW5 discussions, you should consider the fact 
>>> that most of the requests for new features in TW5 are based on what has 
>>> already been done as plugins in TWC.  You could learn a lot by getting to 
>>> know TWC and it's rich eco-system of plugins, themes, etc.
>>>
>>> -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+...@googlegroups.com .
> To post to this group, send email to tiddl...@googlegroups.com 
> .
> Visit this group at http://groups.google.com/group/tiddlywiki.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/tiddlywiki/b297ccca-ac52-4bdc-9552-4e7bf592063b%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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/1884b30d-86ef-4c3c-ae15-fee133c8e65e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw] [TW5] How to create a button that replaces a field value based on the current field value?

2015-10-03 Thread 'Mark S.' via TiddlyWiki
Hi Jeremy,

But, at the bottom line, is there any way to set up Tobias' solution 
without resorting to <$set> (or <$var>) ?

Thanks!
Mark


On Saturday, October 3, 2015 at 3:31:53 PM UTC-7, Jeremy Ruston wrote:
>
> Hi Mark
>
> 3) You can use a macro inside a widget IF it doesn't have a parameter
>
>
> That is not correct. Macro invocations used as widget attributes may have 
> parameters.
>
> However, there are a couple of points to watch:
>
> * The output of the macro is not wikified; it is used directly as the 
> value of the attribute
> * The double angle brackets widget call syntax only allows parameters to 
> be specified as strings
>
>
>
>

-- 
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/f0604d54-69de-403a-a749-1c64e66b2279%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] How to Transclude all tiddlers with a tag

2015-10-03 Thread Evolena
Le samedi 3 octobre 2015 01:43:29 UTC+2, Nolan a écrit :
>
> Reading through this discussion with Jeremy 
> https://github.com/Jermolene/TiddlyWiki5/issues/121  it sounds as though 
> I should be able to transclude the content of multiple tiddlers based on 
> their tags using the following 
>
> <$list filter="[tag[myTag]]">
>> <$view field="text" format="wikified"/>
>> 
>>
>>
>
Since this discussion (2013), there has been a modification of the view 
widget: it doesn't support "wikified" format anymore. A wikified view is in 
fact a transclusion. 

-- 
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/632fb390-8f3f-4e91-9203-7a0e66d97906%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] How to Transclude all tiddlers with a tag

2015-10-03 Thread Tobias Beer
Hi Nolan,

use the TranslcudeWidget ...

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

<$transclude mode="block"/>


with heading links...

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

<$link><$view field="title">
<$transclude mode="block"/>


for some-other-field as a definition list...


<$list filter="[tag[myTag]]">
<$link><$view field="title">
<$transclude field="some-other-field"/>



Best wishes,

— tb 

-- 
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/f1704fc6-b527-42de-aca6-56ec4b584182%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Editing tiddler fields and creating a new tiddler

2015-10-03 Thread Tobias Beer
Hi Tierney,

Try something like...

|!sometags |<$tiddler title="$:/temp/newuser"><$list filter="[tag[Buttons]]" 
variable="tag"><$checkbox tag=<>><>|

..with respect to New Tiddler From Form @ tb5 

.

In General...

<$tiddler title="$:/temp/new-tiddler-from-template">
<$list filter="[tag[SomeCategory]]" variable="tag">
<$checkbox tag=<>><>



Whereas SomeCategory could be...

   - *Context* with the contexts @call, @buy, @read, @fix tagging to it
   - *Status* with the statuses #next, #future, #maybe, #done, #waiting 
   tagging to it
   - etc...

Best wishes,

— tb

-- 
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 http://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/17fd475d-fbdb-404d-b93f-dc1526b1a694%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.