Skip to main content
May 5, 2014
Answered

Reset PDF bookmarks when saving as PDF from structured FM -> Book 11.0 with fm components (*.book).

  • May 5, 2014
  • 1 reply
  • 691 views

Hi,

I've read the forum discussions/solutions on setting PDF bookmarks, but I'm afraid the various solutions appear to only work if you are consistently working in .fm book files, not if your source files are in structured .fm format.

For example, I have to constantly reset the bookmark settings in FrameMaker when I follow our PDF process of saving the structured FM files via the File -> Save Ditamap As -> Book 11.0 with fm components (*.book) route. I can set the bookmarks in the first file of the book, and/or set them using the Format -> Document -> PDF Setup menu options. But an hour later, if I discover I need to make a change in our source material (.ditamap/.xml) and create a new PDF again, I must make the same exact bookmark settings at the .fm level in this process (i.e. creating new .fm files from the .ditamap/xml files overwrites the previous .fm files, requiring bookmark setting, again).

I think the only possible solution for a short-cut in this situation is to write a script to set those bookmarks each time we go from .xml to .fm. Does anyone see another way around this?

Thanks!

Diana

This topic has been closed for replies.
Correct answer ScottPrentice

Hi Diana...

You're right that only FM binary files can store PDF setup information (in theory XML files could store this data, but that's not the way it's currently set up). In order to have this data available in files generated from XML, you'll need to set it up in the structure application template(s). You also need to make sure that all files in the book use the same tag names. The following topic was written for DITA-FMx users, but the concept should apply to regular FM-DITA as well ..

http://docs.leximation.com/dita-fmx/2.0/?ditafmx_setuppdfbookmarks.html

I hope that helps.

…scott

1 reply

ScottPrentice
ScottPrenticeCorrect answer
Inspiring
May 5, 2014

Hi Diana...

You're right that only FM binary files can store PDF setup information (in theory XML files could store this data, but that's not the way it's currently set up). In order to have this data available in files generated from XML, you'll need to set it up in the structure application template(s). You also need to make sure that all files in the book use the same tag names. The following topic was written for DITA-FMx users, but the concept should apply to regular FM-DITA as well ..

http://docs.leximation.com/dita-fmx/2.0/?ditafmx_setuppdfbookmarks.html

I hope that helps.

…scott

May 5, 2014

Hi Scott,

Thank you, that totally helped. I updated my four template files to all have the same paragraph formats and set the bookmarks for them all consistently, and saved them, and then my PDF process (.ditamap/.xml to .fm) automatically showed the correct (5 instead of 30) bookmark levels set for the .fm ->PDF save. Thanks so much!

Diana

ScottPrentice
Inspiring
May 5, 2014

Fantastic .. glad to hear that worked for you!

…scott