[tw5] Re: Table of content showing only tags with a tag count greater than zero

2019-01-06 Thread 'Stuart Amor' via TiddlyWiki
Thank you Tony, I agree that it should perhaps be done as a separate 
function rather than an adaptation, but I could do with more of a steer on 
how to exclude tags with a zero count from a tag list 

On Friday, 4 January 2019 23:12:57 UTC, TonyM wrote:
>
> Stuart,
>
> The Tiddler $:/core/macros/toc is where the toc macros are defined. 
> However they can be quite complex. However we can see there is an exclude 
> parameter used. Also See 
> https://tiddlywiki.com/#Table-of-Contents%20Macros for the documentation.
>
> Try invoking the TOC macro of your choice with the following format
>
> <$macrocall $name="toc-selective-expandable" tag=<> 
> exclude="exclusionfilter" />
>
> Where exclusionfilter is where "where the tag count is zero"
>
> Personally I would build my own, toc macro for such an example. 
>
> Regards
> Tony
>
>
>
> On Saturday, 5 January 2019 09:47:01 UTC+11, Stuart Amor wrote:
>>
>> I am trying to create an itinerary catalogue. l have spent a great deal 
>> of time devising a tag directory structure that will allows me to add 
>> individual item tiddlers into an organised tree. The problem l have is that 
>> I now have a Table of Contents containing a great deal of "empty 
>> directories". l don't want to delete these tags as l will hopefully get 
>> around to adding content to them, but l would like to find away of hiding 
>> these tags from my Table of Contents where the tag count is zero?
>>
>> I will try to give you an example:
>>
>> Workshop Tools
>> - Hammers
>> -- Sledge Hammer
>> -- Claw Hammer
>> - Spanner <- Hide this tag from the toc until I have added some tagged 
>> entries 
>>
>

-- 
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/68f626ce-6f17-4205-ac96-7e4f641fef82%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Table of content showing only tags with a tag count greater than zero

2019-01-04 Thread 'Stuart Amor' via TiddlyWiki
I am trying to create an itinerary catalogue. l have spent a great deal of 
time devising a tag directory structure that will allows me to add 
individual item tiddlers into an organised tree. The problem l have is that 
I now have a Table of Contents containing a great deal of "empty 
directories". l don't want to delete these tags as l will hopefully get 
around to adding content to them, but l would like to find away of hiding 
these tags from my Table of Contents where the tag count is zero?

I will try to give you an example:

Workshop Tools
- Hammers
-- Sledge Hammer
-- Claw Hammer
- Spanner <- Hide this tag from the toc until I have added some tagged 
entries 

-- 
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/c74a381c-1d14-4a93-ba3e-ed4e12966fa4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Creating inline editable fields

2018-12-04 Thread 'Stuart Amor' via TiddlyWiki
Sorry for the late reply, but I wanted to double check first.  I had tried 
calling using this method, firstly the edit button is no longer popping up 
and floating, but when I click the button its displaying "<$edit-text 
tiddler="$:/state/edit//" field= tag=textarea />"  also a tiddler called !! 
is created

On Saturday, 3 November 2018 05:15:05 UTC, TonyM wrote:
>
> Stuart
>
> Without reviewing the macros have you tried calling differently
>
> <>" "summary" notitle float-left>>
>
> <$macrocall $name=editfields parm1=<> parm2="summary" 
> parm3=notitle parm4=float-left/>
>
> Replace each or the Parms with the correct name of the parameters in the 
> macro define
>
> Regards
> Tony
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/81eb1890-6546-4566-8a8e-1f47e48fac6d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Creating inline editable fields

2018-11-02 Thread 'Stuart Amor' via TiddlyWiki
By piecing together several code snipets, I came up with a macro that 
allowed me to edit the summary field in line:

\define stateEditTid() $:/state/edit/$(parItem)$

\define tempTid() $:/temp/edit/$(parItem)$

\define createTemp() <$action-setfield $tiddler="$(tempTid)$" 
$field="summary" $value={{$(parItem)$!!summary}}/>

