Skip navigation
Currently Being Moderated

How do I create links from the middle of 1 PDF to another?

Apr 8, 2013 4:06 AM

Tags: #links #deep #linked_pdf

I have a collection of FrameMaker books that are delivered as PDfs, all installed locally in the same directory.


I want to add hyperlinks/x-refs that enable users jump from, say, page 10 of docs\Document1.pdf to page 5 of docs\Document2.pdf (i.e. deep linking - making a hyperlink open another PDF at page 1 is easy and  works fine). 

I've been trying out various combinations of x-ref links to to paragraphs and cross-reference markers in the target document, but although the link in the resultant PDF can be clicked, it doesn't go anywhere. The links do

work OK when I have the source and target docs open as FrameMaker docs, but not when saved as PDFs.

Can anybody tell me the correct way of adding x-refs/hyperlinks in Frame 10 so that I can link from the middle of one pdf to the middle of another pdf in the same directory?

I'm runnng:
Acrobat Distiller + X Pro
Windows 7


  • Currently Being Moderated
    Apr 8, 2013 7:59 AM   in reply to paul_newb
    1. The target files all have to be at either directory-relative or fully qualifed URL locations. If you use root reference ("/dir/dir/..." on Unix-like systems, or drive reference "C:\dir\dir\..." on DOS-like systems), the links are going to fail whenever used by anyone not an identical file system configuration.
    2. You need to enable and use Named Destinations, and understand how FM tinkers with them.
      and search this forum with terms like:
      pdf deep linking
      named destinations
    Mark as:
  • Currently Being Moderated
    Apr 8, 2013 8:17 AM   in reply to paul_newb

    There are basically two aspects to this.


    First, as Error indicates, you do standard FM linking using either cross-refs or by creating named destinations & goto hypertext links to those between the FM files in the books.


    The second, critical, aspect of this is that you need to have all of the linked .book files open (you don't necessarilly need to have all of the .fm files open) when creating the PDFs. FrameMaker will properly handle the cross-book links.

    Mark as:
  • Currently Being Moderated
    Apr 11, 2013 6:19 AM   in reply to paul_newb

    Shlomo would claim, yes, due to the large number of people using TS.

    Mark as:
  • Currently Being Moderated
    Apr 11, 2013 8:23 AM   in reply to paul_newb



    Did you first test the link in FM (hold down the ctrl + alt keys and click the link)? If that doesn't work properly, then it's not going to work in the PDF either.


    If that works, did you check the actual link properties in the PDF file with the Acrobat link tool? Is the link going to where you think it should (check the path)? The links are generated based upon the relative path locations to the book files. If they are in separate folders when you create the PDFs and then you consolidate the PDFs into the same folder later, the links will fail. You have to do a bit of planning first on how cross-file links are setup.


    I heartily endorse the TimeSavers tool from Shlomo and have been using it since the last century...

    Mark as:
  • Currently Being Moderated
    Apr 12, 2013 8:45 AM   in reply to paul_newb

    If you're going to be delivering all of the PDFs in a common folder, then you need to have the FM books (but not the necessarily the FM files) in the same common folder as well before you create your PDFs. Simply specifying a different output folder doesn't re-align the internal links amongst the FM files. The links are built relative to the book files, not the output PDF file locations. So if you move or consolidate things later, you can break the links.


    [Caution: physically moving the book files at the system level will also cause problems - you're changing the relative paths, especially for generated files such as TOC, IX. You're better off to recreate the book files in the correct location.]


    As I said before, if the ctrl+alt test in FM doesn't work, then the link won't work in the PDF either.


    Also keep in mind, if the links cross the root of a drive, then FM will make them absolute, rather than relative links. This really impacts cross-file links and where you place the PDFs.


    If you follow the proper procedures, then FM provides the linkages that you need.


    If you are getting TimeSavers from Shlomo, please ask him for some details about how to properly set up cross-linked books.

    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points