Skip to main content
Known Participant
December 12, 2012
Answered

Page break in RH10

  • December 12, 2012
  • 9 replies
  • 1829 views

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 topic is closed to new replies. Start a new post to keep the conversation going.
    Correct answer Peter Grainge

    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.


    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).

    1. In a topic go to what you want to be on the next page.
    2. Put the cursor at the beginning of that line.
    3. In the style dropdown you will find "break" or whatever you called it.
    4. Select that.
    5. You will see the page break symbol above the line.


    See www.grainge.org for RoboHelp and Authoring tips

    @petergrainge

    9 replies

    Peter Grainge
    Community Expert
    Community Expert
    December 12, 2012

    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.

    Use the menu (bottom right) to mark the Best Answer or Highlight particularly useful replies. Found the answer elsewhere? Share it here.
    tanborjAuthor
    Known Participant
    December 13, 2012

    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.

    Peter Grainge
    Community Expert
    Community Expert
    December 13, 2012

    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

    @petergrainge

    Use the menu (bottom right) to mark the Best Answer or Highlight particularly useful replies. Found the answer elsewhere? Share it here.