Updating TOC Wipes Formatting

Stuart Rogers srogers at phoenix-geophysics.com
Tue Aug 27 14:12:17 PDT 2013


On 2013-Aug-27 5:03 PM, Fred Ridder wrote:
> Performing an Update Book operation doesn't strip all formatting from 
> existing TOC entries, because one of the first things it does is 
> *delete* all TOC entries--all the paragraphs--so that it can rebuild 
> the TOC on the legitimate assumption that some of them have changed or 
> that the order or population of headings has changed. When it rebuilds 
> the TOC it will use the formatting that you saved as the TOC file's 
> paragraph catalog when you set up the formatting.
>
> But note that importing the paragraph formats from your chapter file 
> to your TOC file probably will not produce the desired result because 
> the TOC has its own set of unique formats. For example, your chapter 
> files may have Heading1 and Heading2 styles, but the TOC needs to have 
> Heading1TOC and Heading2TOC styles. If you do not have a paragraph 
> catalog that has all the appropriate *TOC styles, the paragraphs that 
> appear when Update Book regenerates the TOC will have default 
> formatting, and this may be what you are seeing.
>
> -Fred Ridder
>
> ------------------------------------------------------------------------
>

Or in other words, when you first generate a TOC, it will have a unique 
set of tags with names that all end in TOC -- one for each unique 
paragraph style that you included in your TOC setup.  It is these 
default tags that you must modify using the pgf designer to get the look 
that you want; then save the TOC in order to preserve the catalog.

Note that you also have to modify the TOC flow on the reference pages if 
you want to add tabs or apply character formatting, for example, by 
applying colour to just the Heading1TOC page numbers. Each unique pgf 
style in the TOC will have an exemplar entry in that flow, which you can 
modify.  Save and regenerate to see the effects of your changes.

HTH,

-- 
Stuart Rogers
Technical Communicator
Phoenix Geophysics Limited
3781 Victoria Park Avenue, Unit 3
Toronto, ON, Canada  M1W 3K5
+1 (416) 491-7340 x 325

http://www.phoenix-geophysics.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.frameusers.com/pipermail/framers-frameusers.com/attachments/20130827/10c51665/attachment.htm>


More information about the framers mailing list