I have a Tinderbox file in which I am planning a course I will be teaching. There is a set of literature references involved, plus my notes on each piece of literature. The references and the notes are each in one container, and (since they were created separately) I want to consolidate them into one set of notes.
Say I want to put the $Text of my comments notes to the end of the $Text of each reference. How would I go about it?￼
Both sets of notes have the same reference key for each piece of literature, with the reference proper (imported from Bookends) this key being fronted by an @. So assume I have @Anderson2019, @Becker2020 and @Bernstein2021 plus my comments in the notes Anderson2019, Becker2020 and Bernstein2021.
I know I somehow need to loop through the two containers’ contents, checking for equivalence between the note $Name fields (minus the @) and, if it is the case, then add the $Text of say Anderson2019 to the end of the $Text of @Anderson2019.
Any ideas how to do that and code snippets will be gratefully received!