Re: [tw5] Re: Display tags in Tiddlers

2021-04-25 Thread paulgilbert2000
This works thanks Anjar

On Thursday, April 22, 2021 at 9:56:55 AM UTC+2 Anjar wrote:

> Hi,
>
> Okay, I guess you have a list that produces that list of tiddlers, so just 
> add <$list filter="[all[current]tags[]]"><> in 
> that list, after the code for the drop-list
>
> Best,
> Anders
>
> torsdag 22. april 2021 kl. 02:53:15 UTC+2 skrev mohamed...@hotmail.com:
>
>> Thanks Anders 
>>
>> Close enough!
>>
>> so i have this tiddler that lists other tiddlers matching certain Tag 
>> criteria , i also have some buttons and a drop list  , what i want is to 
>> add next to the buttons and the drop list all tags associated with these 
>> isted tiddlers 
>>
>> so this is how it looks like , i just need to add next to the droplists 
>> all tags associated with the test 2 for example , and preferably in the 
>> same pill format , hope this makes sense
>> [image: Capture.PNG]
>>
>>
>>
>> [image: Capture2.PNG]
>> On Wednesday, April 21, 2021 at 1:16:46 AM UTC+2 Anjar wrote:
>>
>>> Hi Mohamed,
>>>
>>> I'm not sure I fully understand your question, but here is an example 
>>> that produce a table with tiddlers (by letter) to the left and the tags of 
>>> the tiddler to the right; perhaps you wanted the opposite..?
>>>
>>> 
>>> <$list filter="A B C D E F G H I J K L M N O P Q R S T U V W X Y Z">
>>> 
>>> <>
>>> 
>>> <$list filter="[ sortan[]prefix]">
>>> 
>>> <>
>>> <$list 
>>> filter="[titletags[]]"><>
>>> 
>>> 
>>> 
>>> 
>>>
>>> Best,
>>> Anders
>>>
>>> mandag 19. april 2021 kl. 06:30:30 UTC+2 skrev mohamed.e...@vodafone.com
>>> :
>>>
 Is it possible to display all associated tags with the listed tiddlers 
 next to them in the list?

 On Wednesday, April 7, 2021 at 2:29:41 PM UTC+2 Anjar wrote:

> Hi,
>
> As you've discovered, seemingly simple problems can get wuite 
> complex:) I agree with you that  is a nice solution, or you could 
> wrap 
> it in a  and have each element as a list item
>
> For now, I was unable to find a simply way to substring the titles; if 
> there was, you could get the first letter of all titles, make them 
> uppercase, remove duplicates and iterate through them with 
> match:caseinsensitive or something. Maybe it'll be possible in the future!
>
> PS I forgot XYZ;)
>
>
> Best,
> Anders
>
> onsdag 7. april 2021 kl. 09:42:10 UTC+2 skrev jn.pierr...@gmail.com:
>
>>
>> Nice solution. I tried it. It is case sensible. My code is not (it 
>> was needed).
>>
>> I will try to merge your solution into mine to see what I could 
>> achieve with two imbricated lists.
>>
>> Jean-Pierre
>> Le mercredi 7 avril 2021 à 08:11:28 UTC+2, schlechter...@gmail.com a 
>> écrit :
>>
>>> Thanks jn.pierr for your input - I'll check it later.
>>> In the meantime I found a solution:
>>>
>>> 
>>> <$list filter="A B C D E F G H I J K L M N O P R S T U V W Z">
>>>
>>> <><$list filter="[ 
>>> sortan[]prefix]"> 
>>>  <> <$view 
>>> field="published" />  
>>> **
>>> 
>>> 
>>> 
>>>
>>> Stefan
>>> jn.pierr...@gmail.com schrieb am Dienstag, 6. April 2021 um 
>>> 21:11:10 UTC+2:
>>>
 As for listing letters for entries I have tghe following:

 \define all-initials()
 <$list filter="[tag[glossaire]]">
<$set name=1st value={{{ [all[current]split[]first[]] }}}>
   <<1st>>

 
 \end

 \define glossaryList()
 <$wikify name="all-letters" text=<>>
 <$list 
 filter="[uppercase[]split[É]join[E]split[]each:value[]!is[missing]]"
  
 variable="letter">
   <$link to=<>/>
 

 <$list 
 filter="[uppercase[]split[É]join[E]split[]each:value[]!is[missing]]"
  
 variable="letter">
 <$link to=<>/>
 <$set name="entries" filter="[addprefix[{{]addsuffix[}}]]">
 <>
 
 
 
 \end

 added twist: make É and E the same entry. letters not used are not 
 seen. This example is with a "glossaire" tag, you would use "people" 
 instead or make it a variable of all-initials macro. the macro to be 
 used 
 is glossaryList (no argument).

 You would have to adapt it to your needs and language perhaps.

 note: I have created letterr tiddlers "A"', "B"', "C" etc before 
 hand. I have not yet found out how to create them on purpose (and 
 delete 
 them on purpose too). But they all have the same content (a call to 
 another 
 macro). Some are not used, that's it.
 Le mardi 6 avril 2021 à 17:59:12 UTC+2, schlechter...@gmail.com a 
 écrit :

> Hello Anjar,
>
> I've adapted your example to generate a list of all my Tiddlers + 
> "published" 

Re: [tw5] Re: Display tags in Tiddlers

2021-04-22 Thread Anjar
Hi,

Okay, I guess you have a list that produces that list of tiddlers, so just 
add <$list filter="[all[current]tags[]]"><> in 
that list, after the code for the drop-list

Best,
Anders

torsdag 22. april 2021 kl. 02:53:15 UTC+2 skrev mohamed...@hotmail.com:

> Thanks Anders 
>
> Close enough!
>
> so i have this tiddler that lists other tiddlers matching certain Tag 
> criteria , i also have some buttons and a drop list  , what i want is to 
> add next to the buttons and the drop list all tags associated with these 
> isted tiddlers 
>
> so this is how it looks like , i just need to add next to the droplists 
> all tags associated with the test 2 for example , and preferably in the 
> same pill format , hope this makes sense
> [image: Capture.PNG]
>
>
>
> [image: Capture2.PNG]
> On Wednesday, April 21, 2021 at 1:16:46 AM UTC+2 Anjar wrote:
>
>> Hi Mohamed,
>>
>> I'm not sure I fully understand your question, but here is an example 
>> that produce a table with tiddlers (by letter) to the left and the tags of 
>> the tiddler to the right; perhaps you wanted the opposite..?
>>
>> 
>> <$list filter="A B C D E F G H I J K L M N O P Q R S T U V W X Y Z">
>> 
>> <>
>> 
>> <$list filter="[ sortan[]prefix]">
>> 
>> <>
>> <$list 
>> filter="[titletags[]]"><>
>> 
>> 
>> 
>> 
>>
>> Best,
>> Anders
>>
>> mandag 19. april 2021 kl. 06:30:30 UTC+2 skrev mohamed.e...@vodafone.com:
>>
>>> Is it possible to display all associated tags with the listed tiddlers 
>>> next to them in the list?
>>>
>>> On Wednesday, April 7, 2021 at 2:29:41 PM UTC+2 Anjar wrote:
>>>
 Hi,

 As you've discovered, seemingly simple problems can get wuite complex:) 
 I agree with you that  is a nice solution, or you could wrap it in a 
  and have each element as a list item

 For now, I was unable to find a simply way to substring the titles; if 
 there was, you could get the first letter of all titles, make them 
 uppercase, remove duplicates and iterate through them with 
 match:caseinsensitive or something. Maybe it'll be possible in the future!

 PS I forgot XYZ;)


 Best,
 Anders

 onsdag 7. april 2021 kl. 09:42:10 UTC+2 skrev jn.pierr...@gmail.com:

