spector@brillig.cs.umd.edu (Lee Spector) (10/18/90)
How can I get a list of the markers that are defined for a document for use in a Nisus macro? I want to write a macro that deletes all markers that don't mark a selection. I can check if a marker marks a selection by jumping to the marker and checking to see if anything's selected. I can delete a marker with a variant of the Jump command. But how do I get a list of the markers over which to loop? Suggestions as to other methods for achieving the same end would also be welcome. (I do bibleographies with marked text preceeding each entry, with the marked text being a pair of brackets ([]) enclosing a number, like [23]. I refer to bibleography items with Cross-references that show the marked text, and I have a macro which renumbers the citation list when I add or delete references, etc. The problem is this: when I start a new paper I will often copy the bibleography from a previous paper. Then I'll delete a bunch of the references that aren't really relevant to the new paper. However, this doesn't automatically delete the related markers; they end up marking single points at various places in the bibleography. This clutters up the X-reference list and it's a pain to delete them all one at a time; hence my desire for a "delete empty markers" macro.) Thanks! -Lee (spector@cs.umd.edu) P.S. Is there a mailing list for Nisus Macro questions? I think it would be a swell idea... -Lee