\define saveTemp() <$action-setfield $tiddler="$(parItem)$" 
$field="summary" $value={{$(tempTid)$!!summary}}/>

\define editsummary(filter titleclass:"" buttonsetclass:"" 
buttonclass:"tc-btn-invisible" textareaclass:"full-width") 
<$list filter="$filter$" variable="parItem">
   
  <$reveal type="match" state=<> text="yes" tag="div" 
class="$buttonsetclass$">
 <$button class="$buttonclass$" tooltip="discard changes">
<$action-setfield $tiddler=<> text=""/>
<$action-deletetiddler $tiddler=<>/>
<$action-deletetiddler $tiddler=<>/>
{{$:/core/images/close-button}}
 
 <$button class="$buttonclass$" tooltip="commit changes">
<>
<$action-deletetiddler $tiddler=<>/>
<$action-deletetiddler $tiddler=<>/>
{{$:/core/images/done-button}}
 
  
  <$reveal type="nomatch" state=<> text="yes" tag="div" 
class="$buttonsetclass$">
 <$button class="$buttonclass$" set=<> setTo="yes" 
tooltip="edit">
<> {{$:/core/images/edit-button}}
 
  
  
 
<$transclude tiddler=<> field="caption">
   <$view tiddler=<> field="title"/>

 
  
  <$reveal type="match" state=<> text="yes">
 <$edit-text tiddler=<> field=summary tag=textarea 
class="$textareaclass$"/>
  
  <$reveal type="nomatch" state=<> text="yes">
  
<$transclude field=summary tiddler=<>/>
 
  
   



   .full-width { width: 100%; height: auto; }
   .notitle { display: none; }
   .paragraph-wrapper { position: relative; }
   .paragraph-wrapper .float-left {
   position: absolute;
   left: -24px;
   top: 0;
   display: flex;
   flex-direction: column;
   opacity: 0;
   transition: opacity 400ms;
   font-size: 20px;
   }
   .paragraph-wrapper:hover .float-left { opacity: 1; }

\end

I then put the following line into a tiddler and marked it with the 
"$:/tags/ViewTemplate" tag to provide a tiddler synopsis:

@@color:#00a223; <>@@ 

I have been extremely happy with how this macro has performed, although I 
have to admit that I don't understand all the elements of how it works.  
For example, I am not sure why the "notitle" and "float-left" need to be in 
the marco call, but the don't work anywhere else.  I tried to expand this 
marco, so I could optionally select which field value I wanted to edit, so 
I could create a tabular array.  I had some difficulties with some 
concatinated variables not resolving, but using Matabelle's SetFieldWidget 
widget, I came up with the following variation - for some reason the 
formatting is not as good, the hover buttons now overlap the edited text 
and the textbox itself no longer extends the whole page width.

\define editfields(tiddlername fieldname titleclass:"" buttonsetclass:"" 
buttonclass:"tc-btn-invisible" textareaclass:"full-width") 
  
<$reveal type="match" state="$:/state/edit/$tiddlername$/$fieldname$" 
text="yes" tag="div" class="$buttonsetclass$">
  <$button tooltip="Cancel changes" >
<$action-deletetiddler 
$tiddler="$:/state/edit/$tiddlername$/$fieldname$" />
{{$:/core/images/close-button}}
  
  <$setfield set="!!$fieldname$" 
setTo={{$:/state/edit/$tiddlername$/$fieldname$!!$fieldname$}}>
<$button message="tw-set-field" param="$tiddlername$" tooltip="Save 
changes" >
  <$action-deletetiddler 
$tiddler="$:/state/edit/$tiddlername$/$fieldname$"/>
  {{$:/core/images/done-button}}

  

<$reveal type="match" state="$:/state/edit/$tiddlername$/$fieldname$" 
text="yes">
  <$edit-text tiddler="$:/state/edit/$tiddlername$/$fieldname$" 
field=$fieldname$ tag=textarea />

