Formatting of multi-marker indexes...

Combs, Richard richard.combs at Polycom.com
Tue Feb 1 19:35:06 PST 2011


Scott Prentice wrote:
 
> If you create an index from multiple marker types, is there a way to
> apply different formatting to the resulting entries from each marker
> type? Like, is there a way to assign one reference page to be the
> formatting for the "Index" markers and another reference page to be the
> formatting for the "OtherIndex" markers?
> 
> I'm thinking the answer is no .. but wanted to check with y'all.

It's not clear what you want to format. But in any case, you don't assign reference pages to anything. If you create an index, a text box containing the IX flow is created on a reference page (which by default is also named IX). The contents of the IX flow specify how the index is generated, ordered, and formatted. 

The IndexIX paragraph, which typically contains "<$pagenum>," tells FM to include page-number references to markers of type Index. You can include another marker type in your index by creating a pgf like IndexIX, but named after the second marker type, e.g., OtherIndexIX. It can be formatted differently -- for instance, you could make it bold or italic -- but that formatting will be applied only to the page number. 

The Level1IX, Level2IX, etc., pgf formats are used for the index entries at those levels. So every 1st-level index entry will have the same pgf format, whether it's from an Index marker or an OtherIndex marker. 

If you want the text for an OtherIndex entry formatted differently, the solution is simple. But you have to do it in the marker text when you create the OtherIndex marker. You can include character formats, enclosed in angle brackets, in the marker text. For instance, let's say you have a char format named Other that formats the text the way you want the OtherIndex entries to look. To create an entry for "configuration," put this in the marker text: 

	<Other>configuration<Default Para Font>

These things, and a lot more that you can do, are reasonably well explained in the help/manual under "Tables of Contents and Indexes." 

HTH!

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








More information about the framers mailing list