5 Replies Latest reply: Jul 14, 2012 11:49 AM by Peter Grainge RSS

    Printed Documentation loses page breaks

    jmwarren2012 Community Member

      Hello everyone,

       

      I'm not sure if this is a bug, but on all the linked word docs in my project RH is taking out the "page break before" code in the html.

       

      Is there a setting or a way to have RH retain page breaks from imported Word docs?

       

      Thanks!

       

      Jerry

        • 1. Re: Printed Documentation loses page breaks
          Peter Grainge ACP/MVPs

          Your heading is Printed Documentation but your question seems to be about linking to Word documents as a source of content.

           

          Also please always start threads with the version of RoboHelp you are using.

           

          Why would you want page breaks in the help? A topic is one page on a screen.

           


          See www.grainge.org for RoboHelp and Authoring tips

           

          @petergrainge

          • 2. Re: Printed Documentation loses page breaks
            jmwarren2012 Community Member

            My apologies for not having a more detailed description.

             

            When the html generated by Word 2010 is imported to RH9 while linking Word documents into RH9 the html for page breaks is changed to remove the page break. I can edit the code in the topic generated by the linked Word document to replace the page break. (not something I want to do in every topic generated by a linked Word document).

             

            The page break is needed so I can use the linked Word documents for the Online help, and printed documentation outputs in RH9. The online help looks fine, but the printed documentation throws off how the pages break leaving the printed documentation flawed. When I add the page break back in the html manually the online help still looks great, and the printed documentation breaks across pages the way it should.

             

            So my question is... How do I get RH9 to leave the code for the page breaks verbatim from the linked Word doc.

             

            I know RH9 is changing the code, because I can save the Word Doc as a Web Page, Filtered, and the code Word generates retains the page break code in html. Thus, RH9 is changing this code when linking the document.

             

            I hope this explains this a little better. I was short on time when I wrote the post.

             

            Thanks!

             

            Jerry

            • 3. Re: Printed Documentation loses page breaks
              Peter Grainge ACP/MVPs

              Sorry for having dropped the ball on this one. My first thought was why you would want printed documentation when you have a Word document that does what you want. On giving it some more thought I guess it is so that you can get the same appearance as the other help and get the content as part of the whole help.

               

              I will run a little test later but I very much doubt there is an answer to this other than submitting a feature request. Please follow this link.

               

              http://www.Adobe.com/cfusion/mmform/index.cfm?name=wishform&product=38

               

              Whilst I see your need, this is not something I have seen anyone else request. One thought is could you put a unique string in the Word document that would not appear elsewhere. After updating before generating, you then search and replace that word with the code for RoboHelp's hard page break and do not update again when generating. A bit clumsy but the only thing I can think of right now.

               

               


              See www.grainge.org for RoboHelp and Authoring tips

               

               

              @petergrainge

              • 4. Re: Printed Documentation loses page breaks
                Peter Grainge ACP/MVPs

                I think that idea would work.

                 

                Link the document and update.

                 

                Then search for your unique string and replace with the code below.

                 

                <br style="page-break-before: always;" />

                 

                Then look for the document in Project Manager and select Properties when you right click.

                 

                Select that document under File Update Settings.

                 

                When you generate the topics will not be updated. When that document needs updating, reverse the setting, update and repeat the steps.

                 

                Not ideal but not onerous.

                 


                See www.grainge.org for RoboHelp and Authoring tips

                 

                 

                @petergrainge

                • 5. Re: Printed Documentation loses page breaks
                  Peter Grainge ACP/MVPs

                  Try it on a copy of your project first!

                   


                  See www.grainge.org for RoboHelp and Authoring tips

                   

                   

                  @petergrainge