Group Note Designators

Tinderbox Icon

You sometimes need to specify a reference to a note relative to something else, like the current note. Group Objects are a set of generic relative references to, or placeholders for, a group [sic] of notes whose actual identity is context sensitive. Group placeholders are written with lower case starting letters and intercapitalised if multiword; e.g. sibling. Usage is case sensitive.

Thus, for a word count of the current note's children you use:

$MyCount=sum(descendants,WordCount) 

In older versions this would have required using an export code:

$MyCount=^sum(descendants,WordCount)^ 

Some HTMLExport markup codes operate on groups of notes such as children, descendants, all, ancestor and sibling.

If a group is empty - e.g. the current note has no children, the group operator returns the equivalent value/boolean for the current note instead.


Up: Designators
Previous: Item Note Designators  Next: Date Designators 

A Tinderbox Reference File : Objects & Concepts : Designators : Group Note Designators aTbRef Site Map


[Last updated: 6 Feb 2012, using v5.10.1]

Google search aTbRef for:  

Creative Commons Licence

aTbRef by Mark Anderson is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License.
[See aTbRef CC licence Attribution & Waiver info]

Made with Tinderbox