Skip to main content
Simon Lucas
Known Participant
July 8, 2020
Answered

Automatically remove leading (empty) lines at top of page

  • July 8, 2020
  • 7 replies
  • 6173 views

Some of my client's paragraphs have double carriage returns creating spaces between them. They indicate a new section in the narrative.

 

How can I have InDesign ignore an empty line whenever a paragraph is at the top of a new page? So the paragrph lines up with the top of the page frame.

 

NB. I realise that I could a special paragraph style on the preceding paragraph with that extra bottom space built-in, but that seems quite laborious if there is an automatic way for ID to handle this.

 

Thank-you.

This topic has been closed for replies.
Correct answer vladan saveljic

you can take a look here about paragraph spacing

https://helpx.adobe.com/uk/indesign/using/formatting-paragraphs.html

if you need further informations about paragraph spacing just ask

some of us will give you precise instructions

7 replies

New Participant
January 8, 2024

Hellaw, Have you found a solution? I want the same thing.
I dont want to delete the blank lines, i just want them to be ignored when the blank line is the first line on a page or column

Rishabh_Tiwari
Community Manager
Community Manager
January 9, 2024

Hi,

 

Thank you for reaching out. Have you tried the suggestions shared in this discussion? Please try that and let us know if you still need assistance.

 

Thanks

Rishabh

bernardnovet
Participating Frequently
April 15, 2022

It is a real problem with InDesign. As a writer, I want sometimes no space between paragraphs, sometimes one extra space, sometimes two... to pause the reading, or signal some distancing between the two texts. Probably this is due to my rythmic habit from being a filmmaker.

 

What I would like is being able - whatever the spacing I chose after a paragraph - to avoid empty lines at the top of next page. Turning the page is enough of a distance.

 

Is there a function for this ?

jmlevy
Community Expert
Community Expert
April 15, 2022

Of, course: if you use the “space before” feature instead of using extra paragraph returns, you will avoid this.

Seeing you name, I assume that your mother tongue is French. You can post in French if you wish. (and I will reply in French).

bernardnovet
Participating Frequently
April 15, 2022

Hello and thanks for the answer. As an exercice for me, I'll go on in english 😉 But yes, I usually speak french.

 

What I assume from your answer is that I should format different paragraph styles depending on the spacing I want before the paragraph. (ie   NORMAL WITH 1 SPACE - NORMAL WITH 2 SPACES...) And then, I could adjust the settings so that this spacing is void at the top of a page ?

 

Not sure to understand completely your answer... 

Barb Binder
Community Expert
Community Expert
July 8, 2020

with each layout change the line returns may need to be put back in.

See #1 in this list: https://www.thebookdesigner.com/2011/03/4-top-book-formatting-mistakes-to-avoid/.

 

I work primarily in long document publishing. In that environment, every extra click adds up, so I am micro-focused on streamlining my workflow. The first thing I do when I receive a document from a client is run a series of find/change queries to clean up the mess, like the extra returns, spaces, etc. Then I design paragraph styles that control the spacing between paragraphs and force top-level heads to the top of the next pages, automatically. This approach allows the document to reflow after edits. I won't do anything that requires manual updates after edits. Those minutes can add up to lost weekends.

 

~Barb

~Barb at Rocky Mountain Training
Simon Lucas
Known Participant
July 8, 2020

Wise words. Thank-you.

Gusgsm
Inspiring
July 8, 2020

But, if the client uses the double carriage return consistently to indicate a new section, you might want to change that double carriage (or triple or whatever quantity) for a jump to new column character or a jump to new frame or to new page (depending on the format), wouldn't you?

Always looking to avoid extra hand work, of course.

vladan saveljic
Inspiring
July 8, 2020

Hi Simon, as you can see in my short video above, replacing double return with "space after" the spacing between paragraphs never change.
The space "disappears" only if at the top of the page (as on the second page in my video)

Simon Lucas
Known Participant
July 8, 2020

Vlad. Thank-you. I don't think I quite understood what you were saying. It sounds good and I will try that first.

vladan saveljic
vladan saveljicCorrect answer
Inspiring
July 8, 2020

you can take a look here about paragraph spacing

https://helpx.adobe.com/uk/indesign/using/formatting-paragraphs.html

if you need further informations about paragraph spacing just ask

some of us will give you precise instructions

Barb Binder
Community Expert
Community Expert
July 8, 2020

Or, just use the Query that ships with InDesign in Edit > Find/Change: 

 

 

This will remove all of the extra returns, of course, but spacing should be handled with InDesign spacing and keep commands, and not with extra ¶s.

 

~Barb 

~Barb at Rocky Mountain Training
Mike Witherell
Community Expert
Community Expert
July 8, 2020

Hi Barb!

I was going to recommend the built-in script named FindChangeByList.jsx, which does a more thorough job than the single pre-set query you cited above. But when I looked at it in a text editor to see if it matched your GREP query (~b~b+), I noticed that the whole series of GREP searches within it was written incorrectly. That means the built-in FindChangeByList.jsx will actually fail to do a complete cleanup. It won't give any summary indication of what it did or did not do. My re-written version on my website works more reliably, and also will protect existing paragraph styles. It also does roughly twice as many text cleanups as the built-in FindChangeByList.jsx.

Mike Witherell
vladan saveljic
Inspiring
July 8, 2020

maybe I didn't understand good your issue.

but you could find triple returns

and change with a single return + space after

 

 

Simon Lucas
Known Participant
July 8, 2020

Thanks. I am constantly re-flowing the text during my layout design stage, so I needed a solution that does not involve deleting the line returns for those special cases, because with each layout change, the line returns may need to be put back in. I think the special paragraph style is the most flexible, thank-you. And also layout changes may also occur after proof-reading by the author. 

Mike Witherell
Community Expert
Community Expert
July 8, 2020

It is essentially a challenge of re-training old typing habits, whether you own or your boss!

Mike Witherell
Mike Witherell
Community Expert
Community Expert
July 8, 2020

InDesign can't ignore an empty paragraph returns at the top of the page. Your realization is correct: let paragraph styles do the work for you. Use Find/Change to quickly get to the double returns and reduce them to a single return.

Mike Witherell
Simon Lucas
Known Participant
July 8, 2020

Thanks. I'll get re-formatting.