The TOC styles (TOC1-TOC5) process the FrameMaker table of contents entries and strip page numbers from those entries. The TOC1-5 styles are hierarchical; that is, you map your highest-level table of contents style to TOC1, your second-level table of contents style to TOC2, and so on. Table 1: shows how you might map styles.
FrameMaker style
|
WebWorks Publisher style
|
---|---|
TitleTOC
|
TOC1
|
Heading1TOC
|
TOC2
|
Heading2TOC
|
TOC3
|
Heading3TOC
|
TOC4
|
Heading4TOC
|
TOC5
|
Note: Every FrameMaker template is different, so it's impossible to predict exactly how your styles need to be mapped.
There is one macro that you may need to modify in rare cases. It is the UMTOCFilter user macro. Here's the definition of UMTOCFilter:
This macro is what strips the page number from your TOC entries. However, if your FrameMaker table of contents includes entries without page numbers, the last word in the paragraph is stripped (because there's no page number to be stripped). If this happens, you'll need to modify UMTOCFilter to work with the TOC entries that don't include page numbers. For example, you can modify UMTOCFilter so that it treats your chapter titles differently, which is accomplished by checking the current FrameMaker style before proceeding.
To adjust TOC formats' output, follow these steps:
$GET_GLOBAL(tocpara)["[ ][A-Z\-0-9xviXVI]+$",""];
-is displayed as grayed-out text.