Skip to main content
Known Participant
April 8, 2008
Question

Word to FrameMaker - Is there a way to update missing files (graphics) on a global (book) level?

  • April 8, 2008
  • 16 replies
  • 2326 views
Hello,

I am in the process of converting hundreds of MS Word documents to Adobe FrameMaker 8.

During this conversion, I open up each legacy word document in FrameMaker and then apply the file against a template, that is also open.

Everything is working fine except that FrameMaker is asking me each time to address the missing files, which are graphics stored away in a single folder. This is extremely time consuming and I would like to know if there is an option or (FDK) utility, that will allow me to update all of the missing files (graphics) at the book level, by simply pointing to a graphics folder.

Is this possible to do or not?

Thanks in advance for your input.

Regards,

Jim
    This topic has been closed for replies.

    16 replies

    Participating Frequently
    April 9, 2008
    Hi,

    If you would like to move a book and all referenced graphics from one directory to another (for archiving purposes for example) I have a freely available script on my web site that will accomplish this. The script copies all referenced graphics to a designated graphics directory and fixes the paths. The same script also allows you to move a chapter and graphics from one book to another. These and other scripts are freely available for download at www.golehtek.com. FrameScript 4.1 or later is required to run the scripts.

    Best regards,

    Martin

    Martin R. Smith
    www.golehtek.com
    martin.smith@golehtek.com
    Known Participant
    April 8, 2008
    Hello Arnis,

    Thanks for the information on RTF. I did not know that about RTFs.

    I will create a macro to batch process all of my MS Word 2003 documents (.docs) to RTF format. I am sure that will raise the file size, but all of my graphics are linked to file (in word anyway).

    I will try this find and replace process that you mentioned, but I still have one question.

    Is this the EASIEST way to go about converting hundreds of legacy word documents to FrameMaker 8 (when all of the graphics in the word document are linked to file)?

    The network folder structure I am dealing with is similar to this:

    >XYZ Network Folder
    ----->Legacy Word Files
    ----->Legacy RTF Files
    ----->Graphics\PNGs
    ----->FrameMaker 8 Book

    The graphics folder contains a subfolder with "ALL" of the graphics to be used in the FrameMaker book.

    Also, the graphics folder is at the same network folder level as the legacy word files folder (or legacy rtf files folder).

    Thanks once again.

    Jim
    Arnis Gubins
    Inspiring
    April 8, 2008
    Jim,

    One tip when looking at the path names in the RTF. The backslashes are
    escaped with another backslash, so you'll see lots of backslashes
    there and the file name is enclosed in double quotes, e.g.
    "C:\\\\Graphics\\\\PNG\\\\my_picture.png"

    If the graphics in the Word file are linked, then FM imports the
    graphic by reference, i.e. it preserves the external link. This really
    is the best way to do it. Otherwise embedded graphics tend to muck up
    the import filters and you would stand a very good chance of having
    quite a number of your Word imports fail. The usual recommendation is
    to strip out the graphics in Word first. Have you seen the Adobe
    tutorial on importing Word documents by Matt Sullivan? There are some
    tips and best practices in there. It's located at
    http://www.adobe.com/devnet/framemaker/articles/word_conversion.html
    Also have a look at Tim Murray's Word-to-Frame conversion paper at
    http://www.techknowledgecorp.com/public/word2frame.pdf

    If the Word files are "clean", i.e. the creators used styles and
    didn't do any overrides, then you should be ok. However, if all you
    have is a mixture of Normal and a few Heading styles, then you're in
    for a tough slog.

    As long as the Graphics folder is on the same drive as the FM folders,
    then everything should get referenced relatively in the FM files. In
    older versions of FM, if a reference traversed the root of a drive,
    then the references would be made absolute.
    Inspiring
    April 8, 2008
    Rick Quatro is a FrameScript gurus, and has a book out on it.
    Lots of samples too.... www.carmenpublishing.com
    And, of course, the FrameScript site: http://www.framescript.com/
    Art
    Participant
    April 8, 2008
    Hello Arnis,

    I am not an advanced FrameMaker user and have never used the FDK or FrameScripts. Is there a place where I can download sample FrameScripts?

    All of my word documents and graphics were moved to another location on my network server and I always link to file (never embed). So, I have to work the files and convert them - as they are...

    My overall objective was to find a way to synchronize all the FrameMaker files, against all the (linked) graphics, which exist in a single folder. It would be nice if this were possible.

    Thanks again for the feedback.

    Regards,

    Jim
    Arnis Gubins
    Inspiring
    April 8, 2008
    Jim,

    If the graphics were imported as links in Word and then all of the
    files moved, wouldn't it be easier to fix this at the Word end first?

    If you save the Word files as RTF (Word doesn't complain about broken
    links), then in the RTF you can find all of the linked graphics (look
    for the INCLUDEPICTURE keyword) and change the path there using a
    system level search&replace tool. Then when the files are imported
    into FM (it can take the RTFs directly), FM won't have anything to
    complain about.

    You can either script a Word macro to do batch through a folder of
    Word docs and save them as RTF or look for a stand-alone utility to do
    this.

    This is probably a lot easier and faster if you're not familiar with
    FM scripting or programming tools.
    Known Participant
    April 8, 2008
    Let me try to clarify this better.

    Forget about the template I am using. The template is working great and has nothing to do with what I would like to accomplish.

    I would like to do the following:

    1. Open a legacy word file and save as FrameMaker file format.
    2. Choose "Ignore All Missing Files" each time FrameMaker finds a referenced graphic.
    3. Repeat the same process for the next 100 word documents.
    4. Add the 100 newly created FrameMaker files to a FrameMaker book file.
    5. Run a global (book level command) that can point to a singles graphics folder and then globally update all the missing files found within each FrameMaker chapter.

    I am good up until step five....

    Is this possible to do with some command or via the FrameMaker Developer Kit (FDK)?

    Thanks in advance for any suggestions.

    By the way, the (FDK 8.0 Windows installer) zip file appears to be corrupt at the following link:

    http://www.adobe.com/devnet/framemaker/fdk/8/

    Has anyone else run into the same problem - with this zip file?

    Thanks,

    Jim
    Arnis Gubins
    Inspiring
    April 8, 2008
    Jim,

    This could probably be done more easily from FrameScript than the FDK.

    Though I still don't follow where the missing graphics are arising
    from if you're just importing Word files - unless you're saving to a
    different location that messes up any graphics (by reference) already
    in the template.

    No problems with zip at this end.
    Arnis Gubins
    Inspiring
    April 8, 2008
    Jim,

    It's unclear from your message as to which file(s) is missing the
    graphics - the template file or the Word file? If it's the template
    file, fix that first.

    Also, try importing the Word files into a template file instead and
    then save with an appropriate name.