Thank you very much. Works like a charm.
Skoda used to have a reputation for building bad cars$ before they were
taken over by VW. Better than Lada's but not by much.
Typical joke:
Q: Why do Skodas have rear heated windows?
A: So you can warm your hands while you push them.
Though to be fair mine never gave me any grief.
Stephen
On Wednesday, 3 May 2017 16:10:12 UTC+1, Mark S. wrote:
>
> This seems to do it:
>
> ---
> {{!!description}}
>
> Variable: {{!!variablelatex}}
>
> Unit: {{!!unitlatex}}
>
> <$list filter="[title<currentTiddler>listed[vars]tag[Equation]]
> -[title<currentTiddler>] +[limit[1]]">
> <h2>Used in Equations</h2>
> </$list>
>
> <$list filter="[title<currentTiddler>listed[vars]tag[Equation]]
> -[title<currentTiddler>]">
> <$link><$transclude field="title"/></$link>
> <$transclude field="equation"/>
> </$list>
>
>
> I had to look up Skoda. I like they have a whole page for cyclists.
>
> HTH
> Mark
>
> On Wednesday, May 3, 2017 at 5:12:00 AM UTC-7, Stephen Wilson wrote:
>>
>> Extension Question:
>>
>> template variable searches the equation field of tiddlers tagged equation
>> and then returns values of fields which contain the variable of the tidler
>> in which the template is called.
>>
>> Can this be simplified using the new and shiny vars field?
>>
>> I'm just trying to head off situations in which this filter will cause
>> problems where the same letter is used for different values, e.g h for
>> height and h for specific enthalpy.
>>
>> Stephen
>>
>> \define makePattern()
>> ^<.*?(?:=).*?(?:=).*?(?:\b$(var)$\b)
>> \end
>>
>> {{!!description}}
>>
>> Variable: {{!!variablelatex}}
>>
>> Unit: {{!!unitlatex}}
>>
>> <$set name="var" value={{!!variable}}>
>> <$set name="varpattern" value=<<makePattern>>>
>> <$list filter="[tag[Equation]regexp:equation<varpattern>limit[1]]">
>> <h2>Used in Equations</h2>
>> </$list>
>> </$set>
>> </$set>
>> <$set name="var" value={{!!variable}}>
>> <$set name="varpattern" value=<<makePattern>>>
>> <$list filter="[tag[Equation]regexp:equation<varpattern>]">
>> <$link><$transclude field="title"/></$link>
>> <$transclude field="equation"/>
>> </$list>
>> </$set>
>> </$set>
>>
>>
>>
--
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/734ec26f-6c56-41a2-b157-3cbd06fe383e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.