Adding Page Breaks
Adding Page Breaks
Hi, all!
I'm using MadCap Flare 2.5.2 to produce MS Word output. I'm single sourcing to also produce .chm output.
After I build my output and review the output, I see that the page breaks are in awkward locations. For example, step 4 will display at the end of one page and the picture that illustrates step 4 will display at the top of the next page.
When I manually insert page breaks in the output that I have built, everything looks good.
When I change the document and then build the output again, the page breaks that I had manually inserted are no longer in the newly built output.
How do I insert page breaks that stay in the document and are not removed each time that I build the output?
Thanks,
Fran
I'm using MadCap Flare 2.5.2 to produce MS Word output. I'm single sourcing to also produce .chm output.
After I build my output and review the output, I see that the page breaks are in awkward locations. For example, step 4 will display at the end of one page and the picture that illustrates step 4 will display at the top of the next page.
When I manually insert page breaks in the output that I have built, everything looks good.
When I change the document and then build the output again, the page breaks that I had manually inserted are no longer in the newly built output.
How do I insert page breaks that stay in the document and are not removed each time that I build the output?
Thanks,
Fran
-
KevinDAmery
- Propellus Maximus
- Posts: 1985
- Joined: Tue Jan 23, 2007 8:18 am
- Location: Darn, I knew I was around here somewhere...
Re: Adding Page Breaks
You would have to make the change in Flare, not Word. Whenever you build output, Flare over-writes the existing file with a new one--it isn't just adding new content to the output, it's completely replacing the file.
What you might want to do in the case you're describing is create a heading or paragraph class that uses the "keep with next" property (sorry, I don't remember the exact syntax from Flare's stylesheet editor, and I don't have it open at the moment). If you apply that class to the block before the image, it should force the page break to appear in a more rational location.
What you might want to do in the case you're describing is create a heading or paragraph class that uses the "keep with next" property (sorry, I don't remember the exact syntax from Flare's stylesheet editor, and I don't have it open at the moment). If you apply that class to the block before the image, it should force the page break to appear in a more rational location.
Until next time....

Kevin Amery
Certified MAD for Flare
Kevin Amery
Certified MAD for Flare
Re: Adding Page Breaks
Kevin,
Thanks for the info.
Fran
Thanks for the info.
Fran
-
Richard Ferrell
- Propellus Maximus
- Posts: 840
- Joined: Mon May 01, 2006 10:11 am
- Location: Inside California
Re: Adding Page Breaks
You may want to check your stylesheet also, and see if any your heading or styles have Page Break enabled in the Print Medium.
Richard Ferrell
Certified Madcap Trainer

Certified Madcap Trainer
Re: Adding Page Breaks
Kevin and Richard,
Thanks for your advice.
I'm still learning about stylesheets - I looked around in the Flare stylesheet section - I couldn't figure out where to set up the page break in print medium stylesheet.
Where would I start to set up this stylesheet?
Thanks,
Fran
Thanks for your advice.
I'm still learning about stylesheets - I looked around in the Flare stylesheet section - I couldn't figure out where to set up the page break in print medium stylesheet.
Where would I start to set up this stylesheet?
Thanks,
Fran
-
KevinDAmery
- Propellus Maximus
- Posts: 1985
- Joined: Tue Jan 23, 2007 8:18 am
- Location: Darn, I knew I was around here somewhere...
Re: Adding Page Breaks
They're in the PrintSupport section. You may have to change your view to Show: Property Groups in order to access that section. (BTW, I always use the Advanced view of the stylesheet editor--I find the simplified one doesn't give me enough options.)
Until next time....

Kevin Amery
Certified MAD for Flare
Kevin Amery
Certified MAD for Flare
-
5ynic
- Propeller Head
- Posts: 40
- Joined: Mon Aug 27, 2007 5:21 pm
- Location: brisbane, Australia
- Contact:
Re: Adding Page Breaks
I'm having the same issue (using Flare 3.1) - I have <h1> set to "page-break-before = always" in the Print Support section of the properties pane in the Stylesheet editor, but when I publish to word, the h1 is on the same page as the preceding content.
Any suggestions greatly appreciated!

Any suggestions greatly appreciated!
-- I hope this doesn't get appended to all my posts --
-
SteveS
- Senior Propellus Maximus
- Posts: 2090
- Joined: Tue Mar 07, 2006 5:06 pm
- Location: Adelaide, far side of the world ( 34°56'0.78\"S 138°46'44.28\"E).
- Contact:
Re: Adding Page Breaks
Have you set your target to use the stylesheet medium where you set you page break property?
Steve
Life's too short for bad coffee, bad chocolate, and bad red wine.
-
5ynic
- Propeller Head
- Posts: 40
- Joined: Mon Aug 27, 2007 5:21 pm
- Location: brisbane, Australia
- Contact:
Re: Adding Page Breaks
Unfortunately that wasn't it (The target has "Print" in the Medium drop-down on the Advanced tab).
Good call tho Steve... I didn't even realise the 2 things were linked, so it's not something I'd checked.
Now... Your excellent question got me thinking... So I went back into the Print Medium group in the stylesheet, and set it to something noticeable - Red Background, then I built again, and I'm still stuck, but I have an additional clue... the 1st instance of H1 in my word doc DOES get a page break before it, and also a red background - but all subsequent H1 elements do not.
Good call tho Steve... I didn't even realise the 2 things were linked, so it's not something I'd checked.
Now... Your excellent question got me thinking... So I went back into the Print Medium group in the stylesheet, and set it to something noticeable - Red Background, then I built again, and I'm still stuck, but I have an additional clue... the 1st instance of H1 in my word doc DOES get a page break before it, and also a red background - but all subsequent H1 elements do not.
-- I hope this doesn't get appended to all my posts --
-
wclass
- Propellus Maximus
- Posts: 1238
- Joined: Mon Feb 27, 2006 5:56 am
- Location: Melbourne, Australia
Re: Adding Page Breaks
The next thing I would check is the Printed Output tab on the target. In the Generated TOC section, have you got either "Use TOC depth ..." or "Inject headings ..." set? These flags, while handy, can change the heading levels in the output.
Margaret Hassall - Melbourne
-
5ynic
- Propeller Head
- Posts: 40
- Joined: Mon Aug 27, 2007 5:21 pm
- Location: brisbane, Australia
- Contact:
Re: Adding Page Breaks
Thanks SteveS and wclass, sorted now 
Steps it took to get Word page breaks working:
- Set the target I'm using for the print output to use the print medium (which is the stylesheet medium where I set the page break property)
- Uncheck the "Use TOC depth" checkbox In the Generated TOC section of the Printed Output tab on the target (so my H1 really is H1 in the output...)
These 2 steps gave me page breaks everywhere required except for between the title page and page ii.
For this I used the workaround suggested by SteveS here: http://forums.madcapsoftware.com/viewto ... =10&t=1991 :
- Create a new style for my TOC header, and set the new TOC header style to have "page-break-before=always" in the print support property group.

Steps it took to get Word page breaks working:
- Set the target I'm using for the print output to use the print medium (which is the stylesheet medium where I set the page break property)
- Uncheck the "Use TOC depth" checkbox In the Generated TOC section of the Printed Output tab on the target (so my H1 really is H1 in the output...)
These 2 steps gave me page breaks everywhere required except for between the title page and page ii.
For this I used the workaround suggested by SteveS here: http://forums.madcapsoftware.com/viewto ... =10&t=1991 :
- Create a new style for my TOC header, and set the new TOC header style to have "page-break-before=always" in the print support property group.
-- I hope this doesn't get appended to all my posts --