>
> Nice solution. I tried it. It is case sensible. My code is not (it was 
> needed).
>
> I will try to merge your solution into mine to see what I could 
> achieve with two imbricated lists.
>
> Jean-Pierre
> Le mercredi 7 avril 2021 à 08:11:28 UTC+2, schlechter...@gmail.com a 
> écrit :
>
>> Thanks jn.pierr for your input - I'll check it later.
>> In the meantime I found a solution:
>>
>> 
>> <$list filter="A B C D E F G H I J K L M N O P R S T U V W Z">
>>
>> <><$list filter="[ 
>> sortan[]prefix]"> 
>>  <> <$view 
>> field="published" />  
>> **
>> 
>> 
>> 
>>
>> Stefan
>> jn.pierr...@gmail.com schrieb am Dienstag, 6. April 2021 um 21:11:10 
>> UTC+2:
>>
>>> As for listing letters for entries I have tghe following:
>>>
>>> \define all-initials()
>>> <$list filter="[tag[glossaire]]">
>>><$set name=1st value={{{ [all[current]split[]first[]] }}}>
>>>   <<1st>>
>>>
>>> 
>>> \end
>>>
>>> \define glossaryList()
>>> <$wikify name="all-letters" text=<>>
>>> <$list 
>>> filter="[uppercase[]split[É]join[E]split[]each:value[]!is[missing]]"
>>>  
>>> variable="letter">
>>>   <$link to=<>/>
>>> 
>>>
>>> <$list 
>>> filter="[uppercase[]split[É]join[E]split[]each:value[]!is[missing]]"
>>>  
>>> variable="letter">
>>> <$link to=<>/>
>>> <$set name="entries" filter="[addprefix[{{]addsuffix[}}]]">
>>> <>
>>> 
>>> 
>>> 
>>> \end
>>>
>>> added twist: make É and E the same entry. letters not used are not 
>>> seen. This example is with a "glossaire" tag, you would use "people" 
>>> instead or make it a variable of all-initials macro. the macro to be 
>>> used 
>>> is glossaryList (no argument).
>>>
>>> You would have to adapt it to your needs and language perhaps.
>>>
>>> note: I have created letterr tiddlers "A"', "B"', "C" etc before 
>>> hand. I have not yet found out how to create them on purpose (and 
>>> delete 
>>> them on purpose too). But they all have the same content (a call to 
>>> another 
>>> macro). Some are not used, that's it.
>>> Le mardi 6 avril 2021 à 17:59:12 UTC+2, schlechter...@gmail.com a 
>>> écrit :
>>>
 Hello Anjar,

 I've adapted your example to generate a list of all my Tiddlers + 
 "published" field (= date):

 <$list filter="A B C D E F G H I J K L M N O P Q R S T U V 
 W"><><$list filter="[ 
 sortan[]prefix]">   
 <> <$view field="published" />  

 Is there a way to get an output list with only one 

Re: [tw5] Re: Display tags in Tiddlers

2021-04-21 Thread paulgilbert2000
Thanks Anders 

Close enough!

so i have this tiddler that lists other tiddlers matching certain Tag 
criteria , i also have some buttons and a drop list  , what i want is to 
add next to the buttons and the drop list all tags associated with these 
isted tiddlers 

so this is how it looks like , i just need to add next to the droplists all 
tags associated with the test 2 for example , and preferably in the same 
pill format , hope this makes sense
[image: Capture.PNG]



[image: Capture2.PNG]
On Wednesday, April 21, 2021 at 1:16:46 AM UTC+2 Anjar wrote:

> Hi Mohamed,
>
> I'm not sure I fully understand your question, but here is an example that 
> produce a table with tiddlers (by letter) to the left and the tags of the 
> tiddler to the right; perhaps you wanted the opposite..?
>
> 
> <$list filter="A B C D E F G H I J K L M N O P Q R S T U V W X Y Z">
> 
> <>
> 
> <$list filter="[ sortan[]prefix]">
> 
> <>
> <$list 
> filter="[titletags[]]"><>
> 
> 
> 
> 
>
> Best,
> Anders
>
> mandag 19. april 2021 kl. 06:30:30 UTC+2 skrev mohamed.e...@vodafone.com:
>
>> Is it possible to display all associated tags with the listed tiddlers 
>> next to them in the list?
>>
>> On Wednesday, April 7, 2021 at 2:29:41 PM UTC+2 Anjar wrote:
>>
>>> Hi,
>>>
>>> As you've discovered, seemingly simple problems can get wuite complex:) 
>>> I agree with you that  is a nice solution, or you could wrap it in a 
>>>  and have each element as a list item
>>>
>>> For now, I was unable to find a simply way to substring the titles; if 
>>> there was, you could get the first letter of all titles, make them 
>>> uppercase, remove duplicates and iterate through them with 
>>> match:caseinsensitive or something. Maybe it'll be possible in the future!
>>>
>>> PS I forgot XYZ;)
>>>
>>>
>>> Best,
>>> Anders
>>>
>>> onsdag 7. april 2021 kl. 09:42:10 UTC+2 skrev jn.pierr...@gmail.com:
>>>

 Nice solution. I tried it. It is case sensible. My code is not (it was 
 needed).

 I will try to merge your solution into mine to see what I could achieve 
 with two imbricated lists.

 Jean-Pierre
 Le mercredi 7 avril 2021 à 08:11:28 UTC+2, schlechter...@gmail.com a 
 écrit :

> Thanks jn.pierr for your input - I'll check it later.
> In the meantime I found a solution:
>
> 
> <$list filter="A B C D E F G H I J K L M N O P R S T U V W Z">
>
> <><$list filter="[ 
> sortan[]prefix]"> 
>  <> <$view 
> field="published" />  
> **
> 
> 
> 
>
> Stefan
> jn.pierr...@gmail.com schrieb am Dienstag, 6. April 2021 um 21:11:10 
> UTC+2:
>
>> As for listing letters for entries I have tghe following:
>>
>> \define all-initials()
>> <$list filter="[tag[glossaire]]">
>><$set name=1st value={{{ [all[current]split[]first[]] }}}>
>>   <<1st>>
>>
>> 
>> \end
>>
>> \define glossaryList()
>> <$wikify name="all-letters" text=<>>
>> <$list 
>> filter="[uppercase[]split[É]join[E]split[]each:value[]!is[missing]]"
>>  
>> variable="letter">
>>   <$link to=<>/>
>> 
>>
>> <$list 
>> filter="[uppercase[]split[É]join[E]split[]each:value[]!is[missing]]"
>>  
>> variable="letter">
>> <$link to=<>/>
>> <$set name="entries" filter="[addprefix[{{]addsuffix[}}]]">
>> <>
>> 
>> 
>> 
>> \end
>>
>> added twist: make É and E the same entry. letters not used are not 
>> seen. This example is with a "glossaire" tag, you would use "people" 
>> instead or make it a variable of all-initials macro. the macro to be 
>> used 
>> is glossaryList (no argument).
>>
>> You would have to adapt it to your needs and language perhaps.
>>
>> note: I have created letterr tiddlers "A"', "B"', "C" etc before 
>> hand. I have not yet found out how to create them on purpose (and delete 
>> them on purpose too). But they all have the same content (a call to 
>> another 
>> macro). Some are not used, that's it.
>> Le mardi 6 avril 2021 à 17:59:12 UTC+2, schlechter...@gmail.com a 
>> écrit :
>>
>>> Hello Anjar,
>>>
>>> I've adapted your example to generate a list of all my Tiddlers + 
>>> "published" field (= date):
>>>
>>> <$list 
>>> filter="A B C D E F G H I J K L M N O P Q R S T U V 
>>> W"><><$list filter="[ 
>>> sortan[]prefix]">   
>>> <> <$view field="published" />  
>>>
>>> Is there a way to get an output list with only one Tiddler-title per 
>>> line?
>>>
>>> Thanks for feedback
>>> Stefan
>>>
>>> Anjar schrieb am Montag, 5. April 2021 um 22:25:39 UTC+2:
>>>
 Hi,

 Absolutely, here is a quick example:

 <$list filter="A B C D E F G H I J K L M N O P Q R S T U V 
 W"><><$list 
 filter="[tag[People]sort[title]prefix]"> <> 
 

 The div is just to 

Re: [tw5] Re: Display tags in Tiddlers

2021-04-20 Thread Anjar
Hi Mohamed,

I'm not sure I fully understand your question, but here is an example that 
produce a table with tiddlers (by letter) to the left and the tags of the 
tiddler to the right; perhaps you wanted the opposite..?


<$list filter="A B C D E F G H I J K L M N O P Q R S T U V W X Y Z">

<>

<$list filter="[ sortan[]prefix]">

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





Best,
Anders

mandag 19. april 2021 kl. 06:30:30 UTC+2 skrev mohamed.e...@vodafone.com:

