Page 1 of 1

Page breaks for chapters.

Posted: 2014-11-07 14:08:35
by loulesko
I don't insert page breaks while I'm writing. For me it's just one more thing to think about while editing text and moving things around. But when I'm done, this macro inserts a page break and three carraiage returns before all Heading 1 styles (which is assumed to be your chapter titles) except for the first one which only get the carraiage returns so the piece is formatted like a manuscript. Your Heading 1 needs to be named "Heading 1" which is the default for NWP. The macro also gets rid of dangling carriage returns at the end of chapters.