J.R. No, there are other values for AggregateForward and AggregateBackward. Never and Always are also possible. There is one further possibility, though it makes sense only for certain styles. The final possibility is IfSameCategory. However, this makes sense only if you've also have one of the following two statements associated with a style: Category=Index Category=TOC It is also possible to write Category=None but then there isn't any sense to setting any aggregation to IfSameCategory. With this information, you've probably developed a pretty complete picture of these files, except that I'm not sure we've convered the Ignore keyword. I can get into that if you'd like. - Peter -----Original Message----- From: duxhelp-bounce@xxxxxxxxxxxxx [mailto:duxhelp-bounce@xxxxxxxxxxxxx] On Behalf Of Westmoreland, J. R. Sent: Friday, May 28, 2004 1:50 PM To: duxhelp@xxxxxxxxxxxxx Subject: [duxhelp] .mws file format question In the .mws file there is a line that says "AggregateForward" and "AggregateBackward" whose value is "IfSameName". Is that the only value that can be there? Can that line take a name of another style that you expect to be backward from this one? E.G., The document I have has a sequence that looks like: <Code> <more lines of Code style> <CodeInline> <CodeInlineTrailer> What I would like to do is something like this: User "Code" { MappedName = "CD-CBCDisplay" AggregateForward = IfSameName AggregateBackward = IfSameName } User "CodeInline" { MappedName = "CD-CBCDisplay" AggregateForward = "CodeInlineTrailer" AggregateBackward = "Code" } User "CodeInlineTrailer" { MappedName = "CD-CBCDisplay" } This would in effect be saying: I want some text in the <Code> style followed by text in the <CodeInline> followed by a <CodeInlineTrailer> occurrence. Peter, have I misunderstood something? Can this be done? Have I not understood the "Aggregate*" lines correctly? Thanks, J. R. ______________________________ J. R. Westmoreland PacifiCorp I/T Telecomm Data Communications Phone: (801) 220-4784 ---------------------------------------------------------------------------- -- This email is confidential and may be legally privileged. It is intended solely for the addressee. Access to this email by anyone else, unless expressly approved by the sender or an authorized addressee, is unauthorized. If you are not the intended recipient, any disclosure, copying, distribution or any action omitted or taken in reliance on it, is prohibited and may be unlawful. If you believe that you have received this email in error, please contact the sender, delete this e-mail and destroy all copies. ============================================================================ == * * * * This message is via list duxhelp at freelists.org. * To unsubscribe, send a blank message with * unsubscribe * as the subject to <duxhelp-request@xxxxxxxxxxxxx>. You may also * subscribe, unsubscribe, and set vacation mode and other subscription * options by visiting //www.freelists.org. The list archive * is also located there. * Duxbury Systems' web site is http://www.duxburysystems.com * * *