<$reveal type="nomatch" state="$:/state/edit/$tiddlername$/$fieldname$" 
text="yes"  tag="div" class="$buttonsetclass$">
  <$setfield set="!!$fieldname$" setTo={{$tiddlername$!!$fieldname$}}>
<$setfield set="!!text" setTo="yes">
  <$button message="tw-set-field" 
param="$:/state/edit/$tiddlername$/$fieldname$" tooltip="Edit field">
{{$:/core/images/edit-button}}
  

  

<$reveal type="nomatch" state="$:/state/edit/$tiddlername$/$fieldname$" 
text="yes">
   
{{$tiddlername$!!$fieldname$}}
  

  
  
   .full-width { width: 100%; height: auto; }
   .notitle { display: none; }
   .paragraph-wrapper { position: relative; }
   .paragraph-wrapper .float-left {
   position: absolute;
   left: -24px;
   top: 0;
   display: flex;
   flex-direction: column;
   

[tw5] Tiddler Count to dictate HTML table rowspan

2018-08-16 Thread 'Stuart Amor' via TiddlyWiki
I am trying to devise a way where a tiddler tag count dictates the number 
of merged columns in a table.  The following lines gives me the tiddler tag 
count:

<$count tiddler="Contents" filter=[tag[Contents]]/>

And I am using the following script example to generate a html table 
colspan:



  3 columns 

 1  2  3 
Enter code here...

But when I combine the two items...



">  <$count 
tiddler="Contents" filter=[tag[Contents]]/> columns 

 1  1  1 


I can't find a way to make the count number within the colspan statement 
equate to a number.  I have tried macros and everything

-- 
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/460d83c2-5b82-4b52-954b-04f51c1fc37b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw5] Re: IMG Tooltip

2018-08-07 Thread 'Stuart Amor' via TiddlyWiki
I agree Mat, it’s been a real masterclass experience. Jeremy has shown us 
insight that I have picked up on other google threads. 

-- 
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/f1d9d509-b031-44df-b9d8-c4395759c6d6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [tw5] Re: IMG Tooltip

2018-08-07 Thread 'Stuart Amor' via TiddlyWiki
Thank you guys, this has been a real education.  I have taken Jeremy's code 
and have tried to expand it to create a button that when clicked brings up 
an enlarged image, however the image in the popup is very narrow?

\define image(tiddler)

<$button class="tc-btn-invisible tc-thumbnail-image" 
popup="$:/popupstatus/$tiddler$">
   <$tiddler tiddler=<<__tiddler__>>>
  <$image source={{!!title}} width=80 tooltip={{!!caption}}/>
   


<$reveal type="popup" state="$:/popupstatus/$tiddler$">

   <$tiddler tiddler=<<__tiddler__>>>
  Bigger Picture
  <$image source={{!!title}} width=800 height=700 
tooltip={{!!caption}}/>
   
\end

<>