> Is it possible to display all associated tags with the listed tiddlers 
> next to them in the list?
>
> On Wednesday, April 7, 2021 at 2:29:41 PM UTC+2 Anjar wrote:
>
>> Hi,
>>
>> As you've discovered, seemingly simple problems can get wuite complex:) I 
>> agree with you that  is a nice solution, or you could wrap it in a 
>>  and have each element as a list item
>>
>> For now, I was unable to find a simply way to substring the titles; if 
>> there was, you could get the first letter of all titles, make them 
>> uppercase, remove duplicates and iterate through them with 
>> match:caseinsensitive or something. Maybe it'll be possible in the future!
>>
>> PS I forgot XYZ;)
>>
>>
>> Best,
>> Anders
>>
>> onsdag 7. april 2021 kl. 09:42:10 UTC+2 skrev jn.pierr...@gmail.com:
>>
>>>
>>> Nice solution. I tried it. It is case sensible. My code is not (it was 
>>> needed).
>>>
>>> I will try to merge your solution into mine to see what I could achieve 
>>> with two imbricated lists.
>>>
>>> Jean-Pierre
>>> Le mercredi 7 avril 2021 à 08:11:28 UTC+2, schlechter...@gmail.com a 
>>> écrit :
>>>
 Thanks jn.pierr for your input - I'll check it later.
 In the meantime I found a solution:

 
 <$list filter="A B C D E F G H I J K L M N O P R S T U V W Z">

 <><$list filter="[ 
 sortan[]prefix]"> 
  <> <$view 
 field="published" />  
 **
 
 
 

 Stefan
 jn.pierr...@gmail.com schrieb am Dienstag, 6. April 2021 um 21:11:10 
 UTC+2:

> As for listing letters for entries I have tghe following:
>
> \define all-initials()
> <$list filter="[tag[glossaire]]">
><$set name=1st value={{{ [all[current]split[]first[]] }}}>
>   <<1st>>
>
> 
> \end
>
> \define glossaryList()
> <$wikify name="all-letters" text=<>>
> <$list 
> filter="[uppercase[]split[É]join[E]split[]each:value[]!is[missing]]"
>  
> variable="letter">
>   <$link to=<>/>
> 
>
> <$list 
> filter="[uppercase[]split[É]join[E]split[]each:value[]!is[missing]]"
>  
> variable="letter">
> <$link to=<>/>
> <$set name="entries" filter="[addprefix[{{]addsuffix[}}]]">
> <>
> 
> 
> 
> \end
>
> added twist: make É and E the same entry. letters not used are not 
> seen. This example is with a "glossaire" tag, you would use "people" 
> instead or make it a variable of all-initials macro. the macro to be used 
> is glossaryList (no argument).
>
> You would have to adapt it to your needs and language perhaps.
>
> note: I have created letterr tiddlers "A"', "B"', "C" etc before hand. 
> I have not yet found out how to create them on purpose (and delete them 
> on 
> purpose too). But they all have the same content (a call to another 
> macro). 
> Some are not used, that's it.
> Le mardi 6 avril 2021 à 17:59:12 UTC+2, schlechter...@gmail.com a 
> écrit :
>
>> Hello Anjar,
>>
>> I've adapted your example to generate a list of all my Tiddlers + 
>> "published" field (= date):
>>
>> <$list 
>> filter="A B C D E F G H I J K L M N O P Q R S T U V 
>> W"><><$list filter="[ 
>> sortan[]prefix]">   
>> <> <$view field="published" />  
>>
>> Is there a way to get an output list with only one Tiddler-title per 
>> line?
>>
>> Thanks for feedback
>> Stefan
>>
>> Anjar schrieb am Montag, 5. April 2021 um 22:25:39 UTC+2:
>>
>>> Hi,
>>>
>>> Absolutely, here is a quick example:
>>>
>>> <$list 
>>> filter="A B C D E F G H I J K L M N O P Q R S T U V 
>>> W"><><$list 
>>> filter="[tag[People]sort[title]prefix]"> <> 
>>> 
>>>
>>> The div is just to get three columns. The first list loops through 
>>> all the letters and print each letter (<>) as header. 
>>> For 
>>> each letter, you use the same list as before, but add a filter to only 
>>> keep 
>>> titles starting on (prefix) the given letter (note that we have to use 
>>>  inside filters)
>>>
>>> Best,
>>> Anders
>>>
>>> mandag 5. april 2021 kl. 21:11:35 UTC+2 skrev isd196...@gmail.com:
>>>
 I have one final question, relating to the list function itself: Is 
 it possible to split the list alphabetically? So that all people whose 
 names begin with A, B, C etc, can be placed in separate lists, despite 
 all 
 being in the 

Re: [tw5] Re: Display tags in Tiddlers

2021-04-18 Thread 'mohamed maghrabi' via TiddlyWiki
Is it possible to display all associated tags with the listed tiddlers next 
to them in the list?

On Wednesday, April 7, 2021 at 2:29:41 PM UTC+2 Anjar wrote:

> Hi,
>
> As you've discovered, seemingly simple problems can get wuite complex:) I 
> agree with you that  is a nice solution, or you could wrap it in a 
>  and have each element as a list item
>
> For now, I was unable to find a simply way to substring the titles; if 
> there was, you could get the first letter of all titles, make them 
> uppercase, remove duplicates and iterate through them with 
> match:caseinsensitive or something. Maybe it'll be possible in the future!
>
> PS I forgot XYZ;)
>
>
> Best,
> Anders
>
> onsdag 7. april 2021 kl. 09:42:10 UTC+2 skrev jn.pierr...@gmail.com:
>
>>
>> Nice solution. I tried it. It is case sensible. My code is not (it was 
>> needed).
>>
>> I will try to merge your solution into mine to see what I could achieve 
>> with two imbricated lists.
>>
>> Jean-Pierre
>> Le mercredi 7 avril 2021 à 08:11:28 UTC+2, schlechter...@gmail.com a 
>> écrit :
>>
>>> Thanks jn.pierr for your input - I'll check it later.
>>> In the meantime I found a solution:
>>>
>>> 
>>> <$list filter="A B C D E F G H I J K L M N O P R S T U V W Z">
>>>
>>> <><$list filter="[ 
>>> sortan[]prefix]"> 
>>>  <> <$view 
>>> field="published" />  
>>> **
>>> 
>>> 
>>> 
>>>
>>> Stefan
>>> jn.pierr...@gmail.com schrieb am Dienstag, 6. April 2021 um 21:11:10 
>>> UTC+2:
>>>
 As for listing letters for entries I have tghe following:

 \define all-initials()
 <$list filter="[tag[glossaire]]">
<$set name=1st value={{{ [all[current]split[]first[]] }}}>
   <<1st>>

 
 \end

 \define glossaryList()
 <$wikify name="all-letters" text=<>>
 <$list 
 filter="[uppercase[]split[É]join[E]split[]each:value[]!is[missing]]"
  
 variable="letter">
   <$link to=<>/>
 

 <$list 
 filter="[uppercase[]split[É]join[E]split[]each:value[]!is[missing]]"
  
 variable="letter">
 <$link to=<>/>
 <$set name="entries" filter="[addprefix[{{]addsuffix[}}]]">
 <>
 
 
 
 \end

 added twist: make É and E the same entry. letters not used are not 
 seen. This example is with a "glossaire" tag, you would use "people" 
 instead or make it a variable of all-initials macro. the macro to be used 
 is glossaryList (no argument).

 You would have to adapt it to your needs and language perhaps.

 note: I have created letterr tiddlers "A"', "B"', "C" etc before hand. 
 I have not yet found out how to create them on purpose (and delete them on 
 purpose too). But they all have the same content (a call to another 
 macro). 
 Some are not used, that's it.
 Le mardi 6 avril 2021 à 17:59:12 UTC+2, schlechter...@gmail.com a 
 écrit :

