Great, this worked, thanks! One page had a "custom" setting.

One problem down, 50 million to go...

Alison



-----Original Message-----
From: Combs, Richard [mailto:richard.co...@polycom.com] 
Sent: Friday, June 26, 2009 11:00 AM
To: Alison Craig; framers at lists.frameusers.com
Subject: RE: FM9 TOC Problems

Alison Craig wrote: 

> I'm having lots of difficulty setting up my TOC.
> 
> Item 1:
> 
> The logo in the Headers on the Master Pages, show up correctly in
Master
> Pages, but not in Body Pages.
> 
> Master Pages: Right Page, logo placed in top right corner. Left Page,
logo
> placed in top left corner.
> Body Pages: Pages 1, 2 and 3 all logos show up in the top right corner
> (incorrect for page 2). Page 4, logo shows up in top left corner
(correct).

Check what master page is applied to page 2 (Format > Page Layout >
Master Page Usage). Make sure it's Right/Left, not some Custom page (and
make sure the doc is set up as two-sided).

> Item 2:
> 
> Formatting TOC Styles:
> 
> My consultant started setting this up but the styles wouldn't
configure
> correctly. On Page "TOC1 (15 of 15)" in the Reference Pages, I have
edited
> the last 8 lines on the page - without touching the "stuff" in the
first 10
> lines:

The default page (and flow) name for the TOC spec is "TOC," not "TOC1."
That, plus the rather large number of ref pages, makes me suspect you've
got more than one TOC spec. 

BTW, if your consultant couldn't straighten out this mess and get your
TOC looking right in a couple of hours, you need a better consultant.


> 
>                <$paratext> <$pagenum>
>                <$paratext> <$pagenum>
>         <$paratext> <$pagenum>
>    <$PARATEXT> <$PAGENUM>
> <$PARATEXT> <$PAGENUM>
> openXmlElementId
> <$relfilename>:<$UniqueXmlElementId>
> <$RelativeXmlElementId>
> openObjectId <$relfilename>:<$ObjectType> <$ObjectId>
> <$paratext> <$pagenum>
> <$PARATEXT> <$PAGENUM>
> CHAPTER 1:
<$PARATEXT>..........................................<$PAGENUM>
>    <$PARANUM>
<$PARATEXT>.......................................<$PAGENUM>
>         <$paranum>
<$paratext>..................................<$pagenum>
>               <$paranum>
<$paratext>............................<$pagenum>
> <$CHAPNUM>:
<$PARATEXT>.........................................<$PAGENUM>
>    <$PARANUM>
<$PARATEXT>.......................................<$PAGENUM>
>         <$paranum>
<$paratext>..................................<$pagenum>
>               <$paranum>
<$paratext>............................<$pagenum>
> 
> Note: There is a tab between "<$PARANUM> <$PARATEXT>".

Ack! This is an unholy mess. The line beginning with "openObjectId" is
the ActiveTOC paragraph and should be the first thing in the TOC spec
flow. The paragraphs above that indicate that you've set up the TOC to
include pgfs from the docs in the book for which there was no
corresponding *TOC pgf in the TOC spec. 

Put the cursor in one of these lines and see what pgf format it is. They
all end in "TOC" and the preceding part is the name of the pgf format
for which it's used. For instance, the Head3TOC pgf is used for the TOC
entries that point to Head3 pgfs in your book. 

Since you have so many *TOC pgfs, I suspect some or all of the formatted
ones below the "openObjectId" line aren't being used. Maybe the heading
format names have changed since the TOC spec was set up. 

> These last 8 lines should translate to the following, but they don't:
> 
> CHAPTER 1: INTRODUCTION..........................................1-1
>    1.1 Second Chapter Level......................................1-1
>         1.1.1 Third Chapter Level................................1-2
>               1.1.1.1 Fourth Chapter Level.......................1-3
> Appendix A: Safety...............................................A-1
>    A.1 Second Appendix Level.....................................A-4
>         A.1.1 Third Appendix Level...............................A-5
>               A.1.1.1 Fourth Appendix Level......................A-5
> 
> The closest I come is the first line, but it isn't picking up the fact
that
> the page number should be "1-1", instead it just says "1". None of the
rest

Because the TOC spec specifies only <$pagenum> instead of
<$chapnum>-<$pagenum>. Since none of the TOC spec entries specify
<$chapnum>, it seems that this TOC spec was set up for continuous page
numbering, not folio (chapter-page) numbering. 

> of the lines even recognize the tabs, let alone the "tab with leader"
> before the page number, although the page numbers are there as are the
> indentations at the beginning of the relevant lines.

Because you haven't defined the *TOC pgf formats to have the correct
tabs and leaders. The pgfs at the bottom of the TOC spec seem to have
the tab and leader properly defined, which tends to confirm my earlier
suspicion that those formats aren't being used and the TOC spec wasn't
set up for the heading formats you're currently using. 

The problems you're having touch on several key areas that one needs to
understand to work effectively with FM -- pgf formatting, master page
layout and usage, document numbering settings, generated lists. I
strongly suggest that you get some training, work through the "Classroom
in a Book" or other tutorials, and/or spend a lot of quality time with
the user manual. 

HTH!
Richard


Richard G. Combs
Senior Technical Writer
Polycom, Inc.
richardDOTcombs AT polycomDOTcom
303-223-5111
------
rgcombs AT gmailDOTcom
303-777-0436
------






Reply via email to