On Tuesday, 7 August 2018 15:23:59 UTC+1, Jeremy Ruston wrote:
>
> I hadn't thought to think of the underscores as brackets, but that might 
> be useful. 
>
> Best wishes
>
> Jeremy
>
> --
> Jeremy Ruston
> jer...@jermolene.com 
> https://jermolene.com
>
> On 7 Aug 2018, at 15:00, @TiddlyTweeter > 
> wrote:
>
> Thank you Jeremy
>
> Would it be OK to call __underscore brackets__ "sub-bracketing?"
>
> What I mean is that it needs the "<" "<<" contexts to function, so its a 
> subsidiary construct?
>
> Best wishes
> Josiah
>
> On Tuesday, 7 August 2018 15:24:57 UTC+2, Jeremy Ruston wrote:
>>
>> The one thing that I'd like to know is whether, in all contexts, you 
>> need  __underscore brackets__ to be "bracketed", i.e. does this 
>> construct always have to have "<<" or "<" etc. around it? 
>>
>>
>> Yes, a construction involving either << or < is needed to use any 
>> variable.
>>
>> The parameter name wrapped in double underscores is a valid variable name 
>> in its own right. When used in a filter it wouldn't have the double angle 
>> brackets:
>>
>> >
>>
>> To put it another way: macro parameters are made available within the 
>> body of a macro as variables named with the parameter name wrapped in 
>> double underscores.
>>
>> Best wishes
>>
>> Jeremy.
>>
>>
>>
>> Jeremy Ruston wrote:
>>
>>> The feature was new in 5.1.16:
>>>
>>>  https://tiddlywiki.com/#Macro%20Definitions%20in%20WikiText
>>>
>>> Parameters as Variables
>>>
>>> -- 
>> 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 https://groups.google.com/group/tiddlywiki.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/tiddlywiki/626580ce-0c7b-4520-a4b6-51f8f15a3844%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+...@googlegroups.com .
> To post to this group, send email to tiddl...@googlegroups.com 
> .
> Visit this group at https://groups.google.com/group/tiddlywiki.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/tiddlywiki/7528980c-c6de-4f98-8c9f-86afaa47379d%40googlegroups.com
>  
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>
>

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


[tw5] Re: IMG Tooltip

2018-08-07 Thread 'Stuart Amor' via TiddlyWiki
Thank you Mat, that worked.  The only reason I had two separate marcos was 
in desperation

On Tuesday, 7 August 2018 11:39:09 UTC+1, Mat wrote:
>
> I'm unsure why you have two separate macro calls in your example. 
> Regardless, maybe this works:
>
>
> \define image-inner() [img width=80 [$(caption)$|$(tiddler)$]]
>
> \define image(tiddler)
> <$vars caption={{$tiddler$!!caption}} tiddler='$tiddler$' >
> <>
> 
> \end
>
> <:-)
>
>
>

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


[tw5] IMG Tooltip

2018-08-07 Thread 'Stuart Amor' via TiddlyWiki
I would like the tooltip for an inserted image to be a transcluded field 
from within the associated image tiddler.  I have played around with a few 
options, this is what I believe has been my best shot, however the tooltip 
macro whilst correctly getting the image tiddler name doesn't get resolved 
correctly:

\define caption(tiddler) {{$tiddler$!!caption}}

\define image(tiddler)
[img width=80 ["<$macrocall $name="caption" tiddler=$tiddler$/>"|$tiddler$]]
\end

<$macrocall $name="caption" tiddler=istar.png/>

<>


-- 
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/1b2f40cc-1602-4da6-a1db-c6bbfdef59c8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Show tag list only when grandchildren exist

2018-08-03 Thread 'Stuart Amor' via TiddlyWiki
Its been awhile since I have used TW5 and its coming back to me slowly...  
I have currently got down to the following code:

\define tagtable(Tag)
<$list filter="[tag[$Tag$]]" variable="Parent">
<$list filter="[tagsort[]]" variable="Child"> 
<$list filter="[tagsort[]]" variable="GrandChild">

  <$link to=<>><>
  
  <$link to=<>><>
   
   <$link to=<>><>
   
  


\end

<$macrocall $name="tagtable" Tag='X'/>


I have two problems with this, firstly I am not sure how I can pass the 
[all[current]tagging[]] via a macrocall - its not the end of the world if I 
can't, but I have had this situation quite a bit so would nice to be able 
to learn how it can be done if possible.

I have a bit of a dilemma as this code returns:


   - X
  - Y
 - Z1
  - X
  - Y
 - Z2
  

I would like X and Y to be able to group the Z values and only appear 
once.  I can see how this problem occurs, but can figure out a way of 
avoiding this problem without reintroducing the Parent's Children that 
don't have GrandChildren into the report. 

-- 
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/576ae5fd-2792-4005-aeef-5afa0429f933%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Re: Show tag list only when grandchildren exist

2018-08-02 Thread 'Stuart Amor' via TiddlyWiki
Thank you Diego, that has certainly put me on the correct path!  If I 
wanted to take this to the next stage, how could I change the output so 
that it would be presented as a outline structure:


   - Y
   - Z1
  - Z2
   - Q
  - P1
  - P2
   





