[SOLVED] Remove paragraph formatting

Discuss the word processor
Post Reply
Sunshine
Posts: 19
Joined: Mon Sep 15, 2008 9:26 am

[SOLVED] Remove paragraph formatting

Post by Sunshine »

Hello, I wrote a book manuscript in e-book format, i.e., with hard returns and a space between paragraphs. I'm reformatting the book in paragraph style. I am unable to remove these spaces. If I hit Backspace, the next paragraph jumps up to join the one previous. I then have to Tab several times to move the first line to the right, and down one line.

How can I remove these spaces? I've repeatedly selected a page at a time, then chosen Single Line as paragraph format. Nothing budges.

Am I doomed to reformat a 400 page book manually?
Last edited by RoryOF on Thu Sep 05, 2013 12:15 pm, edited 3 times in total.
Reason: Restored original title for better searchability
OOo 2.0.X on Ms Windows XP
User avatar
RoryOF
Moderator
Posts: 34586
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: Remove paragraph formatting

Post by RoryOF »

Change the setting in your default paragraph style. /Format /Styles and Formatting, Press first Icon from lelft, right click on Default, lect Modify, and change the Spacing: Above paragraph and Spacing: Below paragraph settings on the Indents and Spacing tab.
 Edit: Before doing any drastic reformatting, especially if you are not familiar with the process you are using, make a backup copy of your file so that you can revert to it in case of disaster, 
Apache OpenOffice 4.1.15 on Xubuntu 22.04.4 LTS
Bill
Volunteer
Posts: 8932
Joined: Sat Nov 24, 2007 6:48 am

Re: Remove paragraph formatting

Post by Bill »

Sunshine wrote:Hello, I wrote a book manuscript in e-book format, i.e., with hard returns and a space between paragraphs.
How did you add the "space between paragraphs"? I can think of several ways this could have been done.
AOO 4.1.14 on Ubuntu MATE 22.04
Sunshine
Posts: 19
Joined: Mon Sep 15, 2008 9:26 am

Re: Remove paragraph formatting

Post by Sunshine »

Hi Rory and Bill,

Changing the spacing above and below does nothing.

I added the space between by hitting Enter.

Thanks!
OOo 2.0.X on Ms Windows XP
User avatar
RoryOF
Moderator
Posts: 34586
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: Remove paragraph formatting

Post by RoryOF »

If you had used Styles correctly this would be a trivial task. Turn on /View /Non-printing characters (a toggle command - same command turns it off) to see what is causing your problem.
Apache OpenOffice 4.1.15 on Xubuntu 22.04.4 LTS
Sunshine
Posts: 19
Joined: Mon Sep 15, 2008 9:26 am

Re: Remove paragraph formatting

Post by Sunshine »

Were that I had a time machine to return and format correctly! It would also have saved me a lot of time.

The Paragraph Marker appeared after and before each paragraph, but the troubling space between remains blank, unknowable and untractable by any means so far, other than manual backspacing and tabbing.

At this rate, I will have my book reformatted by 2016.
OOo 2.0.X on Ms Windows XP
Bill
Volunteer
Posts: 8932
Joined: Sat Nov 24, 2007 6:48 am

Re: Remove paragraph formatting

Post by Bill »

Sunshine wrote:Were that I had a time machine to return and format correctly! It would also have saved me a lot of time.

The Paragraph Marker appeared after and before each paragraph, but the troubling space between remains blank, unknowable and untractable by any means so far, other than manual backspacing and tabbing.
If backspacing and tabbing removes the extra space between paragraphs, it means that the space comes from the "Spacing > Above paragraph" and "Spacing > Below paragraph" settings. Changing those settings to 0 will remove the extra space between paragraphs. Backspacing then tabbing to move the line turns two paragraphs into one paragraph which eliminates the effect of the spacing settings where the backspace and tabs were inserted. You shouldn't change the spacing using that method. There is a limit to the number of characters that one paragraph can contain.

The line spacing setting changes the spacing between ALL lines. It can not be used to change spacing between paragraphs.

You can use the ^$ regular expression in Find & Replace to remove "space" (empty paragraphs) which was inserted by pressing the Enter key.
AOO 4.1.14 on Ubuntu MATE 22.04
Sunshine
Posts: 19
Joined: Mon Sep 15, 2008 9:26 am

