( viewtopic.php?f=5&t=103471#p500630 )
What I'm trying to do is change the formatting of a book from paragraphs defined throughout by an extra line break following each paragraph, to one in which the paragraphs are defined by an indent and there is no extra empty line between all the extra paragraphs. I would like to do this mechanically so that I can control those places where I need the extra line break to stay there.
I originally wanted to do this with an overview of what I'm doing, and so asked how to do this with a simple find and replace of the paragraph character by the indent character.
Below is the answer I first got (and my question) which has been moved to this topic. What I can say about the following instructions is that using ^$ (a hat and a dollar sign), I was able to mark the empty line following each paragraph. However, I was not able to replace this empty line with a tab or indent, so each following paragraph would appear as an indented paragraph.
Post by A.S. Mon Nov 2, 2020 10:22 am
Whether I use Libre or Open Office, I want to find and replace double paragraph endings (2 line breaks) with one line break and a tab. I don't know these names in the attributes and I can no longer copy the line breaks with my mouse so I can simply insert it into the find and replace. I expect this question needs to be elsewhere.
If I replace with "<nothing, nada, empty>", it prints that out exactly, including the < > marks. If I replace it with nothing at all, it doesn't have anything as a replacement. If I replace it with <> it jumps halfway down the text.Post by Villeroy » Mon Nov 02, 2020 9:36 am
Yes, the extra question deserves another topic.
Anyway: menu:Edit>Find&Replace....
[More Options]
[x] Regular expressions
Search: ^$
Replace: <nothing, nada, empty>
[Replace All]
So I went back into Edit>Find & Replace> More Options> Regular Expressions > Format, and there's a tab there which describes Indents and Spacing.
If this whole change could be made with the Indent & Line Breaks, this might be easier.