> Hello Anjar,
>
> I've adapted your example to generate a list of all my Tiddlers + 
> "published" field (= date):
>
> <$list 
> filter="A B C D E F G H I J K L M N O P Q R S T U V 
> W"><><$list filter="[ 
> sortan[]prefix]">   
> <> <$view field="published" />  
>
> Is there a way to get an output list with only one Tiddler-title per 
> line?
>
> Thanks for feedback
> Stefan
>
> Anjar schrieb am Montag, 5. April 2021 um 22:25:39 UTC+2:
>
>> Hi,
>>
>> Absolutely, here is a quick example:
>>
>> <$list 
>> filter="A B C D E F G H I J K L M N O P Q R S T U V 
>> W"><><$list 
>> filter="[tag[People]sort[title]prefix]"> <> 
>> 
>>
>> The div is just to get three columns. The first list loops through 
>> all the letters and print each letter (<>) as header. 
>> For 
>> each letter, you use the same list as before, but add a filter to only 
>> keep 
>> titles starting on (prefix) the given letter (note that we have to use 
>>  inside filters)
>>
>> Best,
>> Anders
>>
>> mandag 5. april 2021 kl. 21:11:35 UTC+2 skrev isd196...@gmail.com:
>>
>>> I have one final question, relating to the list function itself: Is 
>>> it possible to split the list alphabetically? So that all people whose 
>>> names begin with A, B, C etc, can be placed in separate lists, despite 
>>> all 
>>> being in the same Tag group?
>>>
>>> Many thanks
>>>
>>> JK
>>>
>>> On Sun, 4 Apr 2021 at 19:08, Jax Kovak  wrote:
>>>
 Eric, thanks so much! I wasn't sure about the short form of the 
 list tag being used like that. Excellent! I have my list! Many thanks!

 Kind regards

 JK


 On Sun, 4 Apr 2021 at 18:09, Eric Shulman  
 wrote:

> On Sunday, April 4, 2021 at 9:46:38 AM UTC-7 isd196...@gmail.com 
> wrote:
>
>> Hey PMario, thanks for that, but I'm confused on how to use this. 

Re: [tw5] Re: Display tags in Tiddlers

2021-04-07 Thread Anjar
Hi,

As you've discovered, seemingly simple problems can get wuite complex:) I 
agree with you that  is a nice solution, or you could wrap it in a 
 and have each element as a list item

For now, I was unable to find a simply way to substring the titles; if 
there was, you could get the first letter of all titles, make them 
uppercase, remove duplicates and iterate through them with 
match:caseinsensitive or something. Maybe it'll be possible in the future!

PS I forgot XYZ;)


Best,
Anders

onsdag 7. april 2021 kl. 09:42:10 UTC+2 skrev jn.pierr...@gmail.com:

>
> Nice solution. I tried it. It is case sensible. My code is not (it was 
> needed).
>
> I will try to merge your solution into mine to see what I could achieve 
> with two imbricated lists.
>
> Jean-Pierre
> Le mercredi 7 avril 2021 à 08:11:28 UTC+2, schlechter...@gmail.com a 
> écrit :
>
>> Thanks jn.pierr for your input - I'll check it later.
>> In the meantime I found a solution:
>>
>> 
>> <$list filter="A B C D E F G H I J K L M N O P R S T U V W Z">
>>
>> <><$list filter="[ 
>> sortan[]prefix]"> 
>>  <> <$view field="published" 
>> />  
>> **
>> 
>> 
>> 
>>
>> Stefan
>> jn.pierr...@gmail.com schrieb am Dienstag, 6. April 2021 um 21:11:10 
>> UTC+2:
>>
>>> As for listing letters for entries I have tghe following:
>>>
>>> \define all-initials()
>>> <$list filter="[tag[glossaire]]">
>>><$set name=1st value={{{ [all[current]split[]first[]] }}}>
>>>   <<1st>>
>>>
>>> 
>>> \end
>>>
>>> \define glossaryList()
>>> <$wikify name="all-letters" text=<>>
>>> <$list 
>>> filter="[uppercase[]split[É]join[E]split[]each:value[]!is[missing]]"
>>>  
>>> variable="letter">
>>>   <$link to=<>/>
>>> 
>>>
>>> <$list 
>>> filter="[uppercase[]split[É]join[E]split[]each:value[]!is[missing]]"
>>>  
>>> variable="letter">
>>> <$link to=<>/>
>>> <$set name="entries" filter="[addprefix[{{]addsuffix[}}]]">
>>> <>
>>> 
>>> 
>>> 
>>> \end
>>>
>>> added twist: make É and E the same entry. letters not used are not seen. 
>>> This example is with a "glossaire" tag, you would use "people" instead or 
>>> make it a variable of all-initials macro. the macro to be used 
>>> is glossaryList (no argument).
>>>
>>> You would have to adapt it to your needs and language perhaps.
>>>
>>> note: I have created letterr tiddlers "A"', "B"', "C" etc before hand. I 
>>> have not yet found out how to create them on purpose (and delete them on 
>>> purpose too). But they all have the same content (a call to another macro). 
>>> Some are not used, that's it.
>>> Le mardi 6 avril 2021 à 17:59:12 UTC+2, schlechter...@gmail.com a 
>>> écrit :
>>>
 Hello Anjar,

 I've adapted your example to generate a list of all my Tiddlers + 
 "published" field (= date):

 <$list 
 filter="A B C D E F G H I J K L M N O P Q R S T U V 
 W"><><$list filter="[ 
 sortan[]prefix]">   
 <> <$view field="published" />  

 Is there a way to get an output list with only one Tiddler-title per 
 line?

 Thanks for feedback
 Stefan

 Anjar schrieb am Montag, 5. April 2021 um 22:25:39 UTC+2:

> Hi,
>
> Absolutely, here is a quick example:
>
> <$list 
> filter="A B C D E F G H I J K L M N O P Q R S T U V 
> W"><><$list 
> filter="[tag[People]sort[title]prefix]"> <> 
> 
>
> The div is just to get three columns. The first list loops through all 
> the letters and print each letter (<>) as header. For 
> each 
> letter, you use the same list as before, but add a filter to only keep 
> titles starting on (prefix) the given letter (note that we have to use 
>  inside filters)
>
> Best,
> Anders
>
> mandag 5. april 2021 kl. 21:11:35 UTC+2 skrev isd196...@gmail.com:
>
>> I have one final question, relating to the list function itself: Is 
>> it possible to split the list alphabetically? So that all people whose 
>> names begin with A, B, C etc, can be placed in separate lists, despite 
>> all 
>> being in the same Tag group?
>>
>> Many thanks
>>
>> JK
>>
>> On Sun, 4 Apr 2021 at 19:08, Jax Kovak  wrote:
>>
>>> Eric, thanks so much! I wasn't sure about the short form of the list 
>>> tag being used like that. Excellent! I have my list! Many thanks!
>>>
>>> Kind regards
>>>
>>> JK
>>>
>>>
>>> On Sun, 4 Apr 2021 at 18:09, Eric Shulman  wrote:
>>>
 On Sunday, April 4, 2021 at 9:46:38 AM UTC-7 isd196...@gmail.com 
 wrote:

> Hey PMario, thanks for that, but I'm confused on how to use this. 
> Currently I can use 
> <$list filter="[tag[People]sort[title]]"/>
> to get a list of the People in the People Tag group, but I can't 
> see how to add the <> to it so that each item is listed as a 
> Tag. Could you clarify please?
>

 By ending the $list with /> you are using the "short-form" of 

Re: [tw5] Re: Display tags in Tiddlers

2021-04-07 Thread Jean-Pierre Rivière

Nice solution. I tried it. It is case sensible. My code is not (it was 
needed).

I will try to merge your solution into mine to see what I could achieve 
with two imbricated lists.

Jean-Pierre
Le mercredi 7 avril 2021 à 08:11:28 UTC+2, schlechter...@gmail.com a écrit :

