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

Need to remove thousands of Empty Paragraphs

New Here ,
Aug 17, 2009 Aug 17, 2009

I have imported hundreds of pages of Word docs into FrameMaker 7, but the problem is the Word user used carriage returns all over the place. Thus, I have thousands of blank lines with empty paragraphs. Is there a way to remove these empty paragraphs all at once rather than line by line as I've been doing?

1.8K
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

correct answers 1 Correct answer

Enthusiast , Aug 17, 2009 Aug 17, 2009

Sure.

Search for \p\p and replace with nothing to catch two returns and delete them.

You may want to vary the number of /p in the find field -- if you have a lot, increase the number to 5, 6, or so. Then run the S&R over again.

And do it at the book level.

When you get near the end of the cycle of deletions, don't go to far with Replace All, because you can merge paragraphs if you're not caregul. So go to a manual mode to finish up.

Art

Translate
LEGEND ,
Aug 17, 2009 Aug 17, 2009

Use the Find/Change to replace the empty paragraphs "\P\p"  dialogue box symbola (without quotes) with the nothing, where \P means the start of a paragraph and \p means the end of a paragraph.

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
Enthusiast ,
Aug 17, 2009 Aug 17, 2009

Sure.

Search for \p\p and replace with nothing to catch two returns and delete them.

You may want to vary the number of /p in the find field -- if you have a lot, increase the number to 5, 6, or so. Then run the S&R over again.

And do it at the book level.

When you get near the end of the cycle of deletions, don't go to far with Replace All, because you can merge paragraphs if you're not caregul. So go to a manual mode to finish up.

Art

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 17, 2009 Aug 17, 2009
LATEST

Arnis, Art...Thanks so much. Worked perfectly. I feel rather daft for not having thought of that myself, but such is life.

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