Skip to main content
Participating Frequently
February 25, 2010
Question

FM TOC reference page generation

  • February 25, 2010
  • 3 replies
  • 1385 views

Is there a way to force FM to use a document's modified TOC reference page instead of it generating a second one when creating a separate TOC file?

This topic has been closed for replies.

3 replies

Participating Frequently
February 25, 2010

I modified the TOC reference page of the document I completed as follows:

openXmlElementId <$relfilename>:<$UniqueXmlElementId> <$RelativeXmlElementId>

openObjectId <$relfilename>:<$ObjectType> <$ObjectId>

<$elemtextonly>

       <$paranum>\t<$elemtextonly> ......................................................................<$pagenum>

            <$paranum>\t<$elemtextonly> .................................................................<$pagenum>

                    <$paranum>\t<$elemtextonly> .........................................................<$pagenum>

                    <$paranum>\t<$elemtextonly> .........................................................<$pagenum>

Each of these lines is formatted with its own Paragraph Tag (ie. Pgblk()TOC, Task()TOC, etc) which are Tahoma, 10pt.

When I generate a standalone TOC clicking [Special] >Table of Contents... > [Yes] (Do you want to creat a standalone TOC for this doc?), the new standalone TOC will not look like I expect and in the reference pages and I will have a second TOC ref page named "TOC1" with the following code:

<$elemtextonly> <$pagenum>

openXmlElementId <$relfilename>:<$UniqueXmlElementId> <$RelativeXmlElementId>

openObjectId <$relfilename>:<$ObjectType> <$ObjectId>

<$elemtextonly> <$pagenum>

<$elemtextonly> <$pagenum>

<$elemtextonly> <$pagenum>

<$elemtextonly> <$pagenum>

Each of these lines are in default Times New Roman font, 12pt and seems to be what FM uses to generate the TOC instead of my modified reference page from the original doc.

Inspiring
February 26, 2010

I do not know the answer to your specific question about the two TOCs, but a workaround would be to format the second TOC to match the first one. Then Frame can use whichever it likes...and hope it does not create a third TOC.

Van

Inspiring
February 25, 2010

Wes, could you go into more detail about your situation?

In the plain vanilla scenario, the TOC would be generated by the TOC's Reference Page setup.

But apparently that's not hapening in your case. This may happen when a second TOC is added to a book, or you make mods to the Ref Page that aren't supported.

But you didn't provide a lot of detail, so it's hard to trouble-shoot.

Art

Arnis Gubins
Inspiring
February 25, 2010

FM uses the content of the *first* flow labelled "TOC" on the  Reference pages of the TOC file (not the source files). The Reference page name is only for convenience.