On Tuesday, 24 July 2018 19:10:41 UTC+1, Stuart Amor wrote:
>
> I am looking for a way of returning a list of all the tiddlers that are 
> tagged with the current tiddler title. However I would like to omit all 
> tiddlers that are not themselves subsequently tagged. 
>
> Let me try to give you an example... if I have three tiddlers X, Y and Z. 
> Within the parent tiddler X, I would like to return a list containing its 
> child Y, provided Y is tagged with X AND Z is tagged with Y (ie X has a 
> grandchild).  However, if there were no tiddlers tagged with Y, then Y 
> would not appear in the listing within X. 
>
> Does that make sense?
>
>

-- 
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/b409146d-b6be-4a33-97d5-9ae634f0e755%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw5] Show tag list only when grandchildren exist

2018-07-24 Thread 'Stuart Amor' via TiddlyWiki
I am looking for a way of returning a list of all the tiddlers that are tagged 
with the current tiddler title. However I would like to omit all tiddlers that 
are not themselves subsequently tagged. 

Let me try to give you an example... if I have three tiddlers X, Y and Z. 
Within the parent tiddler X, I would like to return a list containing its child 
Y, provided Y is tagged with X AND Z is tagged with Y (ie X has a grandchild).  
However, if there were no tiddlers tagged with Y, then Y would not appear in 
the listing within X. 

Does that make sense?

-- 
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/2a7045a4-191a-402c-b376-4a54fa607def%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Globally changing internal links to display caption text if possible?

2017-06-21 Thread 'Stuart Amor' via TiddlyWiki
I think having the option in the control panel to turn it off makes sense. 
Turning it off would then allow you to error check the links as the true unique 
title IDs would be displayed. 

-- 
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/faa185a6-bd6c-438e-b83a-1dc4f2ec3596%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Globally changing internal links to display caption text if possible?

2017-06-18 Thread 'Stuart Amor' via TiddlyWiki
Thank you for all your responses. I am not at all put off at all. I have 
already had to make quite a few changes for this to work. There have been a few 
discussions about captions and alternative (non-unique) titles before.   In 
fact this is not the first time I have been down this route, but the fact I 
keep coming back to it means there must be something in it. I have come from a 
latex background where having short titles and long titles is commonplace. I 
started using caption for my long titles as this appeared to be the way the 
list macros promoted. Although I agree that within the sidebar caption tends to 
be used as the short title version, which I have had swap around to display 
title instead 

-- 
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/b8ff911c-b8a9-4412-9fba-18ce9aaba128%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5]3d panorama 360 in a single tiddlywiki file. demo.

2017-06-13 Thread 'Stuart Amor' via TiddlyWiki
I can't work out why changing the tiddler title "Перетащите картинку" to an 
English translation breaks everything - where is this title referenced?

On Friday, 7 April 2017 03:59:54 UTC+1, sini-Kit wrote:
>
> here is the reference for internal panorama.jpg 
> http://heeg.ru/panorama.html#newpan (panorama can be external or internal 
> jpg picture)
> here is panorama in 2d http://heeg.ru/panorama.html#panorama.jpg
> here is three.js library 
> http://heeg.ru/panorama.html#%24%3A%2Fboot%2Fbootprefix1.js
> here is PhotoSphereViewer.js library 
> http://heeg.ru/panorama.html#%24%3A%2Fboot%2FPhotoSphereViewer.js
>
> It will be great if you make new pano/jpg type of the tiddler to show many 
> panorams in one wiki
>
> четверг, 6 апреля 2017 г., 20:50:44 UTC+3 пользователь Stuart Amor написал:
>
>> I really like this and think it has great potential. I have been looking 
>> at how it could be turned into a macros, but I can see where you could 
>> change the name of the reference panoramic Tiddler? It would be nice to 
>> have multiple pictures in one file
>
>

