Hi David
Great, that makes sense. One approach would be something like this:
<$list filter="[tag[InstalledPlugin]sort[title]]">
! <$list filter="[enlist{!!plugin.names}]" variable="name"><$text
text=<<name>>/>, </$list>
{{!!text}}
</$list>
The problem is that it will include a trailing comma after the final plugin
name. Fixing that makes things a bit more complicated:
<$list filter="[tag[InstalledPlugin]sort[title]]">
! <$list filter="[enlist{!!plugin.names}]" variable="name"><$text
text=<<name>>/><$list filter="[enlist{!!plugin.names}last[]] -[<name>]">,
</$list></$list>
{{!!text}}
</$list>
Best wishes
Jeremy.
> On 22 Jan 2019, at 12:39, David Nebauer <[email protected]> wrote:
>
> Hi Jeremy,
>
> The first thing I do when I delve into an app I am going to both devote
> significant effort to and customise heavily, is document those customisations
> so I can rebuild the same environment from scratch. In the case of tiddlywiki
> I'm naturally documenting my customisations in tiddlywiki! These include the
> non-offical plugins I'm installing. For each plugin I create a tiddler
> decribing the plugin source, why I installed it, any configuration, and any
> other plugins it is dependent on. These tiddlers are tagged 'InstalledPlugin'
> and each has a field called 'plugin.names'. This field contains the name of
> the plugin(s) document in that tiddler, e.g., '[[Setvars]' and '[[Date
> Picker]] [[Moment]]'. The tiddlerscript is designed to concatenate all these
> plugin-describing tiddlers into a single tiddler, with each individual source
> tiddler represented by a heading consisting of the plugin names from the
> field joined by commas, and followed by the wikified content of the tiddler
> itself, e.g.,
>
> ---------------------------------------------
>
> Plugin A, Plugin B
>
> My wikified description of these plugins.
>
> Plugin C
>
> My wikified description of this plugin.
>
> ---------------------------------------------
>
> I hope that made the purpose of my tiddlyscript clearer.
>
> David.
>
> On Tuesday, 22 January 2019 06:45:58 UTC+9:30, Jeremy Ruston wrote:
> Hi David
>
> Can you show the output you’re trying to obtain and show the fields you’re
> using of the tiddlers tagged InstalledPlugins?
>
> Best wishes
>
> jeremy.
>
> --
> You received this message because you are subscribed to the Google Groups
> "TiddlyWiki" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected]
> <mailto:[email protected]>.
> To post to this group, send email to [email protected]
> <mailto:[email protected]>.
> Visit this group at https://groups.google.com/group/tiddlywiki
> <https://groups.google.com/group/tiddlywiki>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/tiddlywiki/8ed1a6f1-2828-429b-a7e2-0998faf78e4a%40googlegroups.com
>
> <https://groups.google.com/d/msgid/tiddlywiki/8ed1a6f1-2828-429b-a7e2-0998faf78e4a%40googlegroups.com?utm_medium=email&utm_source=footer>.
> For more options, visit https://groups.google.com/d/optout
> <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 [email protected].
To post to this group, send email to [email protected].
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/3A67DA74-C0B9-4B6C-A456-DC22D260C269%40gmail.com.
For more options, visit https://groups.google.com/d/optout.