Hello Helpful People!
Following on from this thread
here and Sara kindly putting her work up on tiddlyspot here:
http://foxridgegarden.tiddlyspot.com/I've finally carved out a little time to see if I can steal the core filters and apply it to my own equation heavy tiddlyspot here:
stephenteacher.tiddlyspot.com/Rather than go in all guns blazing I have started a small test wiki here
http://stephenteachertests.tiddlyspot.com/All is mostly well and things working as they should, however...
Acceleration appears to be a problem. When I set the variable to 'a' it appears in all equations regardless of whether acceleration is in the equation or not. If I change it to a 'b' all is fine and it only appears in the proper place.
The code from the template is:
\define varPattern()
$(var)$
\end
{{!!equation}}
<table>
<tr><th>Variable</th><th>Description</th><th>Unit</th></tr>
<$set name="eq" value={{!!equation}}>
<$list filter="[tag[Variable]sort[title]]" variable="varTiddler">
<$set name="var" filter="[<varTiddler>get[variable]]">
<$set name="unit" filter="[<varTiddler>get[unit]]">
<$list filter="[tag[Equation]field:equation<eq>regexp:equation<varPattern>]">
<$tiddler tiddler=<<varTiddler>>>
<tr><th>
<$transclude field="variablelatex"/>
</th><th><$link><$transclude field="title"/></$link></th><th><$transclude field="unitlatex"/></th></tr>
</$tiddler>
</$list>
</$set>
</$set>
</$list>
</$set>
</table>
All other templates and related can be found at
http://stephenteachertests.tiddlyspot.com/