Random "Keep with next paragraph" not working

Hi,

I created an element under Script Settings for SLUG LINES that has the option box “keep with next paragraph” checked and it usually works fine when I compile to PDF.

However, in one particular instance, it is leaving the slug line alone at the bottom of the page (even though there is plenty of room for another line or two). Any suggestions on what it could be?

In “keep with next”, next litterally means “with the next one”. Not “next to”.
It is a paragraph to paragraph setting.

In this case, if your line is at the bottom of a page, that’s an orphan.
And you need to use “Prevent widows and orphans” for this. (Whatever the name is. I run the Windows version, we don’t have that function.)

If your line is actually a paragraph of its own, with Keep with next properly set, this could be the result of an abuse of the setting.
If a big chunk of paragraphs are told to keep with next, that chunk still needs to be split somehow, should it be bigger than what a page can hold.

It is a paragraph of its own. Example:

LIVING ROOM

Joe enters and sits on the couch.

In this case, the slug line is “LIVING ROOM” and should not be orphaned. I thought the keep with next setting handled this.

What do you mean by abusing the setting?

Too much of it for no reason. Untargeted use.

. . . . . . . . .

Is “LIVING ROOM” written in your editor, or is it the result of a compiler’s insertion ?

2 Likes

It’s all written in the editor. The paragraph that follows is actually four lines. It certainly looks like there is room for four lines after LIVING ROOM before the margin on the page in question.

Did you space it out by using a double return rather than space after ?
(That would be bad practice.)

Screen shot with “invisibles” showing would be useful. I am curious about the comment

2 Likes

Solved. See next reply.

Well, I’m not sure what I did, but after retyping the whole section, it works now, so problem solved. Thank you!

1 Like

Good good. It happens, with computers, sometimes.
(They fix themselves, go figure.)

2 Likes