My next udertaking would be to create (random) 25 - 27 groups of students from a mix of all 6 classes where a rule should be that they are *not* attending the same class....
I guess that it's so much faster to do this by hand - than figuring out how to write the code - So I will use pencil and paper for this one :-) (or a spreadsheet ..) Cheers Måns Mårtensson On 10 Mar., 20:55, Måns <[email protected]> wrote: > Hi Mario > > > So how many tiddlers will be there > > No more than 120 students and 11 teachers > > > and what will be the number of SomeSubject? > > In this case there are only six > > I found out that a fET placed directly into the template seems to work > as intended - on the other hand using a fET for this makes the <<list > macro + template somewhat redundant - I might as well turn it all into > a fET... > > This works: > [[Subject]] > <<list filter "[tag[Subject]]" template:Subject##template>>}}}/% > !template > <<view title link>> > <<forEachTiddler where > 'tiddler.tags.contains(context.inTiddler.title)&& ! > tiddler.tags.contains("Student") '>> > <<forEachTiddler where > 'tiddler.tags.contains(context.inTiddler.title)&& ! > tiddler.tags.contains("Teacher") '>> > ! %/ > > IMO this sort of templating should be possible via the core <<list > macro + templating - no need to involve hardcoded scripts or > ForEachTiddlerPlugin... > > IMO Eric's MatchTagsPlugin should make it into the core - boolean > expressions are usable everywhere in the system... most lists you'd > want to create by hand needs some sort of filtering... > > Cheers Måns Mårtensson -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en.