> Thanks jn.pierr for your input - I'll check it later.
> In the meantime I found a solution:
>
> 
> <$list filter="A B C D E F G H I J K L M N O P R S T U V W Z">
>
> <><$list filter="[ 
> sortan[]prefix]"> 
>  <> <$view field="published" 
> />  
> **
> 
> 
> 
>
> Stefan
> jn.pierr...@gmail.com schrieb am Dienstag, 6. April 2021 um 21:11:10 
> UTC+2:
>
>> As for listing letters for entries I have tghe following:
>>
>> \define all-initials()
>> <$list filter="[tag[glossaire]]">
>><$set name=1st value={{{ [all[current]split[]first[]] }}}>
>>   <<1st>>
>>
>> 
>> \end
>>
>> \define glossaryList()
>> <$wikify name="all-letters" text=<>>
>> <$list 
>> filter="[uppercase[]split[É]join[E]split[]each:value[]!is[missing]]"
>>  
>> variable="letter">
>>   <$link to=<>/>
>> 
>>
>> <$list 
>> filter="[uppercase[]split[É]join[E]split[]each:value[]!is[missing]]"
>>  
>> variable="letter">
>> <$link to=<>/>
>> <$set name="entries" filter="[addprefix[{{]addsuffix[}}]]">
>> <>
>> 
>> 
>> 
>> \end
>>
>> added twist: make É and E the same entry. letters not used are not seen. 
>> This example is with a "glossaire" tag, you would use "people" instead or 
>> make it a variable of all-initials macro. the macro to be used 
>> is glossaryList (no argument).
>>
>> You would have to adapt it to your needs and language perhaps.
>>
>> note: I have created letterr tiddlers "A"', "B"', "C" etc before hand. I 
>> have not yet found out how to create them on purpose (and delete them on 
>> purpose too). But they all have the same content (a call to another macro). 
>> Some are not used, that's it.
>> Le mardi 6 avril 2021 à 17:59:12 UTC+2, schlechter...@gmail.com a écrit :
>>
>>> Hello Anjar,
>>>
>>> I've adapted your example to generate a list of all my Tiddlers + 
>>> "published" field (= date):
>>>
>>> <$list 
>>> filter="A B C D E F G H I J K L M N O P Q R S T U V 
>>> W"><><$list filter="[ 
>>> sortan[]prefix]">   
>>> <> <$view field="published" />  
>>>
>>> Is there a way to get an output list with only one Tiddler-title per 
>>> line?
>>>
>>> Thanks for feedback
>>> Stefan
>>>
>>> Anjar schrieb am Montag, 5. April 2021 um 22:25:39 UTC+2:
>>>
 Hi,

 Absolutely, here is a quick example:

 <$list 
 filter="A B C D E F G H I J K L M N O P Q R S T U V 
 W"><><$list 
 filter="[tag[People]sort[title]prefix]"> <> 
 

 The div is just to get three columns. The first list loops through all 
 the letters and print each letter (<>) as header. For each 
 letter, you use the same list as before, but add a filter to only keep 
 titles starting on (prefix) the given letter (note that we have to use 
  inside filters)

 Best,
 Anders

 mandag 5. april 2021 kl. 21:11:35 UTC+2 skrev isd196...@gmail.com:

> I have one final question, relating to the list function itself: Is it 
> possible to split the list alphabetically? So that all people whose names 
> begin with A, B, C etc, can be placed in separate lists, despite all 
> being 
> in the same Tag group?
>
> Many thanks
>
> JK
>
> On Sun, 4 Apr 2021 at 19:08, Jax Kovak  wrote:
>
>> Eric, thanks so much! I wasn't sure about the short form of the list 
>> tag being used like that. Excellent! I have my list! Many thanks!
>>
>> Kind regards
>>
>> JK
>>
>>
>> On Sun, 4 Apr 2021 at 18:09, Eric Shulman  wrote:
>>
>>> On Sunday, April 4, 2021 at 9:46:38 AM UTC-7 isd196...@gmail.com 
>>> wrote:
>>>
 Hey PMario, thanks for that, but I'm confused on how to use this. 
 Currently I can use 
 <$list filter="[tag[People]sort[title]]"/>
 to get a list of the People in the People Tag group, but I can't 
 see how to add the <> to it so that each item is listed as a 
 Tag. Could you clarify please?

>>>
>>> By ending the $list with /> you are using the "short-form" of the 
>>> widget which, by default, outputs the titles of the matching tiddlers, 
>>> as 
>>> links.  To display other output (e.g., the title as a tag pill) you 
>>> need to 
>>> use the full <$list>... syntax, where the content is the 
>>> <> 
>>> macro, like this:
>>>
>>> <$list filter="[tag[People]sort[title]]"> <> 
>>>
>>> Note that inside the body of the $list widget, the value of 
>>> currentTiddler is set to the title of each matching tiddler and the 
>>> <> 
>>> macro defaults to showing the "currentTiddler" as a tag pill.
>>>
>>> enjoy,
>>> -e
>>>
>>> -- 
>>> You received this message because you are subscribed to a topic in 
>>> the 

Re: [tw5] Re: Display tags in Tiddlers

2021-04-07 Thread Stefan Schlechter
Thanks jn.pierr for your input - I'll check it later.
In the meantime I found a solution:


<$list filter="A B C D E F G H I J K L M N O P R S T U V W Z">
<><$list filter="[ 
sortan[]prefix]"> 
 <> <$view field="published" 
/>  
**




Stefan
jn.pierr...@gmail.com schrieb am Dienstag, 6. April 2021 um 21:11:10 UTC+2:

> As for listing letters for entries I have tghe following:
>
> \define all-initials()
> <$list filter="[tag[glossaire]]">
><$set name=1st value={{{ [all[current]split[]first[]] }}}>
>   <<1st>>
>
> 
> \end
>
> \define glossaryList()
> <$wikify name="all-letters" text=<>>
> <$list 
> filter="[uppercase[]split[É]join[E]split[]each:value[]!is[missing]]"
>  
> variable="letter">
>   <$link to=<>/>
> 
>
> <$list 
> filter="[uppercase[]split[É]join[E]split[]each:value[]!is[missing]]"
>  
> variable="letter">
> <$link to=<>/>
> <$set name="entries" filter="[addprefix[{{]addsuffix[}}]]">
> <>
> 
> 
> 
> \end
>
> added twist: make É and E the same entry. letters not used are not seen. 
> This example is with a "glossaire" tag, you would use "people" instead or 
> make it a variable of all-initials macro. the macro to be used 
> is glossaryList (no argument).
>
> You would have to adapt it to your needs and language perhaps.
>
> note: I have created letterr tiddlers "A"', "B"', "C" etc before hand. I 
> have not yet found out how to create them on purpose (and delete them on 
> purpose too). But they all have the same content (a call to another macro). 
> Some are not used, that's it.
> Le mardi 6 avril 2021 à 17:59:12 UTC+2, schlechter...@gmail.com a écrit :
>
>> Hello Anjar,
>>
>> I've adapted your example to generate a list of all my Tiddlers + 
>> "published" field (= date):
>>
>> <$list 
>> filter="A B C D E F G H I J K L M N O P Q R S T U V 
>> W"><><$list filter="[ 
>> sortan[]prefix]">   
>> <> <$view field="published" />  
>>
>> Is there a way to get an output list with only one Tiddler-title per line?
>>
>> Thanks for feedback
>> Stefan
>>
>> Anjar schrieb am Montag, 5. April 2021 um 22:25:39 UTC+2:
>>
>>> Hi,
>>>
>>> Absolutely, here is a quick example:
>>>
>>> <$list 
>>> filter="A B C D E F G H I J K L M N O P Q R S T U V 
>>> W"><><$list 
>>> filter="[tag[People]sort[title]prefix]"> <> 
>>> 
>>>
>>> The div is just to get three columns. The first list loops through all 
>>> the letters and print each letter (<>) as header. For each 
>>> letter, you use the same list as before, but add a filter to only keep 
>>> titles starting on (prefix) the given letter (note that we have to use 
>>>  inside filters)
>>>
>>> Best,
>>> Anders
>>>
>>> mandag 5. april 2021 kl. 21:11:35 UTC+2 skrev isd196...@gmail.com:
>>>
 I have one final question, relating to the list function itself: Is it 
 possible to split the list alphabetically? So that all people whose names 
 begin with A, B, C etc, can be placed in separate lists, despite all being 
 in the same Tag group?

 Many thanks

 JK

 On Sun, 4 Apr 2021 at 19:08, Jax Kovak  wrote:

> Eric, thanks so much! I wasn't sure about the short form of the list 
> tag being used like that. Excellent! I have my list! Many thanks!
>
> Kind regards
>
> JK
>
>
> On Sun, 4 Apr 2021 at 18:09, Eric Shulman  wrote:
>
>> On Sunday, April 4, 2021 at 9:46:38 AM UTC-7 isd196...@gmail.com 
>> wrote:
>>
>>> Hey PMario, thanks for that, but I'm confused on how to use this. 
>>> Currently I can use 
>>> <$list filter="[tag[People]sort[title]]"/>
>>> to get a list of the People in the People Tag group, but I can't see 
>>> how to add the <> to it so that each item is listed as a Tag. 
>>> Could you clarify please?
>>>
>>
>> By ending the $list with /> you are using the "short-form" of the 
>> widget which, by default, outputs the titles of the matching tiddlers, 
>> as 
>> links.  To display other output (e.g., the title as a tag pill) you need 
>> to 
>> use the full <$list>... syntax, where the content is the <> 
>> macro, like this:
>>
>> <$list filter="[tag[People]sort[title]]"> <> 
>>
>> Note that inside the body of the $list widget, the value of 
>> currentTiddler is set to the title of each matching tiddler and the 
>> <> 
>> macro defaults to showing the "currentTiddler" as a tag pill.
>>
>> enjoy,
>> -e
>>
>> -- 
>> You received this message because you are subscribed to a topic in 
>> the Google Groups "TiddlyWiki" group.
>> To unsubscribe from this topic, visit 
>> https://groups.google.com/d/topic/tiddlywiki/uAM0RDmpfrE/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to 
>> tiddlywiki+...@googlegroups.com.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/tiddlywiki/0882f2c6-49b1-49a2-87c0-e6f953e3599fn%40googlegroups.com
>>  
>> 

