Ste Wilson wrote:
>
> So how would I do that then? 
>
> If any of its any good for your physics class feel free ;)
>

Appreciated but my pupils are younger :-)

OK, since I'm dabbling with this just now - here, you could probably use 
something like this:

\define column-item(filter, subfilter)
<$list filter="$filter$" variable=subject>
<span class="column-item">
   <div class="column-item-heading"><<subject>></div>
   <$list filter="""$subfilter$ +[tag<subject>]""">
      <div class="column-item-item">
         {{!!title}}
      </div>
   </$list>
</span>
</$list>
\end

Then you call it all for example like so

@@.columns
<<column-item "[tag[subject]]" "[tag[Equation]]">>
@@


If you put the code in a separate macro, you could reuse it also for each 
subject, i.e each subject could be it's own tiddler and then put these in 
every one of them:

@@.columns
<$macrocall $name=column-item filter=<<currentTiddler>> subfilter=
"[tag[Equation]]" />
@@

...or, if these equations are a big part of your whole site then you could 
make a conditional viewtemplate stating that any tiddler tagged subject 
should show that code just above this row. This way you would not manually 
have to put that code into every subject tiddler and if you add a new 
subject tiddler, it will automatically show content.

<:-)

-- 
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/4eb908e5-0256-4e1f-ae09-2f00b36728f6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to