[Date Prev][Date Next] [Thread Prev][Thread Next]
[Date Index] [Thread Index] [New search]

Re: Find all cross-references to a certain target



Dave H. wrote:
> 
> I think the closest you can come using the standard Frame features is to add
> an Index of References to the book, and include all external
> cross-references. This will give you a list of the targets, but only the
> external ones (outside the current file.)
> 
> You could also change the marker type of the cross-ref markers you want to
> delete (from Cross-Ref to, say, Comment) and see if you get any unresolved
> cross-refs. Change the marker type back to Cross-Ref for those that turn out
> to be needed, and delete the remaining Comment markers. (A bit long-winded
> perhaps.)
> 
> If I'm deleting a heading when combining sections I usually delete its
> Cross-Ref marker anyway, because I want Frame to flag any cross-refs that
> were referring to it so I can rewrite/redirect them.

Dave,

I like the idea of changing the marker type.  I didn't even know that
one can modify the marker until your suggestion prompted me to try it.
It does require a book update, which takes time  Plus, I think my
document is corrupted, because there is typically a crash after an update.
But it is still a cool approach.  For now, I think I will stick with
Thomas's and Arnis's idea of surfing the MIFs.  The reason is because
I don't have to regenerate the MIFs until I've changed the document
*alot*.  Also, gvim's buffer grep plugin makes it very easy to surf
the MIFs for a particular cross-reference or marker.  Thanks for the
good idea.

Fred

** To unsubscribe, send a message to majordomo@xxxxxxxxx **
** with "unsubscribe framers" (no quotes) in the body.   **