Skip to main content
Dan Greyhound
Inspiring
August 17, 2022
Question

Re: indd > epub all line breaks (carriage returns) removed

  • August 17, 2022
  • 1 reply
  • 6869 views

I'm having exactly the same problem. Did anyone find an answer?

    This topic has been closed for replies.

    1 reply

    Legend
    August 17, 2022

    Try this: 

    Instead of using an empty paragraph to add space, use the built-in Space Before or Space After paragraph settings to create the gap. Double returns for spacing is not a recommended method.

    Also, use line breaks instead of paragraph returns for the lines that should not have space after them.

     

    James Gifford—NitroPress
    Legend
    August 17, 2022

    This is really the correct answer: don't use soft returns (by any name) in documents meant for EPUB export.

     

    However, there is a specific setting in reflowable export, whether to leave them or strip them (the latter being the standard-based alternative):

    Check this, and soft returns will be stripped. Uncheck it, and they will (usually) remain.

     

    But the real solution is to use styles to manage line spacing and paragraphs, not line breaks by any name.

     

     

    Dan Greyhound
    Inspiring
    August 17, 2022

    Just as a start, CS6 is... really obsolete. There have been many small changes, not to mention the much larger overhauls. And EPUB export has many, many differences.

     

    There is simply no way to get this kind of spacing without using spacing above/below on a paragraph style, and at least two styles if you have variations in spacing. I don't know what might have worked in a CS6 document that doesn't now; that spacing hasn't been changed and the culprit is almost always use of soft returns. Oh, and I just noticed the other detail: EPUB always strips multiple returns. Empty paragraphs are deleted. It's possible older export methods somehow preserveed them.

     

    Adjust your styles to use spacing above/below and you should be able to get (or recreate) the layout you're seeking.

     


    Okay, thanks for your help. It's just a bit annoying as I used to be able to use the print design file and just export it to epub and, with the exception of a few bugs, it worked. Double returns were preserved along with everything else. The last time I did this was in 2020. Now I have to completely redesign the file to get it to work. It's not what I'd call progress!