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>>
   </$set>
</$list>
\end

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

<$list 
filter="[<all-letters>uppercase[]split[É]join[E]split[]each:value[]!is[missing]]"
 
variable="letter">
<h3><$link to=<<letter>>/></h3>
<$set name="entries" filter="[<letter>addprefix[{{]addsuffix[}}]]">
<<entries>>
</$set>
</$list>
</$wikify>
\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, [email protected] a écrit :

> Hello Anjar,
>
> I've adapted your example to generate a list of all my Tiddlers + 
> "published" field (= date):
>
> <div style="column-count:2;column-rule: 1px solid lightblue;"><$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"><h3><<currentTiddler>></h3><$list filter="[ 
> sortan[]prefix<currentTiddler>]">  <small style="color:rgb(204, 204, 255)"> 
> <<tag>> <$view field="published" /> </small> </$list></$list></div>
>
> 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:
>>
>> <div style="column-count:3;column-rule: 1px solid lightblue;"><$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"><h3><<currentTiddler>></h3><$list 
>> filter="[tag[People]sort[title]prefix<currentTiddler>]"> <<tag>> 
>> </$list></$list></div>
>>
>> The div is just to get three columns. The first list loops through all 
>> the letters and print each letter (<<currentTiddler>>) 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 
>> <currentTiddler> inside filters)
>>
>> Best,
>> Anders
>>
>> mandag 5. april 2021 kl. 21:11:35 UTC+2 skrev [email protected]:
>>
>>> 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 <[email protected]> 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 <[email protected]> wrote:
>>>>
>>>>> On Sunday, April 4, 2021 at 9:46:38 AM UTC-7 [email protected] 
>>>>> 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 <<Tag>> 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>...</$list> syntax, where the content is the <<tag>> 
>>>>> macro, like this:
>>>>>
>>>>> <$list filter="[tag[People]sort[title]]"> <<tag>> </$list>
>>>>>
>>>>> Note that inside the body of the $list widget, the value of 
>>>>> currentTiddler is set to the title of each matching tiddler and the 
>>>>> <<tag>> 
>>>>> 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 
>>>>> [email protected].
>>>>> To view this discussion on the web visit 
>>>>> https://groups.google.com/d/msgid/tiddlywiki/0882f2c6-49b1-49a2-87c0-e6f953e3599fn%40googlegroups.com
>>>>>  
>>>>> <https://groups.google.com/d/msgid/tiddlywiki/0882f2c6-49b1-49a2-87c0-e6f953e3599fn%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>>> .
>>>>>
>>>>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/b385dc55-92fe-489a-9be7-3d9b92a91126n%40googlegroups.com.

Reply via email to