-- 
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/7c1fbf25-f2c5-487c-9dcd-424d28486943%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] [TW5]3d panorama 360 in a single tiddlywiki file. demo.

2017-04-06 Thread 'Stuart Amor' via TiddlyWiki
I really like this and think it has great potential. I have been looking at how 
it could be turned into a macros, but I can see where you could change the name 
of the reference panoramic Tiddler? It would be nice to have multiple pictures 
in one file

-- 
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/91777ca9-e193-46bf-bbbe-0b9123844e36%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Using tiddlywiki colours within an SVG

2016-06-23 Thread 'Stuart Amor' via TiddlyWiki
Is there a way to get an SVG, such as Motovun Jack.svg to use the default 
foreground colour rather than black?  I have tried replacing every 
reference to black with <>, but this doesn't work.

I work with a pdf that needs to accommodate palette changes and when the 
colours are inversed the image currently disappears.  

-- 
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/2b8c7a75-67c3-4465-bffc-fee3629a6dcd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Like Taggly but in a table...

2016-06-13 Thread 'Stuart Amor' via TiddlyWiki
Wow, that was easy - thank you

On Monday, 13 June 2016 17:44:23 UTC+1, Mat wrote:
>
> One error is
>
> [tag[<>]sort...
>
>
> it should read
>
> [tagsort...
>
>
> See if that changes it.
>
> <:-) 
>

-- 
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/3f0d9f9e-6b52-49c7-a8a8-f684f60b5149%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Like Taggly but in a table...

2016-06-13 Thread 'Stuart Amor' via TiddlyWiki
Can anybody help me with the following code?  I would like to add a third 
column in the end, but I am stuck just getting two to work...

\define tagtable(primary)

PrimarySecondary
<$list filter="[tag[$primary$]sort[]]" variable="ColA">

<$link to=<>><>

<$list filter="[tag[<>]sort[]]" variable="ColB">
<$link to=<>><>





\end

<$macrocall $name="tagtable" primary='Contents'/>



-- 
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/c25ac8ff-44a0-411b-b6f0-3b32726a6645%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Can checkboxes use data dictionaries?

2016-06-10 Thread 'Stuart Amor' via TiddlyWiki
This works well for me, but rather then entering a "0" when unchecked is it 
possible to remove the index and value from the data tiddler?

On Monday, 30 May 2016 20:36:47 UTC+1, Eric Shulman  wrote:
> On Sunday, May 29, 2016 at 2:49:13 PM UTC-7, Mark Armitage wrote:
> I would like to have a single tiddler which holds a data dictionary, say:
> TEST
> 
>    AA:1
>    BB:0
>    CC:0
> Then in another tiddler, have a checkbox that gets it's value from the data 
> dictionary (TEST), so say:
> 
> CB
> 
>   [x] AA
>   [ ] BB
> I think that it should be something like {{TEST##AA}} and if the value is 1 
> then check the box, otherwise uncheck it.
> 
> 
> The $checkbox widget only supports toggle of tags or field values.  You can, 
> however, achieve the effect you want, by creating a macro that uses $reveal, 
> $button and $action-setfield (along with a little bit of HTML), like this:
> 
> 
> 
> \define toggleindex(tid,name,label)
> <$reveal state="""$tid$##$name$""" type="nomatch" text="1">
>    <$button class="tc-btn-invisible"> $label$
>       <$action-setfield $tiddler="""$tid$""" $index="""$name$""" $value="1"/>
>    
> 
> <$reveal state="""$tid$##$name$""" type="match" text="1">
>    <$button class="tc-btn-invisible">  checked="checked">$label$
>       <$action-setfield $tiddler="""$tid$""" $index="""$name$""" $value="0"/>
>    
> 
> \end
> 
> 
> Place the above in a tiddler (e.g., "$:/macros/tiddlytools/toggleindex"), and 
> tag it with "$:/tags/Macro".
> 
> 
> To use the macro, write something like:
> 
> 
> <>
> 
> enjoy,
> -e
> Eric Shulman
> TiddlyTools / ELS Design Studios
> InsideTiddlyWiki: The Missing Manuals

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


Re: [tw] TW5: extracting data from data dictionaries

2016-06-10 Thread 'Stuart Amor' via TiddlyWiki
Has anybody develop a hack for this? My data tiddlers look like this:

Sink: 1
Taps: 1
Toilet: 0

I would like to create a list of all the Index values, but only the ones that 
have a value of "1"

-- 
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/b282113f-37af-4d1c-8a50-4c49659039b4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: [TW5] Removing indicies from data tiddlers and using regex to list/search data tiddler indicies

2016-06-10 Thread 'Stuart Amor' via TiddlyWiki
I think I may have missed a fundamental point here. I have followed the above 
examples and entered:

\define thisSearchMacro()

<$list filter="[[$:/data/Entrance]indexes[]regexp:title[(?i)$(thisSearch)$]]">
<$transclude tiddler="$:/data/Entrance" index=<>/>


\end

<>

I don't understand how the regexp:title[(?i)$(thisSearch)$] portion of code 
works, I get the same values if it's there or not...?

-- 
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/6c47caf6-a372-4fe6-99c0-e46ee289a2b8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Create a list of data-dictionary tiddlers that contain a certain text field

2016-06-09 Thread 'Stuart Amor' via TiddlyWiki
On Thursday, 9 June 2016 10:06:38 UTC+1, BJ  wrote:
> Hi Stuart,
> try
> <$list filter="""[is[system]] [is[shadow]] +[search["Door Look": "1"]] 
> +[remove prefix[$:/data/]sort[list]]"""/>
> 
> all the best
> BJ
> 
> On Thursday, June 9, 2016 at 7:19:38 AM UTC+1, Stuart Amor wrote:Ok, I think 
> I was guilty of making the solution to my ask too hard. I realised that a 
> simple search filter would work and the fact the tiddlers that I was 
> searching through were data tiddlers didn't matter. 
> 
> <$list filter="[is[system]] [is[shadow]] +[search[Door Lock]] +[remove 
> prefix[$:/data/]sort[list]]"/>
> Was all I needed todo. However, I have now expanded my code following the 
> resent checkboxes within data tiddlers article, which switches thinks to Json 
> and can include 0 values as well as "1", I now need to search for ["Door 
> Lock": "1"]. When I enter this phrase into the sidebar system search I get 
> the correct result, but the follow script is not working for me:
> <$list filter="[is[system]] [is[shadow]] +[search["Door Look": "1"]] +[remove 
> prefix[$:/data/]sort[list]]"/>
> I am guessing this is because I have a search term that includes quotes, but 
> I need to search for that exact phrase. The sidebar demonstrates it can be 
> done, but how is it done?

Thank you, that did the trick

-- 
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/9b42c188-6773-486a-a48f-578572496337%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Create a list of data-dictionary tiddlers that contain a certain text field

2016-06-09 Thread 'Stuart Amor' via TiddlyWiki
Ok, I think I was guilty of making the solution to my ask too hard. I realised 
that a simple search filter would work and the fact the tiddlers that I was 
searching through were data tiddlers didn't matter. 


<$list filter="[is[system]] [is[shadow]] +[search[Door Lock]] +[remove 
prefix[$:/data/]sort[list]]"/>

Was all I needed todo. However, I have now expanded my code following the 
resent checkboxes within data tiddlers article, which switches thinks to Json 
and can include 0 values as well as "1", I now need to search for ["Door Lock": 
"1"]. When I enter this phrase into the sidebar system search I get the correct 
result, but the follow script is not working for me:

<$list filter="[is[system]] [is[shadow]] +[search["Door Look": "1"]] +[remove 
prefix[$:/data/]sort[list]]"/>

