• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Unwanted page breaks in RH9

Explorer ,
Oct 15, 2012 Oct 15, 2012

Copy link to clipboard

Copied

I have an urgent problem that the client has just uncovered.

Our pages in RH9 consist of some buttons at the top in a one-row table, including one for Print this Page - javascript:window.print() - then a title in Heading 1 style, then another table containing the steps.

This particular client has very long, detailed instructions, so the table runs over one page.  The pages are printing out with a page break above and below the heading.  There is nothing in the Heading 1 style that would lead to this, and it doesn't show up in the preview, just in the published version.

I looked into the default setting of "page-break-inside: avoid;" which seems to be used in every row of the table.  Could this be the source of the problem?

Does anyone have any suggestions?  Please?  Please?

Views

1.3K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Oct 16, 2012 Oct 16, 2012

Copy link to clipboard

Copied

Where are you seeing that "page-break-inside: avoid;" setting? That looks like part of the javascript, it certainly is not any RoboHelp setting that I am familiar with.

Try a page without that script. If that prints OK, why not try using a toolbar button for Print? There is a script on my site in Snippets that will print the viewed page without this problem.


See www.grainge.org for RoboHelp and Authoring tips

@petergrainge

Help others by clicking Correct Answer if the question is answered. Found the answer elsewhere? Share it here. "Upvote" is for useful posts.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Oct 16, 2012 Oct 16, 2012

Copy link to clipboard

Copied

Hi Peter,

It's not part of the javascript - it's part of the table. It seems to be

repeated in every row.

Reading a Conflicts Report

s check is requested by

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Oct 16, 2012 Oct 16, 2012

Copy link to clipboard

Copied

Sorry but how does the heading "Reading a Conflicts Report help?

Are you replying by email and trying to include an image? Can't be done. You have to reply via the web to include images. What I would like to see is an image of the HTML where this problem is occurring.


See www.grainge.org for RoboHelp and Authoring tips

@petergrainge

Help others by clicking Correct Answer if the question is answered. Found the answer elsewhere? Share it here. "Upvote" is for useful posts.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Oct 16, 2012 Oct 16, 2012

Copy link to clipboard

Copied

I just included that to show where the heading fits into the page. A page

break inserts itself before and after the heading.

I tried removing the Print button, and using File Print, and the page

printed correctly. However, now I'm in a bind - the client expects to have

that button.

I'm going to try restyling the heading and see if that helps.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Oct 16, 2012 Oct 16, 2012

Copy link to clipboard

Copied

I think I've fixed it by changing the heading to another style and then

changing it back. When the document was imported from Word, it seems to

have carried page breaks with it. I've noticed that, when you import a Word

document, it carries some formatting with it that's very hard to get rid of.

Going out for a few minutes now - I'll let you know later if it works.

Thanks, as always, for the help, Peter.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Oct 16, 2012 Oct 16, 2012

Copy link to clipboard

Copied

Argh! You didn't mention the document source. Yes it can bring in unwanted garbage.

I wasn't suggesting your client uses File > Print. Rather that instead of putting a button on every page, you put one button on the toolbar. See http://www.grainge.org/pages/authoring/rh_tour/index.htm for an example.


See www.grainge.org for RoboHelp and Authoring tips

@petergrainge

Help others by clicking Correct Answer if the question is answered. Found the answer elsewhere? Share it here. "Upvote" is for useful posts.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Oct 16, 2012 Oct 16, 2012

Copy link to clipboard

Copied

Hi Peter,

I just used File > Print as a test. I really like your toolbar button, but

I can't find the script on your site. Can you point me to it?

THANK YOU!

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Oct 16, 2012 Oct 16, 2012

Copy link to clipboard

Copied

Item 3 at http://www.grainge.org/pages/snippets/snippets.htm#webhelp


See www.grainge.org for RoboHelp and Authoring tips

@petergrainge

Help others by clicking Correct Answer if the question is answered. Found the answer elsewhere? Share it here. "Upvote" is for useful posts.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Oct 16, 2012 Oct 16, 2012

Copy link to clipboard

Copied

Thanks, Peter. Sadly, it didn't work. It printed, but still with the page

breaks. It has to be in the table definition, but I've checked the sites

for other clients that have multi-page topics done the same way, and they're

fine.

I'll keep plugging.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Oct 16, 2012 Oct 16, 2012

Copy link to clipboard

Copied

The idea was to use the toolbar button instead of the one that is causing the problem. Until the latter is removed, you are going to have this problem.


See www.grainge.org for RoboHelp and Authoring tips

@petergrainge

Help others by clicking Correct Answer if the question is answered. Found the answer elsewhere? Share it here. "Upvote" is for useful posts.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Oct 16, 2012 Oct 16, 2012

Copy link to clipboard

Copied

Unfortunately, even with it removed, it still has the problem. I like the

toolbar button, though - I think I'll incorporate that in future.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Oct 16, 2012 Oct 16, 2012

Copy link to clipboard

Copied

LATEST

Can you create this problem in a new project with just one or two topics?

If you can, see the Contact page on my site.


See www.grainge.org for RoboHelp and Authoring tips

@petergrainge

Help others by clicking Correct Answer if the question is answered. Found the answer elsewhere? Share it here. "Upvote" is for useful posts.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
RoboHelp Documentation
Download Adobe RoboHelp