Re: [tw5] Re: Display tags in Tiddlers

2021-04-06 Thread Jean-Pierre Rivière
As for listing letters for entries I have tghe following:

\define all-initials()
<$list filter="[tag[glossaire]]">
   <$set name=1st value={{{ [all[current]split[]first[]] }}}>
  <<1st>>
   

\end

\define glossaryList()
<$wikify name="all-letters" text=<>>
<$list 
filter="[uppercase[]split[É]join[E]split[]each:value[]!is[missing]]"
 
variable="letter">
  <$link to=<>/>


<$list 
filter="[uppercase[]split[É]join[E]split[]each:value[]!is[missing]]"
 
variable="letter">
<$link to=<>/>
<$set name="entries" filter="[addprefix[{{]addsuffix[}}]]">
<>



\end

added twist: make É and E the same entry. letters not used are not seen. 
This example is with a "glossaire" tag, you would use "people" instead or 
make it a variable of all-initials macro. the macro to be used 
is glossaryList (no argument).

You would have to adapt it to your needs and language perhaps.

note: I have created letterr tiddlers "A"', "B"', "C" etc before hand. I 
have not yet found out how to create them on purpose (and delete them on 
purpose too). But they all have the same content (a call to another macro). 
Some are not used, that's it.
Le mardi 6 avril 2021 à 17:59:12 UTC+2, schlechter...@gmail.com a écrit :

> Hello Anjar,
>
> I've adapted your example to generate a list of all my Tiddlers + 
> "published" field (= date):
>
> <$list 
> filter="A B C D E F G H I J K L M N O P Q R S T U V 
> W"><><$list filter="[ 
> sortan[]prefix]">   
> <> <$view field="published" />  
>
> Is there a way to get an output list with only one Tiddler-title per line?
>
> Thanks for feedback
> Stefan
>
> Anjar schrieb am Montag, 5. April 2021 um 22:25:39 UTC+2:
>
>> Hi,
>>
>> Absolutely, here is a quick example:
>>
>> <$list 
>> filter="A B C D E F G H I J K L M N O P Q R S T U V 
>> W"><><$list 
>> filter="[tag[People]sort[title]prefix]"> <> 
>> 
>>
>> The div is just to get three columns. The first list loops through all 
>> the letters and print each letter (<>) as header. For each 
>> letter, you use the same list as before, but add a filter to only keep 
>> titles starting on (prefix) the given letter (note that we have to use 
>>  inside filters)
>>
>> Best,
>> Anders
>>
>> mandag 5. april 2021 kl. 21:11:35 UTC+2 skrev isd196...@gmail.com:
>>
>>> I have one final question, relating to the list function itself: Is it 
>>> possible to split the list alphabetically? So that all people whose names 
>>> begin with A, B, C etc, can be placed in separate lists, despite all being 
>>> in the same Tag group?
>>>
>>> Many thanks
>>>
>>> JK
>>>
>>> On Sun, 4 Apr 2021 at 19:08, Jax Kovak  wrote:
>>>
 Eric, thanks so much! I wasn't sure about the short form of the list 
 tag being used like that. Excellent! I have my list! Many thanks!

 Kind regards

 JK


 On Sun, 4 Apr 2021 at 18:09, Eric Shulman  wrote:

> On Sunday, April 4, 2021 at 9:46:38 AM UTC-7 isd196...@gmail.com 
> wrote:
>
>> Hey PMario, thanks for that, but I'm confused on how to use this. 
>> Currently I can use 
>> <$list filter="[tag[People]sort[title]]"/>
>> to get a list of the People in the People Tag group, but I can't see 
>> how to add the <> to it so that each item is listed as a Tag. 
>> Could you clarify please?
>>
>
> By ending the $list with /> you are using the "short-form" of the 
> widget which, by default, outputs the titles of the matching tiddlers, as 
> links.  To display other output (e.g., the title as a tag pill) you need 
> to 
> use the full <$list>... syntax, where the content is the <> 
> macro, like this:
>
> <$list filter="[tag[People]sort[title]]"> <> 
>
> Note that inside the body of the $list widget, the value of 
> currentTiddler is set to the title of each matching tiddler and the 
> <> 
> macro defaults to showing the "currentTiddler" as a tag pill.
>
> enjoy,
> -e
>
> -- 
> You received this message because you are subscribed to a topic in the 
> Google Groups "TiddlyWiki" group.
> To unsubscribe from this topic, visit 
> https://groups.google.com/d/topic/tiddlywiki/uAM0RDmpfrE/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to 
> tiddlywiki+...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/tiddlywiki/0882f2c6-49b1-49a2-87c0-e6f953e3599fn%40googlegroups.com
>  
> 
> .
>


-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/b385dc55-92fe-489a-9be7-3d9b92a91126n%40googlegroups.com.


Re: [tw5] Re: Display tags in Tiddlers

2021-04-06 Thread Stefan Schlechter
Hello Anjar,

I've adapted your example to generate a list of all my Tiddlers + 
"published" field (= date):

<$list 
filter="A B C D E F G H I J K L M N O P Q R S T U V 
W"><><$list filter="[ 
sortan[]prefix]">   
<> <$view field="published" />  

Is there a way to get an output list with only one Tiddler-title per line?

Thanks for feedback
Stefan

Anjar schrieb am Montag, 5. April 2021 um 22:25:39 UTC+2:

> Hi,
>
> Absolutely, here is a quick example:
>
> <$list 
> filter="A B C D E F G H I J K L M N O P Q R S T U V 
> W"><><$list 
> filter="[tag[People]sort[title]prefix]"> <> 
> 
>
> The div is just to get three columns. The first list loops through all the 
> letters and print each letter (<>) as header. For each 
> letter, you use the same list as before, but add a filter to only keep 
> titles starting on (prefix) the given letter (note that we have to use 
>  inside filters)
>
> Best,
> Anders
>
> mandag 5. april 2021 kl. 21:11:35 UTC+2 skrev isd196...@gmail.com:
>
>> I have one final question, relating to the list function itself: Is it 
>> possible to split the list alphabetically? So that all people whose names 
>> begin with A, B, C etc, can be placed in separate lists, despite all being 
>> in the same Tag group?
>>
>> Many thanks
>>
>> JK
>>
>> On Sun, 4 Apr 2021 at 19:08, Jax Kovak  wrote:
>>
>>> Eric, thanks so much! I wasn't sure about the short form of the list tag 
>>> being used like that. Excellent! I have my list! Many thanks!
>>>
>>> Kind regards
>>>
>>> JK
>>>
>>>
>>> On Sun, 4 Apr 2021 at 18:09, Eric Shulman  wrote:
>>>
 On Sunday, April 4, 2021 at 9:46:38 AM UTC-7 isd196...@gmail.com wrote:

> Hey PMario, thanks for that, but I'm confused on how to use this. 
> Currently I can use 
> <$list filter="[tag[People]sort[title]]"/>
> to get a list of the People in the People Tag group, but I can't see 
> how to add the <> to it so that each item is listed as a Tag. 
> Could you clarify please?
>

 By ending the $list with /> you are using the "short-form" of the 
 widget which, by default, outputs the titles of the matching tiddlers, as 
 links.  To display other output (e.g., the title as a tag pill) you need 
 to 
 use the full <$list>... syntax, where the content is the <> 
 macro, like this:

 <$list filter="[tag[People]sort[title]]"> <> 

 Note that inside the body of the $list widget, the value of 
 currentTiddler is set to the title of each matching tiddler and the 
 <> 
 macro defaults to showing the "currentTiddler" as a tag pill.

 enjoy,
 -e

 -- 
 You received this message because you are subscribed to a topic in the 
 Google Groups "TiddlyWiki" group.
 To unsubscribe from this topic, visit 
 https://groups.google.com/d/topic/tiddlywiki/uAM0RDmpfrE/unsubscribe.
 To unsubscribe from this group and all its topics, send an email to 
 tiddlywiki+...@googlegroups.com.
 To view this discussion on the web visit 
 https://groups.google.com/d/msgid/tiddlywiki/0882f2c6-49b1-49a2-87c0-e6f953e3599fn%40googlegroups.com
  
 
 .

