I finished up the code for the linked NOTE tag. Now the notes which look like: NOTE @nnnn@ and refer to a “0 @nnnn@ NOTE” definition are handled. So far I’ve handled it for the most common case, when the linked note only refers to one note. When they do, I can place the note where the link is.
But when one note is linked from several places, I don’t want to repeat the note many times, so I will have to place the note in a “Multiple References” section and refer to it there. I’ll have to “create” a numbering, maybe MR1, MR2, etc., to refer to these. Then in the Multiple References section, I’ll have a link back to all the people who reference that note.