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 <[email protected]> wrote:

> 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 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/84370da8-1ee0-4ad1-b818-5d08c981d733n%40googlegroups.com
> <https://groups.google.com/d/msgid/tiddlywiki/84370da8-1ee0-4ad1-b818-5d08c981d733n%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/CAFm1UBNoAf4b82vOTbAxW%2BPugnyBJfXjELqcJwTwQ9wBT8e09w%40mail.gmail.com.

Reply via email to