I am guessing this is because I have a search term that includes quotes, but I 
need to search for that exact phrase. The sidebar demonstrates it can be done, 
but how is it done?

-- 
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/a337aa26-291b-480b-8762-3cc1accb17c0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Removeprefix syntax

2016-05-06 Thread 'Stuart Amor' via TiddlyWiki
Reading the documentation I thought this would work? But it doesn't...

<$list filter="[is[system]] [is[shadow]] +[search[Door Status Monitoring: X]] 
+[tag[$:/tags/sectec/office-location-data]]" +[removeprefix[$:/]] 
template="$:/core/ui/ListItemTemplate"/>

-- 
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/6d3eadaf-4c1d-4d14-926f-db1572fdcdc6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Removeprefix syntax

2016-05-06 Thread 'Stuart Amor' via TiddlyWiki
I have a question which is hopefully easily solved.  I have the following 
list filter:-

<$list filter="[is[system]] [is[shadow]] +[search]+[tag[Hidden 
Data]]" template="$:/core/ui/ListItemTemplate"/>

This search produces a list of my custom hidden tiddlers that contain a 
particular search phrase, eg

$:/Tiddler A
$:/Tiddler B

I have been trying to use the removeprefix to omit the $/ part and thus 
return a link to the non-hidden version of the tiddler, eg

