Example

Assume that you have a TOC that contains:

ChapterTOC

heading1TOC

heading2TOC

heading3TOC

ChapterTOC does not have a page number, but all the rest do.

The default UMTOCFilter macro works fine for all but the FrameMaker ChapterTOC paragraph style. You can modify the macro to check for ChapterTOC and treat it differently:

$IF_EQUAL($FRAMESTYLENAME;, ChapterTOC,	$GET_GLOBAL(tocpara);,
$GET_GLOBAL(tocpara)["[ ][A-Z\-0-9xviXVI]+$",""];\
); 

Basically, this says:

IF the current FrameMaker paragraph tag is ChapterTOC

THEN use $GET_GLOBAL(tocpara);

ELSE use $GET_GLOBAL(tocpara)["[ ][A-Z\-0-9xviXVI]+$",""];


Quadralay Corporation
Voice: (512) 719-3399
Fax: (512) 719-3606
info@webworks.com