9 Replies Latest reply: Sep 2, 2014 2:54 AM by Willam van Weelden RSS

    Is there a "Keep with Next" feature in RoboHelp?

    oceanbreeze Community Member

      I have RoboHelp 10.  The page break before or after is not what I need because I don't want a page break if the text is in the middle of the page.  I just want a low-level heading to stay with the following paragraph if it is at the bottom of a page.  I don't want to use one of the official "Heading 4", 5, or 6 headings because in this document I need to have different indentations.

      Thanks.

        • 1. Re: Is there a "Keep with Next" feature in RoboHelp?
          Captiv8r CommunityMVP

          Hi there

           

          Reading between the lines here, I'm guessing you are referring to creating printed documentation?

           

          If so, I'll move this thread to that forum category.

           

          Cheers... Rick

          • 2. Re: Is there a "Keep with Next" feature in RoboHelp?
            oceanbreeze Community Member

            Yes, I am referring to printed doc. I should have put that in my post. If you would please move it I would really appreciate it. Thanks!!!

             

            Diane Heald

            Sent from my iPhone

            • 3. Re: Is there a "Keep with Next" feature in RoboHelp?
              Peter Grainge CommunityMVP

              Sorry but there is no equivalent in the HTML but when you send the content to Word it is different. If you map to a Word template and in that you have set up Keep with Next, then it should work. I haven't tested this but I'm reasonably confident it will be OK.

               

              If you are not familiar with mapping to a template, see Printed Documentation on my site.

               


              See www.grainge.org for RoboHelp and Authoring tips

               

               

              @petergrainge

              • 4. Re: Is there a "Keep with Next" feature in RoboHelp?
                oceanbreeze Community Member

                Peter,

                Thank you for your help.  That worked great.  I created a style in RoboHelp in the HTML editor called "KeepWithNext", but of course it did not have an attribute that said for it to actually keep with next in printed documentation.  Then I modified my template that I use for printed documentation and added a "KeepWithNext" style, but this time since it was a Microsoft Word template, I could specify the option of "Keep With Next".  I then specified that template when building my printed documentation.  The two styles automatically mapped to each other.  The printed documentation, Word doc, looked great and the Keep With Next function worked great.

                 

                Thanks!!!  This will save me many hours of looking for a line at the bottom of the page that should be with the next page.  Of course if you use Heading 1, Heading 2, etc., they automatically KeepWithNext, but for some minor headings, I don't want to use one of those standard Heading styles.

                 

                Thank you,

                 

                Diane

                • 5. Re: Is there a "Keep with Next" feature in RoboHelp?
                  Willam van Weelden CommunityMVP

                  I'm sorry Peter, but there is a page bread property in CSS (though you will have to add it to the CSS manually). Check it out: CSS Page-break-after Property

                   

                  This property obviously only applies to printed output. (When you print a web page. Not to be confused with the Printed Documentation SSL.)

                   

                  Kind regards,

                   

                  Willam

                  • 6. Re: Is there a "Keep with Next" feature in RoboHelp?
                    Peter Grainge CommunityMVP

                    Willam. Page Break and Keep with Next are not the same thing. If the poster adds a page break anywhere, that Page Break will always be in the same place and it does work if they print the page from the webhelp, as well as carrying through to printed documentation.

                     

                    The problem with page break is it will always be where the author puts it so they have to test it after adding content before it. Otherwise they will have some very odd printing. That scenario will also carry through to Printed Documentation where the problem will be the same issue but at a different point because of the difference in how much fits on the page.

                     

                    Keep with Next is strictly on the Word side. The logic of that is if paragraph A has that property, then when paragraph B would otherwise be on the next page, Word will keep it with the next paragraph and both will be on the same page. Typically you only use it with heading styles.

                     

                    Keep with Next is sensitive to paper size as all it is concerned with is that the two paragraphs are on the same page, be that at the bottom or the top. Compared with that, Page Break is a blunt tool.

                     


                    See www.grainge.org for RoboHelp and Authoring tips

                     

                     

                    @petergrainge

                    • 7. Re: Is there a "Keep with Next" feature in RoboHelp?
                      Willam van Weelden CommunityMVP

                      You're, of course, right about the difference. But in CSS, the difference is smaller. If you set page-break: avoid; you forbid the browser from making a page break directly after the element, making is very similar to keep with next. You can also use it to force a page break as you would in Word. In CSS, it's one property doing both things. But it won't be copied over to Printed Documentation SSL.

                       

                      Kind regards,

                       

                      Willam

                      • 8. Re: Re: Is there a "Keep with Next" feature in RoboHelp?
                        Peter Grainge CommunityMVP

                        So you would add page-break: avoid; to the heading definition, correct?

                         


                        See www.grainge.org for RoboHelp and Authoring tips

                         

                         

                        @petergrainge

                        • 9. Re: Re: Is there a "Keep with Next" feature in RoboHelp?
                          Willam van Weelden CommunityMVP

                          Precisely. That will keep it with the next content. (If possible. I you have a paragraph of exactly 1A4 that may not break over a page, there may still be a page break, same as in Word.)