Skip to main content
Participant
June 17, 2022
Answered

Code snippets in interactive PDF have breaks where wrapping occurred, can't copy/paste

  • June 17, 2022
  • 1 reply
  • 153 views

I'm creating a technical paper in InDesign and exporting to PDF. I'm hoping that the code snippets I'm pasting into the doc can remain without breaks and simply wrap visually, but when I copy/paste out of the PDF into a text editor, breaks have been created where the lines wrapped. Autotag didn't help.

This topic has been closed for replies.
Correct answer Eugene Tyson

When making the PDF - there's an option to tick called Create Tags.

Try this option.

 

Another way to do it is in Acrobat Pro and go to the tools for Edit>Text and then try copy and paste.

 

 

1 reply

Eugene TysonCommunity ExpertCorrect answer
Community Expert
June 17, 2022

When making the PDF - there's an option to tick called Create Tags.

Try this option.

 

Another way to do it is in Acrobat Pro and go to the tools for Edit>Text and then try copy and paste.