This version is out of date, covering development from v4.6.0 to v4.7.1. It is maintained here only for inbound reference links from elsewhere.
Jump to the current version of aTbRef.
|A Tinderbox Reference File : Objects & Concepts : Designators : Group Note Designators||aTbRef Site Map|
Group Note Designators
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, or placeholders to 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. In all cases the object word used in code is singular - plurals will not work (i.e. not 'ancestors', 'children', 'descendants' or 'siblings').
Thus, for a word count of the current note's children you use:
... and not ...
In older versions this would have required using an export code:
Some HTMLExport markup codes operate on groups of notes such as child, descendant, 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.
There may be more groups — the manual is slightly vague about this.
|Previous: Item Note Designators||Next: Date Designators|
Licensed under Creative Commons Attribution-Noncommercial-Share Alike 3.0 License
[See aTbRef CC licence Attribution/Waiver info info]