Skip to main content
Participating Frequently
December 18, 2010
Question

relative vs. absolute cross-reference paths

  • December 18, 2010
  • 3 replies
  • 4532 views

We use one directory for projects we're working on, and another for completed projects. When cross-referencing to other writers' books, we cross-reference from the working directory to the completed directory. We want absolute cross-references, so that the path will always begin at D:\. We do not want relative cross-references, because the files' relative positions change.

I did a little research in the forum, and it appears that using Save gives me relative paths, but using Save As gives absolute paths. But regardless of whether I use Save or Save As, the cross-reference links are broken after moving the file I'm cross-referencing from. This doesn't seem right, because the location of the file I'm cross-referencing to is the same as it ever was.

Is there a way to force FrameMaker to use an absolute path for cross-references? And if it uses an absolute path when I Save As, why are my cross-references broken after I Save-As a file and then move it?

jimstoic

    This topic has been closed for replies.

    3 replies

    Inspiring
    October 22, 2016

    Jim,

       Michael and Van are correct: when creating cross-references between files on the same drive, FM always stores relative paths. Therefore if you use Windows utilities to move some of the files, the cross-references will break.

       It is possible to map a Windows folder to a drive letter (look up the subst or net use Windows command lines). So, you could use x: to refer to files in your working folder and y: for folders in your completed folder. When you finish a book and move it to the completed folder, you could redefine x: to the new folder and things may be OK. It could be tricky if you ever need to update one completed book but not another.

      When cross-references become unresolved, FM may be able to help you correct them. Use the Edit > Update References command. There is a pop-up menu in the upper-right corner of the resulting dialog box. Select Update Unresolved Cross-References from this menu. You will then be able to browse to a new file for each unresolved cross-reference. FM will reuse the information you specify to resolve as many xrefs as possible.

        --Lynne

    December 21, 2010

    Perhaps Bruce Foster's Archive utility could work for you; it's highly regarded and very, very solid.

    http://home.comcast.net/~bruce.foster/Archive.htm

    dnlbnAuthor
    Participating Frequently
    December 21, 2010

    We use that utility. It doesn't change the behavior of cross-references.

    Michael_Müller-Hillebrand
    Legend
    December 18, 2010

    Jim,

    FrameMaker always uses relative paths if files are on the same drive. I have a slight memory that it may switch to absolute paths if the number of »directory up« (..\) is really high, but I would not count on that.

    FrameMaker uses absolute paths if the referenced document is on another drive – easily understandable, because the path must include the drive name/letter.

    If you use save as for a single file, all external references are adjusted. So maybe a solution for your workflow would be to put the completed projects on a different drive.

    - Michael

    dnlbnAuthor
    Participating Frequently
    December 20, 2010

    Thanks, Michael.

    When I save the project to a different drive, the behavior is the same: external cross-references are broken. Shouldn't the cross-references be adjusted and saved correctly when I do that?

    Jim

    Michael_Müller-Hillebrand
    Legend
    December 21, 2010

    Jim,

    I fear I do not grasp your folder structure and processes. Could you please explain it with a little more detail, please.

    - Michael