>>>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/9e0ad7d0-c3b8-4e95-b995-09d3aaea7aa6n%40googlegroups.com.


Re: [tw5] Re: Display tags in Tiddlers

2021-04-06 Thread Jax Kovak
Wow! Thanks very much Anjar. I was intending to have different tiddlers for
different letters but this works even better and lets me see all of the
names in a single Tiddler AND keeps them nice and tidy!

Excellent work!

Kind regards

JK


On Mon, 5 Apr 2021 at 21:25, Anjar  wrote:

> Hi,
>
> Absolutely, here is a quick example:
>
> <$list
> filter="A B C D E F G H I J K L M N O P Q R S T U V
> W"><><$list
> filter="[tag[People]sort[title]prefix]"> <>
> 
>
> The div is just to get three columns. The first list loops through all the
> letters and print each letter (<>) as header. For each
> letter, you use the same list as before, but add a filter to only keep
> titles starting on (prefix) the given letter (note that we have to use
>  inside filters)
>
> Best,
> Anders
>
> mandag 5. april 2021 kl. 21:11:35 UTC+2 skrev isd196...@gmail.com:
>
>> I have one final question, relating to the list function itself: Is it
>> possible to split the list alphabetically? So that all people whose names
>> begin with A, B, C etc, can be placed in separate lists, despite all being
>> in the same Tag group?
>>
>> Many thanks
>>
>> JK
>>
>> On Sun, 4 Apr 2021 at 19:08, Jax Kovak  wrote:
>>
>>> Eric, thanks so much! I wasn't sure about the short form of the list tag
>>> being used like that. Excellent! I have my list! Many thanks!
>>>
>>> Kind regards
>>>
>>> JK
>>>
>>>
>>> On Sun, 4 Apr 2021 at 18:09, Eric Shulman  wrote:
>>>
 On Sunday, April 4, 2021 at 9:46:38 AM UTC-7 isd196...@gmail.com wrote:

> Hey PMario, thanks for that, but I'm confused on how to use this.
> Currently I can use
> <$list filter="[tag[People]sort[title]]"/>
> to get a list of the People in the People Tag group, but I can't see
> how to add the <> to it so that each item is listed as a Tag.
> Could you clarify please?
>

 By ending the $list with /> you are using the "short-form" of the
 widget which, by default, outputs the titles of the matching tiddlers, as
 links.  To display other output (e.g., the title as a tag pill) you need to
 use the full <$list>... syntax, where the content is the <>
 macro, like this:

 <$list filter="[tag[People]sort[title]]"> <> 

 Note that inside the body of the $list widget, the value of
 currentTiddler is set to the title of each matching tiddler and the <>
 macro defaults to showing the "currentTiddler" as a tag pill.

 enjoy,
 -e

 --
 You received this message because you are subscribed to a topic in the
 Google Groups "TiddlyWiki" group.
 To unsubscribe from this topic, visit
 https://groups.google.com/d/topic/tiddlywiki/uAM0RDmpfrE/unsubscribe.
 To unsubscribe from this group and all its topics, send an email to
 tiddlywiki+...@googlegroups.com.
 To view this discussion on the web visit
 https://groups.google.com/d/msgid/tiddlywiki/0882f2c6-49b1-49a2-87c0-e6f953e3599fn%40googlegroups.com
 
 .

>>> --
> You received this message because you are subscribed to a topic in the
> Google Groups "TiddlyWiki" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/tiddlywiki/uAM0RDmpfrE/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> tiddlywiki+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/tiddlywiki/84370da8-1ee0-4ad1-b818-5d08c981d733n%40googlegroups.com
> 
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/CAFm1UBNoAf4b82vOTbAxW%2BPugnyBJfXjELqcJwTwQ9wBT8e09w%40mail.gmail.com.


Re: [tw5] Re: Display tags in Tiddlers

2021-04-05 Thread Anjar
Hi,

Absolutely, here is a quick example:

<$list 
filter="A B C D E F G H I J K L M N O P Q R S T U V 
W"><><$list 
filter="[tag[People]sort[title]prefix]"> <> 


The div is just to get three columns. The first list loops through all the 
letters and print each letter (<>) as header. For each 
letter, you use the same list as before, but add a filter to only keep 
titles starting on (prefix) the given letter (note that we have to use 
 inside filters)

Best,
Anders

mandag 5. april 2021 kl. 21:11:35 UTC+2 skrev isd196...@gmail.com:

> I have one final question, relating to the list function itself: Is it 
> possible to split the list alphabetically? So that all people whose names 
> begin with A, B, C etc, can be placed in separate lists, despite all being 
> in the same Tag group?
>
> Many thanks
>
> JK
>
> On Sun, 4 Apr 2021 at 19:08, Jax Kovak  wrote:
>
>> Eric, thanks so much! I wasn't sure about the short form of the list tag 
>> being used like that. Excellent! I have my list! Many thanks!
>>
>> Kind regards
>>
>> JK
>>
>>
>> On Sun, 4 Apr 2021 at 18:09, Eric Shulman  wrote:
>>
>>> On Sunday, April 4, 2021 at 9:46:38 AM UTC-7 isd196...@gmail.com wrote:
>>>
 Hey PMario, thanks for that, but I'm confused on how to use this. 
 Currently I can use 
 <$list filter="[tag[People]sort[title]]"/>
 to get a list of the People in the People Tag group, but I can't see 
 how to add the <> to it so that each item is listed as a Tag. 
 Could you clarify please?

>>>
>>> By ending the $list with /> you are using the "short-form" of the widget 
>>> which, by default, outputs the titles of the matching tiddlers, as links.  
>>> To display other output (e.g., the title as a tag pill) you need to use the 
>>> full <$list>... syntax, where the content is the <> macro, 
>>> like this:
>>>
>>> <$list filter="[tag[People]sort[title]]"> <> 
>>>
>>> Note that inside the body of the $list widget, the value of 
>>> currentTiddler is set to the title of each matching tiddler and the <> 
>>> macro defaults to showing the "currentTiddler" as a tag pill.
>>>
>>> enjoy,
>>> -e
>>>
>>> -- 
>>> You received this message because you are subscribed to a topic in the 
>>> Google Groups "TiddlyWiki" group.
>>> To unsubscribe from this topic, visit 
>>> https://groups.google.com/d/topic/tiddlywiki/uAM0RDmpfrE/unsubscribe.
>>> To unsubscribe from this group and all its topics, send an email to 
>>> tiddlywiki+...@googlegroups.com.
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/tiddlywiki/0882f2c6-49b1-49a2-87c0-e6f953e3599fn%40googlegroups.com
>>>  
>>> 
>>> .
>>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/84370da8-1ee0-4ad1-b818-5d08c981d733n%40googlegroups.com.


Re: [tw5] Re: Display tags in Tiddlers

2021-04-05 Thread Jax Kovak
I have one final question, relating to the list function itself: Is it
possible to split the list alphabetically? So that all people whose names
begin with A, B, C etc, can be placed in separate lists, despite all being
in the same Tag group?

Many thanks

JK

On Sun, 4 Apr 2021 at 19:08, Jax Kovak  wrote:

