When "not add space between paragraphs of the same style," also removes paragraph line spacing

I'm writing a master document in LO Writer. When I create a paragraph style for commands from a terminal, I select a 2mm spacing above and below the paragraph. Being lines of code, I select "not add space between paragraphs of the same style" to keep one aspect of cohesive paragraph, however, this also eliminates the line spacing for this style (which is consistent with the line spacing I use to other paragraphs) .

Is this expected behavior?

I think the paragraph line spacing is independent, and that the option "not add space between paragraphs of the same style," should only affect the added space above and below the paragraph.

cheers

Believe it is correct, just a little convoluted. Although I'm not sure if
the ODF is defined this way, but practically it works like this.

Paragraphs and Lines of Text (code) are distinct. To manipulate Lines
within a Paragraph container--use <Shift>+<Enter>, rather than paragraph
endings <Enter> to terminate a line.

Then the spacing makes sense...

For Paragraphs -- we use Spacing (above, below, don't space between same
style)

For Lines of Text -- we use Line Spacing (single, 1.5, double, fixed,
leading, proportional), they are not affected by the Spacing applied to
Paragraphs.

Can LO do a word count that updates and shows the number of words per page ?

Ta

Mal

Word count updates automatically whatever - if you highlight the text on a single page, the word count at the bottom of the window shows number of words on that page

HTH

Believe it is correct, just a little convoluted. Although I'm not sure if
the ODF is defined this way, but practically it works like this.

I do not think it's a ODF standard, should only be a proper behavior of LibreOffice.

Paragraphs and Lines of Text (code) are distinct. To manipulate Lines
within a Paragraph container--use <Shift>+<Enter>, rather than paragraph
endings <Enter> to terminate a line.

The best advice you can be given. Now the line spacing works well for such paragraph.

Then the spacing makes sense...

For Paragraphs -- we use Spacing (above, below, don't space between same
style)

For Lines of Text -- we use Line Spacing (single, 1.5, double, fixed,
leading, proportional), they are not affected by the Spacing applied to
Paragraphs.

That's the problem, because if they are affected (LibreOffice 5.0.1.2).

If I have a set of lines with 1.5 of line spacing, and apply the option, "Do not add space between paragraphs," the line spacing disappears.

Cheers

diaz.bastian wrote

That's the problem, because if they are affected (LibreOffice 5.0.1.2).

If I have a set of lines with 1.5 of line spacing, and apply the option,
"Do not add space between paragraphs," the line spacing disappears.

Hmm, by a "set of lines" do you mean paragrpahs? Or issues with the spacing
of lines within a single paragraph?

On 5.0.2 and a current master I don't see errant behavior if they are lines
within a paragraph. The Line Spacing is honored, and is retained. Changes
to the paragraph Spacing settings have no impact on the internal lines of a
paragraph.

In other words, the Spacing settings only apply to paragraph objects--not
the

Sorry, bad description - I meant I would like a word count in the footer
that counts the words on that page only

Ta

Mal

Thank you very much for your help. Since I solved my problem (problems with direct formatting).

cheers