Skip to main content
August 22, 2012
Question

FM10/Acrobat X 10-use named destinations for PDF linking

  • August 22, 2012
  • 2 replies
  • 13813 views

My company wants our documentation to be accessible from a web page. No problem there. But they want to provide users with links that open the PDF files to a specific section.


My books are in FM10. I created hypertext named destinations (example hyperlink syntax: newlink alarm) at the points where they want to open the PDF. I then saved the book to PDF, with the Create Named Destinations for All Paragraphs check box selected.


We are now trying to build a link from the web page to open the PDF at the named destination. Here is some info from the web developer on his syntax:


These zoom but do not position you to the named destination:

     <a href="Documentation/IO.OS 2.1.3 Technical Overview.pdf#nameddest=alarm&zoom=40">Tech Doc</a>       

     <a href="Documentation/IO.OS 2.1.3 Technical Overview.pdf#alarm&zoom=40">Tech Doc</a>

This positions to the indicated page and zooms:                   

     <a href="Documentation/IO.OS 2.1.3 Technical Overview.pdf#page=20&zoom=40">Tech Doc</a>

What are we doing wrong? I've been searching the forums and community help and we've tried all the syntax examples we can find. Thanks so much for any help you can provide!

This topic has been closed for replies.

2 replies

Jason_Nichols2
Known Participant
August 29, 2012

Hi Kim,

Our team recently found a way to put custom named destinations in our FrameMaker files that can be used for linking to specific places in the PDF output (with no strange alphanumeric codes added to the named destinations).

The named destinations are anchored in FM so they stay with whatever heading/text/graphic/etc they are "attached" to, even as content is added to/removed from the FM files.

Will the following work as part of the solution you're looking for? (We're also using FM10 and Acrobat X.)

  1. In FM, insert a new text frame object.

  2. Type the following code in the text frame: [/Dest /Help123/Dest pdfmark

    where “Help123” is the name that will appear in the PDF for this named destination. This is name you would use in your hyperlinks. Our programmers use this name for the context-sensitive help links in the user interface.

  3. Right-click on the text frame and select Object Properties. Click to select the PostScript Code check box, then click the Set button.

    NOTE: Once the PostScript Code check box is selected, the text in the text frame cannot be edited. To edit the text in the text frame, you have to first turn off the PostScript Code option, edit the text, and then turn the PostScript Code option back on.

  4. Select the text frame object, then cut and paste to create a new instance of it. This places the text frame inside an anchored frame.

  5. You can now “attach” the anchored frame to whatever heading/figure/text/etc the named destination should link to.

Here's the catch. To get the named destination in the PDF output, you can’t use the “Save as PDF” command in FM – you must print to PDF instead:

  1. In the FM file, click File >> Print Setup.
  2. Select Adobe PDF in the Name drop-down list, then click the Properties button.
  3. Deselect the Rely on system fonts only; do not use document fonts check box, then click OK.
  4. Click OK.
  5. Click File >> Print.
  6. Select the Generate Acrobat Data check box.
  7. Click the PDF Setup button to define bookmark links, print quality, etc, then click the Set button when done.
  8. Click the Print button.

The generated PDF file should contain all the bookmarks you’ve defined as well as all the named destinations you added (with the exact names you specified).

Hope that helps. Thanks, and good luck,

Jason

August 29, 2012

Thanks, Jason. This sounds like a good option, with most of the work on my side to get it set up. The web developer wants to avoid the rework of redoing the docs web page with new links due to FM changing the marker names. I'll pass this info along to him. He's working on other projects, so it may be a while until I can report more on our progress.

September 4, 2012

> ... so I'm reaching out to Adobe support.

I trust you've done that via other channels, as this forum is user-to-user and not Adobe Support.

Adobe people only show up here sporadically.


of course, through other channels. When exploring the Acrobat installation forum, noticed there was an update. I installed it and my job options have returned. So now I'm back to trying to figure out why Jason Nichols' instructions didn't work for me.

Inspiring
August 22, 2012

But they want to provide users with links that open the PDF files to a specific section

Do you mean,they want the PDF to opened at a particular page ?

August 22, 2012

No, not a page, although that's the only thing we can get to work. What they really want is to open to a PDF bookmark, but named destination would also work. (I created the named destinations for each H1 heading in the FM files.) He can open the PDF to a page but the problem with that is we'll need to recode the links for each release as we add and remove content and stuff moves to different pages. That's a real pain and very timeconsuming for a large doc set.

Inspiring
August 22, 2012

If you need to open the PDF at a bookmark your developer has to use :-

pagemode=bookmarks name

pagemode=thumbs

pagemode=none (default)

Whatever applies.......

Example

<a href="Documentation/IO.OS 2.1.3 Technical Overview.pdf#pagemode=alarm&zoom=40">Tech Doc</a>

try this out and check if thats working?