Re: Remove paragraph formatting

Post by Sunshine »

Bill, the settings are at 0 in spacing before and after. It did nothing. Would you please explain your last sentence? It looks like Greek to me.
OOo 2.0.X on Ms Windows XP
Bill
Volunteer
Posts: 8932
Joined: Sat Nov 24, 2007 6:48 am

Re: Remove paragraph formatting

Post by Bill »

Please post a sample file for us to look at.

Look up "regular expressions" in Help.
AOO 4.1.14 on Ubuntu MATE 22.04
User avatar
RoryOF
Moderator
Posts: 34586
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: Remove paragraph formatting

Post by RoryOF »

A sample file of a few paragraphs will help sort out your problem.

Given the situation of a file which is composed of individual lines, each terminated with a paragraph mark (each line is actually a paragraph in OpenOffice terms) and each block of text (which the mind is reading as a paragraph) separated by a blank line from the next block, it is trivially simple to convert this into continuous text using styles, but until we handle an actual file sample it would be dangerous to give any instructions as these could severely damage the wrong sort of file .

The scenario I outline above is typical of scanned books downloaded in txt format.
Apache OpenOffice 4.1.15 on Xubuntu 22.04.4 LTS
Sunshine
Posts: 19
Joined: Mon Sep 15, 2008 9:26 am

Re: Remove paragraph formatting

Post by Sunshine »

Thanks so much. Here is a copied and pasted sample from the book.
Attachments
Sample Ukrainian Chicken Soup.odt
(23.78 KiB) Downloaded 161 times
OOo 2.0.X on Ms Windows XP
User avatar
RoryOF
Moderator
Posts: 34586
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: Remove paragraph formatting

Post by RoryOF »

Ctrl A to select all text. /Format /Paragraph, select Indents and Spacing tab. Set Spacing Above paragraph and Spacing Below paragraph to 0 in both cases.

The individual paragraph style (default) is set to 0 in both cases and appears to have direct formatting of a 6pt space below set. Ctrl A, Ctrl M would also remove this, but might also remove other desired formatting (i.e., it would do too much)
Apache OpenOffice 4.1.15 on Xubuntu 22.04.4 LTS
Bill
Volunteer
Posts: 8932
Joined: Sat Nov 24, 2007 6:48 am

Re: Remove paragraph formatting

Post by Bill »

RoryOF wrote:Ctrl A to select all text. /Format /Paragraph, select Indents and Spacing tab. Set Spacing Above paragraph and Spacing Below paragraph to 0 in both cases.
I get the same results here. The only empty paragraph is the one below the title.
AOO 4.1.14 on Ubuntu MATE 22.04
Sunshine
Posts: 19
Joined: Mon Sep 15, 2008 9:26 am

SOLVED THANK GOD

Post by Sunshine »

YES!!!!!

You guys are great. Thanks so much. The book may emerge this year!
OOo 2.0.X on Ms Windows XP
jrkrideau
Volunteer
Posts: 3816
Joined: Sun Dec 30, 2007 10:00 pm
Location: Kingston Ontario Canada

Re: Remove paragraph formatting

Post by jrkrideau »

Sunshine wrote:Thanks so much. Here is a copied and pasted sample from the book.
Looks good. I would not have thought of putting in the turnip. Thanks.
LibreOffice 7.3.7. 2; Ubuntu 22.04
User avatar
acknak
Moderator
Posts: 22756
Joined: Mon Oct 08, 2007 1:25 am
Location: USA:NJ:E3

Re: [SOLVED] Remove paragraph formatting

Post by acknak »

Yes! Love the recipe--made me laugh, but the best advice.

Good luck with your project.
AOO4/LO5 • Linux • Fedora 23
Sunshine
Posts: 19
Joined: Mon Sep 15, 2008 9:26 am

Re: [SOLVED] Remove paragraph formatting

Post by Sunshine »

Thanks for the compliments! I spent many years collecting stories from immigrants, including my family. If you'd like to see the ebook, it's here: http://www.ukrainiansoulfood.ca

Along with sound recordings in the narrator's voice.

I'm really looking forward to publishing in hard copy.
OOo 2.0.X on Ms Windows XP
Post Reply