Skip to main content
Bob_Elmore
Known Participant
January 16, 2017
Answered

Remove unwanted carriage returns

  • January 16, 2017
  • 1 reply
  • 2285 views

Our training manuals are PDF documents and they contain some long strings that students copy and paste into our system.

Examples are in tables, so the strings sometimes wrap. 

In these cases when a string wraps to the next line in the PDF, if a student copies and pastes it into the system it often brings an invisible carriage return.  This creates a problem since the carriage return is not visible but the string is invalid.  It's very difficult to debug because it looks correct.

Is there any way to generate PDFs such that this does not happen?  Is there any way to copy text from a PDF to avoid this?

Otherwise my only recourse is to edit the documents so there are no word wraps.

Thanks.

This topic has been closed for replies.
Correct answer Dov Isaacs

There are no multiple options in terms of copying content from PDF files in Acrobat or Reader. There are often options in the “receiving program” such as Word in terms of keeping or discarding formatting that comes with the copied text.

No, there isn't any way to generate the PDF to avoid these types of situations. PDF is a “final form file format.”

          - Dov

1 reply

Dov Isaacs
Dov IsaacsCorrect answer
Legend
January 16, 2017

There are no multiple options in terms of copying content from PDF files in Acrobat or Reader. There are often options in the “receiving program” such as Word in terms of keeping or discarding formatting that comes with the copied text.

No, there isn't any way to generate the PDF to avoid these types of situations. PDF is a “final form file format.”

          - Dov

- Dov Isaacs, former Adobe Principal Scientist (April 30, 1990 - May 30, 2021)
Bob_Elmore
Known Participant
January 16, 2017

Thanks.  I assumed as much, but wanted to be sure before I go back and edit all the documents.