Login  Register

Re: Prevent line break for wrapped text?

Posted by mojavelinux on Mar 15, 2016; 7:51pm
URL: https://discuss.asciidoctor.org/Prevent-line-break-for-wrapped-text-tp4514p4517.html


On Tue, Mar 15, 2016 at 11:48 AM, jimmarquardson [via Asciidoctor :: Discussion] <[hidden email]> wrote:
Is there a way to let the text flow and naturally wrap? I want it to look the same, but I don't want the extra CRLF characters to be inserted where it wraps.

There is no such concept in PDF. A soft wrap and a hard wrap at the end of a line are the same. That's because PDF doesn't support "flowing text" like the web.

In general, you are going to have a myriad of problems trying to copy and paste code out of a PDF, and it comes down to limitations in PDF itself. PDF does not honor indentation and it hard wraps lines. PDF was designed for print, and this is evidence of that legacy.

If my understanding about any of this is incorrect, I'm happy to be educated.

Cheers,

-Dan

--
Dan Allen | @mojavelinux | http://google.com/profiles/dan.j.allen