AllExperts > Experts 
Search      

Adobe Framemaker

Volunteer
Answers to thousands of questions
 Home · More Questions · Answer Library  · Encyclopedia ·
More Adobe Framemaker Answers
Question Library

Ask a question about Adobe Framemaker
Volunteer
Experts of the Month
Expert Login

Awards

About Us
Tell friends
Link to Us
Disclaimer

 
 
 
 
About Neal Ziring
Expertise
I`ve been using Frame to write and edit technical documents since 1990. Experienced with versions 4, 5, and 5.5 on both Unix and Windows.

 
   

You are here:  Experts > Computing/Technology > Desktop Publishing > Adobe Framemaker > Generate a TOC in structured Frame

Topic: Adobe Framemaker



Expert: Neal Ziring
Date: 3/8/2008
Subject: Generate a TOC in structured Frame

Question
Hello-

I have a book file, whose chapters are structured FM files that were converted from unstructured FM. I need to generate a new Table of Contents for this book as it now has a new chapter. The existing Table of Contents was generated when the chapters were still unstructured FM files.
I open the book file, then from the menu bar, I select Add>Table of Contents. The 'Set Up Table of Contents' window comes up. Here's where my problem begins: the Don't Include box on the right only contains paragraph tags used in the chapters in their unstructured state. These paragraph tags no longer exist in the
structured versions of the chapters. For example, in an unstructured .fm file, h1Head1 and h2Head2 are the names for a 1st level heading and a 2nd level heading respectively. In the structured version of the file, h1Head1 and h2Head2 are now represented by a single element, named Title.
The characteristics that make what was an h1Head1 identifiable in a document, are now described by an element named HeadLevel1. Likewise, there is also a HeadLevel2 element corresponding to h2Head2. The formatting specifics for these 2 types of headings are described in a child element of Title, a ContextRule element. That element contains if/else logic that
essentially says "if this Title element displays the characteristics of a HeadLevel1 element, here are the formatting rules for it. Else if this Title element displays the characteristics of a HeadLevel2, here are the formatting rules for that." However, in the chapter .fm file itself, you can put your cursor on a heading that in the unstructured version was an h1Head1 and in the lower left corner, it'll say the element tag is Title. Likewise, if you put your cursor on a heading whose paragraph tag used to be h2Head2, the element tag in the lower left corner is again, Title.
So it seems to me that when I go to create the TOC, in the 'Set Up Table of Contents' window, I need to do whatever I need to do to see a Title element appear in the Don't Include box. I have read that I can name different formatting instances of an element (i.e. Title) using a context label element. Nice. So, hopefully my only problem is that I just need to know how to get an element name itself to wherever it needs to be in order to show up in the 'Set Up Table of Contents' window/dialog box.

Would you know how to do this or if not, be able to point me to a resource that might help me?  

Answer
Jeff,

I've never seen this particular issue, but then I've not worked
much with Structured FM documents.

I looked through a bunch of resources to see if I could find any
reference to this exact problem.  I couldn't find any exact
matches, although I did find stuff about creating tables of contents
in structured documents.  For example, here:
http://help.adobe.com/en_US/FrameMaker/8.0/help.html?content=Chap12-TOC-Indexes_...

Anyway, to solve this problem, I think you will need to
add a context label on each Title element.  Then the Title
elements should all show up in the Set Up Table of Contents
dialog distinguished by their context labels.

If that doesn't work, then I'd try creating a new element
for headings, and copying the contents of each heading into them.
Try it with one or two first, to see if it works.

Sorry I can't help more...

...nz  

Add to this Answer    Ask a Question



  Rate this Answer
   Was this answer helpful?
Not at allDefinitely              
   12345  

     
About Us | Advertise on This Site | User Agreement | Privacy Policy | Help
Copyright  © 2008 About, Inc. About and About.com are registered trademarks of About, Inc. The About logo is a trademark of About, Inc. All rights reserved.