I am embarrassed to ask this as I am sure it’s a simple question with a straightforward answer but I have exhausted my capabilities and myself.
I have a number of tiddlers with a field called molecular_formula
whose value is the molecular formula of a chemical compound (e.g. C6H12O6). A little while ago I became aware of the mol-mass plugin created by @jerojasro so I thought it would be a grand idea to use it to calculate the molecular mass of a compound from the value in the molecular_formula
field.
I hoped it would be as simple as <<molmass {{!!molecular_formula}}>>
but that didn’t work. Neither did the $macrocall
method as discussed in How can I pass the value of the a field or text into a macro. Looking at https://tiddlywiki.com/#Macros didn’t help me either. I was reduced to trying all sorts of (random) combinations of ' " "" """" { } [ ] ( ) < > __
etc. to no avail (inevitably). I have failed…
As ever, any pointer to a solution are greatefull received…