Copying code text from PDFs

This forum is for all Flare issues related to PDF, eBook, Microsoft Word, Adobe FrameMaker, XPS, and XHTML book targets.
Post Reply
SoleWriter
Propeller Head
Posts: 42
Joined: Thu Nov 27, 2014 7:44 am
Location: United Kingdom

Copying code text from PDFs

Post by SoleWriter »

Hello all,

I've been sifting through and found similar posts, but none that quite meet my exact issue.

I have used the <pre> tag in Flare to format code snippets. I am outputting to both PDF and HTML and want to be able to copy the text, preserve the formatting, and paste it into my browser-based data tool. When I copy and paste from HTML output, this works fine. When I copy and paste from PDF, the formatting is not preserved. Is there a way to resolve this in Flare?

Many thanks for your help!
Post Reply