# Tag Info

## New answers tagged copy-paste

7

The problem is fragility: \documentclass{article} \usepackage{accsupp} \renewcommand{\thefootnote}{% \protect\BeginAccSupp{ActualText={}}\arabic{footnote}\protect\EndAccSupp{}% } \begin{document} This is a test\footnote{This is a footnote} \end{document}

1

Add a watermark! You prevent an easy copy by adding a background picture with a watermark (»Don't copy!«) to every listing. A solution has been suggested here: http://tex.stackexchange.com/a/63590/4736 . I did not test that, but I presume you cannot copy only the listing, without the letters of the watermark.

1

This is some kind of bug. It's not the OS or the font version. It's the TeXLive 2013 version from DVD without update. I updated it and the problem is gone. The bug also showed up in MacTeX 2013, see Mico's comment on egreg's answer.

7

This is what I get when compiling your example (by the way, loading xunicode is not required), copying from the PDF viewer and pasting here fi ff tt The Minion Pro font I'm using is the one in Adobe Reader. Here's a picture where the characters have been selected: The viewer is Skim, but also Adobe Reader gives the expected result. Here's an example ...

Top 50 recent answers are included