Skip to main content
Participant
September 24, 2009
Question

How can I jump to a named destination?

  • September 24, 2009
  • 1 reply
  • 1772 views

I have separate Framemaker files for sections for which I specified a named destination at title. These sections are imported by reference into chapters of a number of books. Within the book I want to jump for example from chapter 2 to a section in chapter 3. Normally I would use a cross reference, but that does not work with an imported file. I tried to do this with a named destination, but it seems that Framemaker cannot jump from one chapter to another using a named destination. Does anyone know how I can jump from one chapter to imported file in another chapter?

See attached structure drawing: Named destination problem.ppt

    This topic has been closed for replies.

    1 reply

    Inspiring
    September 24, 2009

    Jeroen,

    I have not looked at your PPT, but it entirely possible to have cross-file hyperlinks.

    In file1.fm you specify a named destination using a Hypertext marker with the content "newlink target1".

    In file2.fm you can create a jump to this location with a Hypertext marker and the content "gotolink file1.fm:target1".

    HTH,

    - Michael

    JeroenW5Author
    Participant
    September 24, 2009

    Thanks for the reply,

    It was helpfull but it does not solve my problem. The gotolink command is also in an imported file. I have all sections in separate files that are reused accross several books.

    So the gotolink I have is for example from the file section 1 to the file section 2. With the command gotolink section1.fm:destination1 it work when I open the file Section1, but it does not work in the book where the file section 1 is imported in chapter 1 and the file section 2 is imported in chapter 2.

    When I setup the command for the book gotolink chapter2.fm:destination1 it works in book 1, but not in book 2, because it has a different filename for chapter 2 or the section with the named destination might be in another chapter.

    I have updated my attached PPT.

    Inspiring
    September 24, 2009

    Am 24.09.2009 um 13:19 schrieb JeroenW5:

    It was helpfull but it does not solve my problem. The gotolink

    command is also in an imported file. I have all sections in separate

    files that are reused accross several books.

    So the gotolink I have is for example from the file section 1 to the

    file section 2. With the command gotolink section1.fm:destination1

    it work when I open the file Section1, but it does not work in the

    book where the file section 1 is imported in chapter 1 and the file

    section 2 is imported in chapter 2.

    When I setup the command for the book gotolink

    chapter2.fm:destination1 it works in book 1, but not in book 2,

    because it has a different filename for chapter 2 or the section

    with the named destination might be in another chapter.

    Okay, I should have looked at the PPT. But I understand that you are

    working with "text insets".

    When you import some text into another document "by reference" the

    text is nevertheless completely copied into the (I call it) container

    document — other wise FrameMaker would have a hard time getting the

    formatting and numbering right.

    But, the target file name has changed and I know of no way to have

    that fixed automatically by FrameMaker.

    In a similar setup I created a FrameScript script program, which

    checked all cross-references and changed the target file name to that

    of the container file.

    - Michael

    --