Tiddler A
Tiddler B

I am not sure if I have my bracket wrong or if it's because I am using a 
search rather than a tag filter, but I can't get any removeprefix example 
to work in this context?

-- 
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/7e30489c-6eaf-47b1-a8a6-24d7085ccbc6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Create a list of data-dictionary tiddlers that contain a certain text field

2016-04-01 Thread 'Stuart Amor' via TiddlyWiki
C Pa, that is a great solution and works well - thank you. However, removing 
the X breaks a matrix table that listed the locations as column headers and the 
items as row headers with an "X" if it existed or a "-" if it didn't. How would 
I modify my

<$transclude tiddler=<> index=<>>-

To give me an "X" instead of repeating the room name?

-- 
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/a99e6081-c413-4136-9676-08f4d005f9b9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Create a list of data-dictionary tiddlers that contain a certain text field

2016-03-31 Thread 'Stuart Amor' via TiddlyWiki
I have created several hidden Data-dictionary tiddlers all containing the 
same information but referring to a different entity.  For example, I have 
a tiddler called "$:/data/Bathroom", that contains the following:

Sink:X
Toilet:X

I also have a Data-Dictionary called "$:/data/Kitchen" that simply contains:

Sink:X

I would like to create a list within the "Sink" tiddler that identifies the 
Data-Dictionaries that have a sink entry.  If I could remove the "$:/data/" 
portion of the linked tiddler title at the same time that would be great, 
so the link would report:

   - Bathroom
   - Kitchen
   
I have done a google groups search and haven't found any code that reflects 
this idea, would really appreciate some help

-- 
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/129e8ee6-8d12-4923-8dbc-f36270ccf76c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Re: Summary Matrix Table

2016-03-03 Thread 'Stuart Amor' via TiddlyWiki
Thank you, could you provide me with a link to the material? 

-- 
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/bf99d65c-6cf1-4d24-9725-46288cc9c83c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[tw] Summary Matrix Table

2016-03-03 Thread 'Stuart Amor' via TiddlyWiki
I am trying to use tiddlywiki to create room datasheets. I have each room 
created as it's own tiddler and labelled "rooms".  The within each room 
tiddler I tag the plant in the room, which likes to a tiddler labelled 
"plant". Let me give you an example - I have two room tiddlers called 
"kitchen" and "bathroom" which both tag the plant tag called "taps" but 
only the bathroom has the tag "toilet". 

I want to create a dynamic summary matrix that automatically grows when I 
add another room or plant tiddler. The matrix needs to list all the rooms 
as columns and have all the plant items as rows. If a room has that plant 
tag a X is inserted in the matrix. 

.   Kitchen.   Bathroom 
Taps. X.   X
Toilet.   X

Any suggestions would be great

-- 
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/2df5ab41-bcc1-474b-ab54-013b9ae3598b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.