Skip to main content
Participant
December 1, 2011
Question

How can I generate bookmarks from paragraph tags on master pages?

  • December 1, 2011
  • 2 replies
  • 1718 views

I'm creating a pdf document with bookmarks from a Framemaker 8 file; the bookmarks are generated from a certain paragraph tag.  As long as that tag appears in the body pages, the bookmark is generated correctly.  However, if the tag is located only on the master pages the bookmark is not generated; it's as if FM doesn't "see" the tag if it's on a master page.  Any thoughts on how to fix this?

    This topic has been closed for replies.

    2 replies

    Michael_Müller-Hillebrand
    Legend
    December 2, 2011

    Curt,

    We may assist you better if you shared what you originally wanted to achieve.

    Just guessing, I assume you have put the headings for the table of contents and/or index on certain master pages an now want to have them appear as a bookmark. If this is true, you may want to consider moving the headings back into the text flow. Or you may want to have a look at "pdfmark" instructions which allow to control Acrobat features from within FrameMaker. A good reference is the "pdfmark Primer", available here:

    http://www.pdflib.com/developer/technical-documentation/books/pdfmark-primer/

    - Michael

    Participant
    December 2, 2011

    Your guess is exactly right: I assume you have put the headings for the table of contents and/or index on certain master pages an now want to have them appear as a bookmark.

    I'll get those tags back in the text flow.  I'll also take a closer look at pdfmark, that looks like an interesting read!  Thanks for your help, Michael!

    Van Kurtz
    Inspiring
    December 2, 2011

    Curt,

    If you put the tags back in the text flow for the TOC and the Index, as well as other generated files, I think FrameMaker will delete them when you update the book. That was my experience with Fm 9.

    If that is still the case, an alternative is to create a document for the TOC and the Index, each with the correct heading, plus any other content you might need. These documents are NOT the generated files themselves. Then after each heading paragraph, insert the corresponding GENERATED file by reference. When you update the book, the headings are not deleted because they are not in the generated files; however, you need to update the book twice: first to update the generated files and then second to update them into the text insets.

    For convenience, I move the generated files to the bottom of the book file, so they do not clutter the list of real files. To print to PDF, you select all but the generated files (Edit > Select > Nongenerated Files) and then Print selected files. If you have bookmarks and links turned on, then the TOC and Index headings appear in the bookmarks and the hyperlinks in the TOC and Index work in the PDF.

    Van

    Bob_Niland
    Community Expert
    Community Expert
    December 1, 2011

    ... it's as if FM doesn't "see" the tag if it's on a master page.

    Oh FM sees it just fine, the problem is that between zero and thousands of Body pages may use that MP. So where does the Bookmark point? Or do you want a BM for every instance?

    Any thoughts on how to fix this?

    Make the tagged content appear in a Body flow. Xref, Variable, Inset, perhaps hidden (white on white) if necessary would be possible avenues to explore.

    ______

    A parallel example is Xrefs. We often put parts lists on Reference Pages. All Body instances of the c/o numbers, SKUs and descriptors are Xrefs (to avoid typing them, and get auto-update on list changes). In the resulting PDFs, the body text for those Xrefs are all hyperlinks. The little one-finger hand shows up in hover, but clicking does nothing as it has no place to go.

    Participant
    December 2, 2011

    Oh FM sees it just fine, the problem is that between zero and thousands of Body pages may use that MP. So where does the Bookmark point? Or do you want a BM for every instance?

    Good point.  In my case (due to that particular master page being used only once) it wouldn't be an issue, but I can see that for multi-page files it would generate many bookmarks.

    Yes, getting that tag back in the body pages seems to be the solution, and you provided some good ways of doing it.  Thanks for your help!