Author Topic: Open Office: Each line is a separate paragraph  (Read 387 times)

Offline Bernadette

  • Mary Garden
  • Hauptmann
  • ****
  • Posts: 9184
  • Thanked: 4593 times
  • Religion: Roman Catholic
Open Office: Each line is a separate paragraph
« on: October 15, 2018, 08:27:42 PM »
I converted a PDF to a .txt document to edit it, and now each line is somehow set as a separate paragraph. I know because I turned on "nonprinting characters" and it shows paragraph breaks at the beginning of each line. Line spacing is set to single, but since each line is a separate paragraph, it looks double spaced. The only way I've found to fix it is to manually go in and remove the spaces between each "paragraph." Tell me there's a faster way, please!  :-\
 

Offline Gardener

  • Drink the poison yourself.
  • St. Joseph's Workbench
  • Hauptmann
  • ****
  • Posts: 8330
  • Thanked: 5729 times
  • Religion: Catholic
Re: Open Office: Each line is a separate paragraph
« Reply #1 on: October 15, 2018, 09:01:12 PM »
"And what use are the victories on the battlefield if we are ourselves are defeated in our innermost personal selves?" - St. Maximilian Kolbe

Providence is a present mystery by which our hope is confirmed and our faith solidified, if we give not into despair or disbelief.
 

Offline Bernadette

  • Mary Garden
  • Hauptmann
  • ****
  • Posts: 9184
  • Thanked: 4593 times
  • Religion: Roman Catholic
Re: Open Office: Each line is a separate paragraph
« Reply #2 on: October 15, 2018, 09:29:47 PM »
I gave up and put it on my other computer, which runs Word. It's removing the paragraph breaks as we speak, thanks to an old thread and Lynne's help way back when.  :P
 
The following users thanked this post: Lynne

Offline Maximilian

  • Hauptmann
  • ****
  • Posts: 5032
  • Thanked: 2617 times
Re: Open Office: Each line is a separate paragraph
« Reply #3 on: October 15, 2018, 09:31:12 PM »
I converted a PDF to a .txt document to edit it, and now each line is somehow set as a separate paragraph. I know because I turned on "nonprinting characters" and it shows paragraph breaks at the beginning of each line. Line spacing is set to single, but since each line is a separate paragraph, it looks double spaced. The only way I've found to fix it is to manually go in and remove the spaces between each "paragraph." Tell me there's a faster way, please!  :-\

The paragraph returns are there in the PDF document. It's something that has driven me nuts many times. There's no magical way to remove them.

But there is an easier way than manually deleting each one.
1. Save the file as a Microsoft Word doc.
2. Do a "Find and Replace All"
3. Yes, you can put invisible characters in the "Find" box.

Unfortunately that will also delete the paragraph returns that you want between paragraphs. Putting those back in will only be 1/5 or even 1/10 the work of removing every one.

Rather than manually put them back in, however, there is probably some clever way to keep one paragraph return whenever there are 2 in a row. For example, before doing "Find and Replace All," first do a "Find and Replace All" for 2 consecutive paragraph returns, and replace them with some other special character. Then when you replace all the other paragraph returns, those will stay in place.
 
The following users thanked this post: Lynne, Daniel