Globally changing the path to referenced files

David Spreadbury dspreadb at yahoo.com
Wed Mar 25 04:55:22 PDT 2009


Menahem,
Opening the file and pointing to the first missing graphic should have fixed
all other graphics in the file, if the graphics are all in the same
location. If not, each graphic with a different location would prompt for a
re-import.

A suggestion; instead of using NotePad try TextPad ($30) (www.textpad.com)
or NotePad++ (free) (http://notepad-plus.sourceforge.net/uk/site.htm).

You might also look into Bruce Foster's Frame Archive plugin ($25)
(http://home.comcast.net/~bruce.foster/products.htm). It collects all the
used graphics (and text insets and other odds and ends) in a new directory
structure, while preserving all links and references. Maybe suggest that to
your translation vendor as well.

HTH,
Dave Spreadbury


-----Original Message-----
From: framers-bounces at lists.frameusers.com
[mailto:framers-bounces at lists.frameusers.com] On Behalf Of Menahem Rosen
Sent: Wednesday, March 25, 2009 6:02 AM
To: framers at lists.frameusers.com
Subject: Globally changing the path to referenced files

Background: I sent a FM book to a translation agency, which returned the
translated files as a FM book. They convert to mif and use Trados for
the translation, then convert back and place the files into my book.
There were no problems opening the files, displaying graphics, and the
cross-refs were good. Just as I had expected. 
 
Problem: After discovering a mistake in one of the files, I asked the
agency to re-do it. That is, just one file of the book. They sent me the
fixed file, but the references to all of the graphics (and x-refs) don't
work, because the path of the referenced file (which is still right) is
preceded by the entire path on the computer that generated the fm file.
 
One solution: I saved the problematic file as mif, opened it in Notepad,
and deleted the part of the path that I didn't need. 
 
There were a lot of graphics, so It took some time (even using "Replace
All"), and Notepad nearly hung on me. When left for a while, it
eventually came back to life and finished the job. 
 
Questions: 
1. Is there a faster, better way to do this? From within FM? 
2. I don't know how this problem was caused, but I would like to suggest
something to the translation agency so that this can be avoided in the
future. Any suggestions?
3. When experimenting in the mif (text) file, I noticed that the
referenced graphics are represented by two consecutive lines. For
example...
   <ImportObFileDI
`<c\>graphics<c\>E260<c\>Eden<c\>Photos<c\>Eden260_cropped.png'>
   <ImportObFile `graphics/E260/Eden/Photos/Eden260_cropped.png'>
What solved the problem for me was changing the first line
[ImportObFileDI `<c\>graphics...]
I did not have to change the second line. So, my question is: what is
the second line for, and should I have changed this too? (Could it be
for opening the files on Unix systems?)
 
TIA for any tips & suggestions.
 

Menahem Rosen

Senior Technical Communicator

Objet Geometries





 
 
****************************************************************************
********
This footnote confirms that this email message has been scanned by
PineApp Mail-SeCure for the presence of malicious code, vandals & computer
viruses.
****************************************************************************
********


_______________________________________________


You are currently subscribed to Framers as dspreadb at yahoo.com.

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/dspreadb%40yahoo.com

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





More information about the framers mailing list