On Sun, May 5, 2019 at 2:43 PM Bob Alvarez <4...@outlook.com> wrote:

>
>  I want to insert text code listings into Lyx  so readers can copy and
> paste from the pdf document into their plain text editor software.
>

Bob,

This doesn't directly address your need, but to permit readers to obtain
content from PDFs, the approach I've taken is to use the `navigator` (
https://ctan.org/pkg/navigator?lang=en) package. What I will typically do
is include the listing and then also use `navigator` to embed the full
document as an attachment to the PDF.  I've begun to routinely take this
approach because of ongoing difficulty providing easily copied text within
a LaTeX-generated PDF.

Hope this helps,
Joel

Reply via email to