Skip to main content
Participating Frequently
May 13, 2009
Question

Multi-page tables: Adding text at top of each page (FM 8)

  • May 13, 2009
  • 2 replies
  • 3291 views

Hi everyone,

I inherited a document (1000+ pages) that contains many multi-page tables that contain auto-numbered rows. When a table runs onto the next page, I am not able to add any text above it, such as the required Section and Paragraph titles. I think I would need to manually break the table to get what I need, but I don't want to have manual breaks because I am still adding and deleting a lot of pages.

The previous authors added the Section and Paragraph titles to the repeating header row so that this information would appear at the top of each subsequent page. This works fine for the subsequent pages, but when the table begins in the middle of a page, then I have the Section title unnecessarily displayed in the middle of the page. In these cases, the previous authors covered the initial header row with a white box so the Section title wouldn't appear there.

I am hoping there is a cleaner way to have automatically breaking tables, yet still be able to add text above the first row on subsequent pages. I thought I would create master pages with the Section titles in the header, but I'd need over 100 unique master pages, and I think that creating and manually applying these would take longer than just continuing to use the white boxes. I've searched the online help for information about breaking tables, but I can not find anything helpful for my situation.

Any ideas are appreciated!

Amy B.

amy.bates@gdc4s.com

    This topic has been closed for replies.

    2 replies

    Participating Frequently
    May 20, 2009

    Hi, Amy:

    To do what you're asking for, you need to combine a few of FM's tools:

    * Running Header/Footer Markers $1 and $2

      To create different text for the running header of a body page that usually picks up the table title of the first table that starts on that page - whew -

    you need to create and insert a Running Header/Footer $1 (or $2) marker prior to the table title, pick it up with a matching Running Header/Footer 1 (or 2) system variable in a master page running header.

    There are a couple of "but wait, doesn't that mean...?"

      + One master page's running header works with the markers.

      +  You always have to type the marker text that gets picked up in the header. (A good place to insert these markers is at the very beginning of the table title, so it's always easy to find them, if you know where to look, and they won't get separated from the tables they work with.)

      +  You need a separate master page to create running header text from table titles.

    ] Here's to get these tools play nicely together:

    * Running Header/Footer System Variables Header/Footer 1 and 2

      These variables are only available in the variables list when the master page view is active. You insert them into master page header or footer text frames. They work similarly to index markers - each time you create some text in a running h/f marker and insert it in the body page text flow, it's available to be picked up by its matching running header variable, Header/Footer 1 (or 2).

    * Master Page Header Layouts and Running Header/Footer System Variables

     

      To pick up either the TableTitle paragraph, or the Running Header/Footer marker in a Running Header/Footer variable on a master page header, you need separate master pages. Design the master page header for the table's starting page with the Running Header/Footer variable. Design the master page header for the table's continuing pages with the standard system variable building blocks: <$paratext[paratag]>. If there's no qualifying paragraph format on the current page, these variables look backwards in the text flow until they find one - in this case, the table title on the table's starting page. The last-started table's title continues to be picked up by the variable until a new table starts.

    * Format > Page Layout > Apply Master Pages

      Now, the only remaining problem is "how to switch master pages, so the one that picks up the marker on a table's starting page is applied to the correct page, and how to switch to apply the table title's master page on the rest of the pages, then switch back on a new table start page, etc. Automatically? Right?"

      The tool you need here is the Apply Master Pages command, on the Format > Page Layout menu. This cool mechanism works by looking up a Reference Page Mapping Table that identifies which paragraph format(s) "trigger" a particular master to be applied to a particular body page, and also defines the scope - only the current body page, the next left or right body page, until the next trigger paragraph format, etc.

    If there is no reference page mapping table in your file, when you perform Apply Master Pages, FrameMaker creates them and displays an alert.

    You can run Apply Master Pages manually from the menu. Apply Master Pages is an option you can enable when you open the Edit > Update Book dialog box from an active book window.

    You'll need to do the homework on creating and inserting the Running Header/Footer markers and their matching Running Header/Footer variables, and also on setting up and using Apply Master Pages. There's information in the Help, and always on these and other FrameMaker forums and lists.

    HTH

    Regards,

    Peter Gold

    Amy_BatesAuthor
    Participating Frequently
    May 21, 2009

    Hi Peter,

    Thanks for your reply and detailed suggestions. It sounds like this is doable, which is good news. I'm familiar with the Master Page features, but I'll need to read up on the Running Header/Footer features. Thanks again for the help!

    Amy

    Known Participant
    May 20, 2009

    I'm not positive if this is what you want to know, but...

    Putting the Chapter Title, Section Title, Heading, or anything else in the header is relatively easy. Create a variable (Running H/F 2, for example) and define it as the item you want. For example, I use Running H/F 3 in my header to show the current Heading 1. Its definition is <$paratext[H1 Head1]>. This repeats the current Heading 1 on each page.

    Hope this helps.

    Amy_BatesAuthor
    Participating Frequently
    May 20, 2009

    Hi WordDog,

    I have the Chapter and Section titles in the running header, and that works fine on subsequent pages. However, the first instance of the running header is usually in the middle of a page--where the table begins right below a graphic. The problem is that then, on these pages, the Chapter and Section titles appear twice: at the top of the page (where they should be) and again in the middle of the page (so they will be in the running headers on subsequent pages).

    Previously, the authors used a white box to cover up the first headers in the middle of the page. I'm hoping that I can remove the Chapter and Section titles in the running headers, and just type this information at the top of each page, so I won't have to cover up the first header with a white box. However, when a subsequent page begins with the continued table, I can not type anything above the table.

    Any ideas? I appreciate your help. It's hard to explain, so I attached an example.

    Thanks,

    Amy

    May 20, 2009

    Amy, unfortunately the way the forums work now is that attached files take .... for...ev...er... (as in days)  to get through the queue, so is there any chance you could add a msg and insert a screen capture using the little camera icon that's above the text entry area?