FM 7.2: Is there a way to Find a cross-ref and Replace it with another cross-ref?

2012-06-21 Thread Avraham Makeler
Hi all, FM 7.2: Is there a way to Find a cross-ref and Replace it with another cross-ref? A blooper occurred in an FM doc, wherein a whole lot of cross-refs (all pointing to the same target) got replaced by a different cross-ref. TIA -- Regards, avraham ~ (+972) (0)54-3084886

RE: FM 7.2: Is there a way to Find a cross-ref and Replace it with another cross-ref?

2012-06-21 Thread Fred Ridder
If you create one instance of the correct cross-reference, you can copy that to the clipboard, and then do a Find/Change that uses the By Pasting option in the Change box. You'll still have to look at each cross-reference you find to see if it is one you need to change, but at least you can

RE: FM 7.2: Is there a way to Find a cross-ref and Replace it with another cross-ref?

2012-06-21 Thread Steve Rickaby
At 11:14 -0400 21/6/12, Fred Ridder wrote: If you create one instance of the correct cross-reference, you can copy that to the clipboard, and then do a Find/Change that uses the By Pasting option in the Change box. You'll still have to look at each cross-reference you find to see if it is one

RE: FM 7.2: Is there a way to Find a cross-ref and Replace it with another cross-ref?

2012-06-21 Thread Syed Zaeem Hosain (syed.hos...@aeris.net)
Hi, Steve. Fred's method works well and I use it when the number of changes are relatively low. However, for large numbers of changes, your method of editing the MIF file is what has worked best (and usually quickest) for me - it has the side benefit of providing a MIF Flush that can clean up

Re: FM 7.2: Is there a way to Find a cross-ref and Replace it with another cross-ref?

2012-06-21 Thread Jeremy H. Griffith
On Thu, 21 Jun 2012 17:17:49 +0100, Steve Rickaby srick...@wordmongers.demon.co.uk wrote: Xrefs in MIF look like this: To a para with a Heading 1 tag in same file... XRef XRefName `Heading Page' XRefSrcText `53801: Heading1: Heading 1' XRefSrcIsElem No XRefSrcFile `'

Re: FM 7.2: Is there a way to Find a cross-ref and Replace it with another cross-ref?

2012-06-21 Thread Robert Lauriston
Might be easiest to export to MIF and do a global replace with a text editor. On Thu, Jun 21, 2012 at 8:01 AM, Avraham Makeler amake...@gmail.com wrote: Hi all, FM 7.2: Is there a way to Find a cross-ref and Replace it with another cross-ref? A blooper occurred in an FM doc, wherein a whole

RE: FM 7.2: Is there a way to Find a cross-ref and Replace it with another cross-ref?

2012-06-21 Thread Craig Ede
It sounds like you want to revert to the previous version of the document (a good argument for a revision control system). Fred's second suggestion of moving the cross reference marker is a good one, but you'd better make sure that not cross refs exist that are supposed to go to the location

FM 7.2: Is there a way to Find a cross-ref and Replace it with another cross-ref?

2012-06-21 Thread Avraham Makeler
Hi all, FM 7.2: Is there a way to Find a cross-ref and Replace it with another cross-ref? A blooper occurred in an FM doc, wherein a whole lot of cross-refs (all pointing to the same target) got replaced by a different cross-ref. TIA -- Regards, avraham ~ (+972) (0)54-3084886

FM 7.2: Is there a way to Find a cross-ref and Replace it with another cross-ref?

2012-06-21 Thread Fred Ridder
If you create one instance of the correct cross-reference, you can copy that to the clipboard, and then do a Find/Change that uses the "By Pasting" option in the Change box. You'll still have to look at each cross-reference you find to see if it is one you need to change, but at least you can

FM 7.2: Is there a way to Find a cross-ref and Replace it with another cross-ref?

2012-06-21 Thread Steve Rickaby
At 11:14 -0400 21/6/12, Fred Ridder wrote: >If you create one instance of the correct cross-reference, you can copy that >to the clipboard, and then do a Find/Change that uses the "By Pasting" option >in the Change box. You'll still have to look at each cross-reference you find >to see if it

FM 7.2: Is there a way to Find a cross-ref and Replace it with another cross-ref?

2012-06-21 Thread Syed Zaeem Hosain (syed.hos...@aeris.net)
Hi, Steve. Fred's method works well and I use it when the number of changes are relatively low. However, for large numbers of changes, your method of editing the MIF file is what has worked best (and usually quickest) for me - it has the side benefit of providing a "MIF Flush" that can clean

FM 7.2: Is there a way to Find a cross-ref and Replace it with another cross-ref?

2012-06-21 Thread Jeremy H. Griffith
On Thu, 21 Jun 2012 17:17:49 +0100, Steve Rickaby wrote: >Xrefs in MIF look like this: > >To a para with a Heading 1 tag in same file... > > > > > > > > > # end of XRef > >To another file... > > > > >Xref test.fm'> > > > > # end of XRef

FM 7.2: Is there a way to Find a cross-ref and Replace it with another cross-ref?

2012-06-21 Thread Robert Lauriston
Might be easiest to export to MIF and do a global replace with a text editor. On Thu, Jun 21, 2012 at 8:01 AM, Avraham Makeler wrote: > Hi all, > > FM 7.2: Is there a way to Find a cross-ref and Replace it with another > cross-ref? > > A blooper occurred in an FM doc, wherein a whole lot

FM 7.2: Is there a way to Find a cross-ref and Replace it with another cross-ref?

2012-06-21 Thread Craig Ede
It sounds like you want to revert to the previous version of the document (a good argument for a revision control system). Fred's second suggestion of moving the cross reference marker is a good one, but you'd better make sure that not cross refs exist that are supposed to go to the location