Broken xrefs

rebecca officer rebecca.officer at alliedtelesis.co.nz
Sun Sep 16 14:54:44 PDT 2007


Hi Kelly

Very strange and worrying that FM didn't preserve the xrefs. You did
update the book/s after making the changes?

> I do appreciate the suggestion of a hand-code fix in plain text, but
there are far too many for a one-man shop...regards, Kelly.

Are you sure? I'd expect that you could use a decent text editor to
open all the files from all 64 books at once and do search and replace
across all files in a single operation. I just looked at a MIF file and
the syntax for a within-book xref just seems to be this (where
filename.fm is the name of the file):
<XRefSrcFile `<c\>filename.fm'>

I think you could just search for that string with the old filename and
replace with the same string and the new filename. You don't need to
worry about where in the document the xref goes - that's a separate line
in the code. 
Even if you have to do the search for each file in 64 books, it sounds
quicker to me than any other option, unless IXGen has powers I don't
know about.

Back up before you play with the MIF files!

Cheers, Rebecca

-----Original Message-----
From: Combs, Richard [mailto:richard.combs at Polycom.com] 
Sent: Friday, September 14, 2007 2:48 PM
To: Fred Ridder; Kelly McDaniel; framers at lists.frameusers.com 
Subject: RE: Broken xrefs

Fred Ridder wrote:

> FrameMaker only knows to update generated files that have the 
> same base filename as the book plus the relevant generated 
> file suffix (e.g.
> ...TOC, ...LOF, ...IX). If the names of the existing 
> generated files don't follow the pattern, FrameMaker will 
> generate brand-new, unformatted generated files rather than 
> updating the existing ones.

Fred's right about changing file names within FM so that xrefs are
updated -- not to mention the book file itself. But he's wrong about
generated files. At least since FM6, FM hasn't relied on the file
names
to identify generated files. Assuming you change your TOC file's name
within the book window as Fred advised, FM will still know it's your
TOC
file and will happily update it.

But, if you rename your TOC file outside of FM, then FM can't find it,
and will generate a new one that has the name listed in the book
window
(which will be either the naming pattern Fred specified or whatever
name
you previously gave it in the book window).

Getting back to fixing your broken links, you could save the files as
MIF, open them as text, and use find/replace operations to update the
file names.

HTH!
Richard


------
Richard G. Combs
Senior Technical Writer
Polycom, Inc.
richardDOTcombs AT polycomDOTcom
303-223-5111
------
rgcombs AT gmailDOTcom
303-777-0436
------




_______________________________________________


You are currently subscribed to Framers as
rebecca.officer at alliedtelesis.co.nz.

Send list messages to framers at lists.frameusers.com.

To unsubscribe send a blank email to
framers-unsubscribe at lists.frameusers.com 
or visit
http://lists.frameusers.com/mailman/options/framers/rebecca.officer%40alliedtelesis.co.nz


Send administrative questions to listadmin at frameusers.com. Visit
http://www.frameusers.com/ for more resources and info.

NOTICE: This message contains privileged and confidential
information intended only for the use of the addressee
named above. If you are not the intended recipient of
this message you are hereby notified that you must not
disseminate, copy or take any action in reliance on it.
If you have received this message in error please
notify Allied Telesis Labs Ltd immediately.
Any views expressed in this message are those of the
individual sender, except where the sender has the
authority to issue and specifically states them to
be the views of Allied Telesis Labs.



More information about the framers mailing list