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

KeepWithNext paragraph style

New Here ,
Aug 11, 2011 Aug 11, 2011

Hi,

I found instructions for creating a style in RoboHelp that allows me to tag text in RoboHelp and map that to a style in my template that places a page break before the tagged text. These page breaks translate into the printed document. Based off of these instructions, I also created a style called KeepWithNext. My goal in doing this was to ensure screenshots are not separated by a page break from the preceeding numbered steps they illustrate. I created the style in my template, and from the paragraph tab clicked the Keep with next check box to the style. However,this doesn't work predictably. I was able to get it to work; I know this because as I was testing, I discovered that I had created a huge block of text and images that could not be broken. One of the outputs I created streatched into the headers and footers of my printed output. I went back in and tried to separate my keep with next blocks from each other by a carriage return to which I applied the Normal style. I made sure that my numbered text still listed KeepWithNext as the applied style. This seems to have undone any good I did. Now I have images separated from the numbered text they're supposed to illustrate. It's odd to have an image appear at the top of a page, sometimes a turn away from the numbered step. Is there a way to tag an image in RoboHelp to ensure it stays on the same page as the text it illustrates?

Louley

767
Translate
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
New Here ,
Aug 11, 2011 Aug 11, 2011

I figured this out on my own. I am able to apply the KeepWithNext style to an image in RH. I simply ensure the cursor appears to the left of the image and apply the style. I can see when I output to a word document that the image and the numbered text are chunked into a box, indicated by a blue dotted line. The trick is to ensure that I insert a carriage return between these chunks to ensure I don't get a huge chunk of unbreakable information that would mess up the output.

Translate
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
Guest
Dec 21, 2011 Dec 21, 2011
LATEST

Hello Louley,

In case it's any help, I created a Macro in Word which applies the keep-with-next paragraph setting. Then I created a shortcut Alt+K (which isn't used for anything else that I can see, and the K reminds me that it's for Keep-with-next).

In use, I click on the image or paragraph that I want to keep-with-next, and hit Alt+K. Quick and easy. I've used this for about 12 years.

If I want to keep an image with the previous paragraph, I created another macro that searches for the next image, then it goes up a line to the previous paragraph, and then applies the keep-with-next rule.

Hope this is helpful.

Best regards, and Happy Christmas!

Philip

Translate
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