Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!zaphod.mps.ohio-state.edu!wuarchive!psuvax1!rutgers!pyrnj!esquire!esquire.dpw.com From: baumgart@esquire.dpw.com (Steve Baumgarten) Newsgroups: comp.sys.mac.apps Subject: Re: 2 Nisus Questions Message-ID: <2850@esquire.dpw.com> Date: 27 Nov 90 00:58:53 GMT References: Sender: baumgart@DPW.COM Reply-To: baumgart@esquire.dpw.com (Steve Baumgarten) Distribution: comp Organization: Davis Polk & Wardwell Lines: 35 In-reply-to: hedstrom@sirius.UVic.CA (Brad Hedstrom) In article , hedstrom@sirius (Brad Hedstrom) writes: >2. I'm trying to convert my Word style sheets to Nisus style sheets >and rulers. There is one thing that I've not been able to solve. Word >has a paragraph format command called "Keep with Next Paragraph." I >find this extremely useful when dealing with section headings. Right >now (no, not WriteNow) Nisus does things like this: > > 1. Introduction >---------------------------------page break------------------------- > The subsequent paragraph ... > >I don't want to allow a page break between a section heading and the >next paragraph. I know how to do it on an individual basis with "Keep >on same page" but how can I incorporate it into my heading style? Nisus has a style called "Keep text on same page" which will do what you want. It's a little more flexible than Word's "Keep with next paragraph", since it also does double-duty as a style that provides widow and orphan control (in fact, one of the supplied macros goes through all your text and applies it to the first and last two lines of every paragraph). So you just select your heading and as many lines of the following paragraph as you feel should be kept with it and apply the style. Of course, where Nisus really shines is in its macros. It would be easy to write a macro that searched for all paragraphs with a "Heading" style, selected the paragraph and the following N lines of the next paragraph and applied the style throughout your document. -- Steve Baumgarten | "New York... when civilization falls apart, Davis Polk & Wardwell | remember, we were way ahead of you." baumgart@esquire.dpw.com | cmcl2!esquire!baumgart | - David Letterman