> Eric, thanks so much! I wasn't sure about the short form of the list tag
> being used like that. Excellent! I have my list! Many thanks!
>
> Kind regards
>
> JK
>
>
> On Sun, 4 Apr 2021 at 18:09, Eric Shulman  wrote:
>
>> On Sunday, April 4, 2021 at 9:46:38 AM UTC-7 isd196...@gmail.com wrote:
>>
>>> Hey PMario, thanks for that, but I'm confused on how to use this.
>>> Currently I can use
>>> <$list filter="[tag[People]sort[title]]"/>
>>> to get a list of the People in the People Tag group, but I can't see how
>>> to add the <> to it so that each item is listed as a Tag. Could
>>> you clarify please?
>>>
>>
>> By ending the $list with /> you are using the "short-form" of the widget
>> which, by default, outputs the titles of the matching tiddlers, as links.
>> To display other output (e.g., the title as a tag pill) you need to use the
>> full <$list>... syntax, where the content is the <> macro,
>> like this:
>>
>> <$list filter="[tag[People]sort[title]]"> <> 
>>
>> Note that inside the body of the $list widget, the value of
>> currentTiddler is set to the title of each matching tiddler and the <>
>> macro defaults to showing the "currentTiddler" as a tag pill.
>>
>> enjoy,
>> -e
>>
>> --
>> You received this message because you are subscribed to a topic in the
>> Google Groups "TiddlyWiki" group.
>> To unsubscribe from this topic, visit
>> https://groups.google.com/d/topic/tiddlywiki/uAM0RDmpfrE/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to
>> tiddlywiki+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/tiddlywiki/0882f2c6-49b1-49a2-87c0-e6f953e3599fn%40googlegroups.com
>> 
>> .
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/CAFm1UBM2_Kp8nAn6aS9QkkrK9YXDkCbF9sp9zaX%2BHS84aK%3Duvg%40mail.gmail.com.


Re: [tw5] Re: Display tags in Tiddlers

2021-04-04 Thread Jax Kovak
Eric, thanks so much! I wasn't sure about the short form of the list tag
being used like that. Excellent! I have my list! Many thanks!

Kind regards

JK


On Sun, 4 Apr 2021 at 18:09, Eric Shulman  wrote:

> On Sunday, April 4, 2021 at 9:46:38 AM UTC-7 isd196...@gmail.com wrote:
>
>> Hey PMario, thanks for that, but I'm confused on how to use this.
>> Currently I can use
>> <$list filter="[tag[People]sort[title]]"/>
>> to get a list of the People in the People Tag group, but I can't see how
>> to add the <> to it so that each item is listed as a Tag. Could you
>> clarify please?
>>
>
> By ending the $list with /> you are using the "short-form" of the widget
> which, by default, outputs the titles of the matching tiddlers, as links.
> To display other output (e.g., the title as a tag pill) you need to use the
> full <$list>... syntax, where the content is the <> macro,
> like this:
>
> <$list filter="[tag[People]sort[title]]"> <> 
>
> Note that inside the body of the $list widget, the value of currentTiddler
> is set to the title of each matching tiddler and the <> macro defaults
> to showing the "currentTiddler" as a tag pill.
>
> enjoy,
> -e
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "TiddlyWiki" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/tiddlywiki/uAM0RDmpfrE/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> tiddlywiki+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/tiddlywiki/0882f2c6-49b1-49a2-87c0-e6f953e3599fn%40googlegroups.com
> 
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/CAFm1UBM3E1jEC-EDcp-qS_5s1ER9UiirZvSgPPdeMt%3Dx4wBrdQ%40mail.gmail.com.


Re: [tw5] Re: Display tags in Tiddlers

2021-04-04 Thread Eric Shulman
On Sunday, April 4, 2021 at 9:46:38 AM UTC-7 isd196...@gmail.com wrote:

> Hey PMario, thanks for that, but I'm confused on how to use this. 
> Currently I can use 
> <$list filter="[tag[People]sort[title]]"/>
> to get a list of the People in the People Tag group, but I can't see how 
> to add the <> to it so that each item is listed as a Tag. Could you 
> clarify please?
>

By ending the $list with /> you are using the "short-form" of the widget 
which, by default, outputs the titles of the matching tiddlers, as links.  
To display other output (e.g., the title as a tag pill) you need to use the 
full <$list>... syntax, where the content is the <> macro, 
like this:

<$list filter="[tag[People]sort[title]]"> <> 

Note that inside the body of the $list widget, the value of currentTiddler 
is set to the title of each matching tiddler and the <> macro defaults 
to showing the "currentTiddler" as a tag pill.

enjoy,
-e

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/0882f2c6-49b1-49a2-87c0-e6f953e3599fn%40googlegroups.com.


Re: [tw5] Re: Display tags in Tiddlers

2021-04-04 Thread Jax Kovak
Hey PMario, thanks for that, but I'm confused on how to use this. Currently
I can use

<$list filter="[tag[People]sort[title]]"/> OR
<>

to get a list of the People in the People Tag group, but I can't see how to
add the <> to it so that each item is listed as a Tag. Could you
clarify please?

Regards

JK


On Sun, 4 Apr 2021 at 13:43, PMario  wrote:

> Hi JK,
> See:
> https://tiddlywiki.com/#tag%20Macro:%5B%5Btag%20Macro%5D%5D%20%5B%5Btag%20Macro%20(Examples)%5D%5D%20MacroCallWidget
>
> I did add a link to the macro-call widget, because it may be needed, if
> you want to call the tags macro in your own macros.
>
> -mario
>
> On Sunday, April 4, 2021 at 2:02:03 PM UTC+2 isd196...@gmail.com wrote:
>
>> *Scenario: *
>>
>>- I have Tiddlers for each of a fairly large (and growing) group of
>>people where the Tiddler name is the persons name.
>>
>>- Each of these Tiddlers is tagged with the same group ID tag
>>(People).
>>
>>- The Name of each Tiddler (In the "People" Tag group) is then used
>>itself as a Tag in multiple other Tiddlers, containing a variety of
>>different project information that the Tagged person in the "People" group
>>is associated with.
>>
>>
>> *What I actually want:*
>> In a new Tiddler I would like to be able to list all of the members of
>> the "People" Tag group, in alphabetical order, as a list, but displayed as
>> Tags themselves,.
>>
>> *Why?:*
>> When we click on a Tag at the top of a Tiddler we can see a list of where
>> that Tag occurs within the Wiki. Id like this functionality to be available
>> to me in the confines of a Tiddler so that I can have a Tiddler that is an
>> Index of all of the people, displayed as Tags, so that I can click on a
>> name and see what projects that person is involved with, and can click to
>> go to any one of them.
>>
>> Of course I can get a list of the people, in order, make each item a link
>> to the Tiddler of that person, etc etc, but so far I have failed horribly
>> to make that list be a list of Tags rather than text and text links.
>>
>> Many thanks for any help
>>
>> JK
>>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "TiddlyWiki" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/tiddlywiki/uAM0RDmpfrE/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> tiddlywiki+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/tiddlywiki/1baf4d5b-6d31-4b20-8122-dd35c531c962n%40googlegroups.com
> 
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/CAFm1UBOdixsUO8ZY_7nP%3D9e8HOs94OBqy8a%3Duu%2BKf%3Dpozwmx7g%40mail.gmail.com.


[tw5] Re: Display tags in Tiddlers

2021-04-04 Thread PMario
Hi JK,
See: 
https://tiddlywiki.com/#tag%20Macro:%5B%5Btag%20Macro%5D%5D%20%5B%5Btag%20Macro%20(Examples)%5D%5D%20MacroCallWidget

I did add a link to the macro-call widget, because it may be needed, if you 
want to call the tags macro in your own macros. 

-mario

On Sunday, April 4, 2021 at 2:02:03 PM UTC+2 isd196...@gmail.com wrote:

> *Scenario: *
>
>- I have Tiddlers for each of a fairly large (and growing) group of 
>people where the Tiddler name is the persons name.
>
>- Each of these Tiddlers is tagged with the same group ID tag (People).
>
>- The Name of each Tiddler (In the "People" Tag group) is then used 
>itself as a Tag in multiple other Tiddlers, containing a variety of 
>different project information that the Tagged person in the "People" group 
>is associated with.
>
>
> *What I actually want:*
> In a new Tiddler I would like to be able to list all of the members of the 
> "People" Tag group, in alphabetical order, as a list, but displayed as Tags 
> themselves,.
>
> *Why?:*
> When we click on a Tag at the top of a Tiddler we can see a list of where 
> that Tag occurs within the Wiki. Id like this functionality to be available 
> to me in the confines of a Tiddler so that I can have a Tiddler that is an 
> Index of all of the people, displayed as Tags, so that I can click on a 
> name and see what projects that person is involved with, and can click to 
> go to any one of them.
>
> Of course I can get a list of the people, in order, make each item a link 
> to the Tiddler of that person, etc etc, but so far I have failed horribly 
> to make that list be a list of Tags rather than text and text links.
>
> Many thanks for any help
>
> JK
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/1baf4d5b-6d31-4b20-8122-dd35c531c962n%40googlegroups.com.