Copy link to clipboard
Copied
Hi,
I am trying to insert page break to some of my topics so they would start to a new page in printed documentation, but page break doesn't seem to work. I wonder why and what's the workaround to solve this issue, if any?
For example:
Within a topic, I have:
Heading 1
Heading 2
I wanted Heading 2 to be in the next page in printed documentation. Is that possible at all?
Thanks!
This was a variation on a method that I sent tanborj and it was later found not to be entirely satisfactory. I have since sent this solution that provides an easy alternative to the method in RoboHelp which has a bug in it.
Open your CSS in a text editor. Add this
.break { page-break-before: always; }
(You can change the name of the first instance of "break" to anything you like but no spaces).
Copy link to clipboard
Copied
I believe it is covered in RoboHelp Tour for RoboHelp 9 on my site.
It was designed for printing topics in online help rather than printed docs. Think it does work there also though.
Check my site. Post back if not resolved. I will look in morning. Late here now.
Copy link to clipboard
Copied
Thanks, Peter.
It works but there's a little adjustment on the next page when I insert a page break.
For example, if I have two headings:
About page break <page break>
Using page break
The Using page break heading will go to the next page, but it would go a little lower in the page instead going on top of the page. See screenshot below.
If I insert a page break like this:
About page break
<page break>Using page break
...it just wouldn't work.
Copy link to clipboard
Copied
There is a macro on my site that was designed for a similar problem.
http://www.grainge.org/pages/authoring/word/word_macros.htm
Not sure if it will help here but if it doesn't you can close the document without saving.
See www.grainge.org for RoboHelp and Authoring tips
Copy link to clipboard
Copied
Didn't work
Copy link to clipboard
Copied
Recreate that in a small demo project. See the Contact page on my site and send the project as instructed there. Do make sure you include a link to this thread and please do not email the project direct.
See www.grainge.org for RoboHelp and Authoring tips
Copy link to clipboard
Copied
Project sent.
Copy link to clipboard
Copied
Found a solution (and so simple, really. Why I haven’t thought of that at the very beginning). Good grief!
When page break is inserted at the end of the paragraph like this:
The html code will be like this:
What I did is I remove the page break tag and put it at the end of the paragraph like this:
…and that solves the problem.
it's just a painful solution though especially when you have hundreds of pages that you have to do it manually.
Copy link to clipboard
Copied
This was a variation on a method that I sent tanborj and it was later found not to be entirely satisfactory. I have since sent this solution that provides an easy alternative to the method in RoboHelp which has a bug in it.
Open your CSS in a text editor. Add this
.break { page-break-before: always; }
(You can change the name of the first instance of "break" to anything you like but no spaces).
See www.grainge.org for RoboHelp and Authoring tips
Copy link to clipboard
Copied
It works both for both printed and online help. When I say online help, that means that the appearance on online help is perfectly fine. This solves the issue. Thank you so much, Peter. You're really helpful