[Solved] How to make single paragraph break look bad
-
- Posts: 4
- Joined: Wed Jul 28, 2021 11:18 am
[Solved] How to make single paragraph break look bad
Problem:
I need to be able to use both double paragraph breaks (^p^p) and single line breaks (^l), and I'm looking for a way to prevent myself from accidentally using single paragraph breaks (^p) (or at least make it obvious to myself when I've accidentally used one).
Solution attempts so far:
1. setting the paragraph spacing to -30% would solve this problem. Unfortunately LibreOffice Writer doesn't accept negative paragraph spacing.
2. setting the paragraph spacing to +50% would also solve this problem. However it makes the double paragraph break look ridiculous, and at present the problem isn't severe enough for me to prefer this solution to the status quo.
Reasons for problem:
I'm writing a document to export to FictionPress, where double paragraph breaks get interpreted as 'proper' paragraph breaks (shown by leaving a gap between paragraphs) and line breaks result in the occasionally-useful line-break-without-gap, but single paragraph breaks get completely ignored.
I need to be able to use both double paragraph breaks (^p^p) and single line breaks (^l), and I'm looking for a way to prevent myself from accidentally using single paragraph breaks (^p) (or at least make it obvious to myself when I've accidentally used one).
Solution attempts so far:
1. setting the paragraph spacing to -30% would solve this problem. Unfortunately LibreOffice Writer doesn't accept negative paragraph spacing.
2. setting the paragraph spacing to +50% would also solve this problem. However it makes the double paragraph break look ridiculous, and at present the problem isn't severe enough for me to prefer this solution to the status quo.
Reasons for problem:
I'm writing a document to export to FictionPress, where double paragraph breaks get interpreted as 'proper' paragraph breaks (shown by leaving a gap between paragraphs) and line breaks result in the occasionally-useful line-break-without-gap, but single paragraph breaks get completely ignored.
Last edited by petercordia on Thu Jul 29, 2021 10:31 am, edited 3 times in total.
LibreOffice 6.0.7.3 on Ubuntu 18.04.10
Re: How to make single paragraph break look bad
Styles are a central concept of this office suite. In this particular case you want to use paragraph styles.
FictionPress is not a file format.I'm writing a document to export to FictionPress,
Please, edit this topic's initial post and add "[Solved]" to the subject line if your problem has been solved.
Ubuntu 18.04 with LibreOffice 6.0, latest OpenOffice and LibreOffice
Ubuntu 18.04 with LibreOffice 6.0, latest OpenOffice and LibreOffice
Re: How to make single paragraph break look bad
I'm not sure what you mean by double and single paragraph breaks. You can see the paragraph markers and line breaks (and other non-printing characters) by turning on View | Non-printing characters or via Ctrl+F8.
I note your signature mentions OpenOffice with a version number that doesn't yet exist, but you talk about LibreOffice in your question. Perhaps you might consider updating your signature.
I note your signature mentions OpenOffice with a version number that doesn't yet exist, but you talk about LibreOffice in your question. Perhaps you might consider updating your signature.
Cheers
David
OS - Slackware 15 64 bit
Apache OpenOffice 4.1.15
LibreOffice 24.2.1.2; SlackBuild for 24.2.1 by Eric Hameleers
David
OS - Slackware 15 64 bit
Apache OpenOffice 4.1.15
LibreOffice 24.2.1.2; SlackBuild for 24.2.1 by Eric Hameleers
Re: How to make single paragraph break look bad
You could use single paragraph breaks and when you've finished do a Find/Replace to change them all to doubles
search for: $
Replace with:\n\n
Regular expressions option ticked
If you turn on view formatting marks you can see whether you have double or single paragraphs from the ¶ symbols
search for: $
Replace with:\n\n
Regular expressions option ticked
If you turn on view formatting marks you can see whether you have double or single paragraphs from the ¶ symbols
Windows 10, Openoffice 4.1.11, LibreOffice 7.4.0.3 (x64)
-
- Posts: 4
- Joined: Wed Jul 28, 2021 11:18 am
Re: How to make single paragraph break look bad
FictionPress is a website which uses it's own file format, which I haven't been able to find the name of.
With "double paragraph break" I mean 2 consecutive paragraph breaks, which you could denote as "\n\n" in regex, or "^p^p" in MSWord terms. It contrasts with the single paragraph break ("\n" or "^p") and the single line break (also "\n" in regex afaik, but "^l" in MSWord) which I type with shift-ENTER.
With "double paragraph break" I mean 2 consecutive paragraph breaks, which you could denote as "\n\n" in regex, or "^p^p" in MSWord terms. It contrasts with the single paragraph break ("\n" or "^p") and the single line break (also "\n" in regex afaik, but "^l" in MSWord) which I type with shift-ENTER.
LibreOffice 6.0.7.3 on Ubuntu 18.04.10
Re: How to make single paragraph break look bad
You could use a macro method so that when you press return two paragraph breaks are entered instead of one.
Windows 10, Openoffice 4.1.11, LibreOffice 7.4.0.3 (x64)
Re: How to make single paragraph break look bad
If FictionPress accepts odt or pdf or docx, working with paragraph styles is the way to go.
If FictionPress accepts some flavour of marked plain text, it would be essential to know what the rules are. Do they accept Markdown?
If FictionPress accepts some flavour of marked plain text, it would be essential to know what the rules are. Do they accept Markdown?
Please, edit this topic's initial post and add "[Solved]" to the subject line if your problem has been solved.
Ubuntu 18.04 with LibreOffice 6.0, latest OpenOffice and LibreOffice
Ubuntu 18.04 with LibreOffice 6.0, latest OpenOffice and LibreOffice
-
- Posts: 4
- Joined: Wed Jul 28, 2021 11:18 am
Re: How to make single paragraph break look bad
@JeJe
thanks, I might use one of your work-arounds if nothing better comes up.
@Villeroy
How could I use a paragraph style to make separating paragraphs with /n/n look good or natural, whilst making it look bad or unnatural when paragraphs are separated with /n ?
thanks, I might use one of your work-arounds if nothing better comes up.
@Villeroy
How could I use a paragraph style to make separating paragraphs with /n/n look good or natural, whilst making it look bad or unnatural when paragraphs are separated with /n ?
LibreOffice 6.0.7.3 on Ubuntu 18.04.10
Re: How to make single paragraph break look bad
Using 12pt text I get ...
LO 6.4.4.2, Windows 10 Home 64 bit
See the Writer Guide, the Writer FAQ, the Writer Tutorials and Writer for students.
Remember: Always save your Writer files as .odt files. - see here for the many reasons why.
See the Writer Guide, the Writer FAQ, the Writer Tutorials and Writer for students.
Remember: Always save your Writer files as .odt files. - see here for the many reasons why.
Re: How to make single paragraph break look bad
The best way is to use single paragraph marks; when document is finished, Find and Replace, in Find, enter $, in Replace enter \n\n, drop more options and check Regular expressions, press Replace All button.
Apache OpenOffice 4.1.15 on Xubuntu 22.04.4 LTS
-
- Posts: 310
- Joined: Sun Sep 06, 2020 8:27 am
Re: How to make single paragraph break look bad
As a paragraph-style can set the style of the following Paragraph you may use two of them.
The first "fiction" is set as before as the text-body, but
has no vertical space below and
defined "empty" as the next paragraph .
The other style "empty" you set up - as to JohnHas suggestion - so you paragraph spacing looks good for you.
But I suggest to add bolding and red colour to the text, so you see immediately, if you try to put Text in this area.
Then you define "fiction" as the next style to follow empty.
Now you can write as before,
get a red, bold warning, if you used only one Enter-Key,
and can even search for text in "empty" if necessary.
Also you could get rid of this unusual formatting anytime by replacing everything in "empty" with nothing.
If you write fiction you may not need to many headings, but you should define "empty" also to follow your headings, if I understood your system right.
J.
The first "fiction" is set as before as the text-body, but
has no vertical space below and
defined "empty" as the next paragraph .
The other style "empty" you set up - as to JohnHas suggestion - so you paragraph spacing looks good for you.
But I suggest to add bolding and red colour to the text, so you see immediately, if you try to put Text in this area.
Then you define "fiction" as the next style to follow empty.
Now you can write as before,
get a red, bold warning, if you used only one Enter-Key,
and can even search for text in "empty" if necessary.
Also you could get rid of this unusual formatting anytime by replacing everything in "empty" with nothing.
If you write fiction you may not need to many headings, but you should define "empty" also to follow your headings, if I understood your system right.
J.
OpenOffice 3.1 on Windows Vista
-
- Posts: 4
- Joined: Wed Jul 28, 2021 11:18 am
Re: How to make single paragraph break look bad
@Mountaineer, thanks for the explanation! Using paragraph styles in this manner does indeed solve my problem.
LibreOffice 6.0.7.3 on Ubuntu 18.04.10