7

I typically use LaTeX to write chemistry & physics documents with a lot of equations. I often will reference terms and variables and such in the text of my document. Typically I just do this by writing $\gamma$, but someone just pointed out to me that this prevents such characters from being copied out of the resulting PDF. I could go lookup a greek alphabet and past the character into the text file, then italicize it, but this seems painfully slow to say the least. Is there a better way of putting such characters into my document quickly other then using math-mode?

I am already using

\usepackage[UTF8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{lmodern}

Which is the advise I've seen for making non-math mode text copy correctly.

I'm using PDF(la)TeX if it makes a difference. As the discussion in the comments has shown, I have to specify: I'm on Windows 7, using Adobe Reader X v10.1.1.

Canageek
  • 17,935
  • 5
    If I copy the result of $\gamma$ and paste it into a Unicode savvy editor, I get a γ (see?). No special trick. The string utf8 for inputenc should be lowercase, but this is not relevant for the question: it may work on Windows, but may also give problems on other platforms. – egreg Sep 28 '11 at 22:05
  • 1
  • @egreg I just realized the problem with your answer: The reason I asked the question is that Greek letters I put in with math mode don't copy. Someone wanted to send me some revisions to something I wrote, and are not a LaTeX user, so they pasted it into word. All the Greek characters disappeared. I've tried it in notepad++ and Firefox and get a newline, and emacs gives ^M^@. So your solution, creative as it is, will not work. – Canageek Sep 28 '11 at 23:33
  • @Canageek On Mac OS X it works very cleanly. Using italic Greek is not a solution, as the font won't have the correct parameters for math typesetting. – egreg Sep 28 '11 at 23:40
  • @Canageek: Maybe the problem is that the font used doesn't have greek characters on your colleague's computer? – raphink Sep 29 '11 at 06:06
  • I don't THINK so: I just pasted it into word, which has basic Greek support in its default (Calabri & Cambria) fonts. – Canageek Sep 29 '11 at 21:48

1 Answers1

6

One workaround, though ugly, is to use a different PDF reader: It appears the problem is Adobe Reader. I tested this in SumatraPDF v1.8 and text copied from it to Word 2010 and GNU Emacs 23.3.1 (i386-mingw-nt6.1.7601) fine. It didn't copy to notepad++ oddly. When I used the exact same document it left blanks or odd characters in all 3 of those pieces of software.

If anyone has some magic to make Adobe Reader copy it I would love to hear it though, as that is what 90% of people I send my work to will be using.

Canageek
  • 17,935
  • "90% of people I send my work to will be using [Adobe Reader]" … when you send your work (I guess by email) add a note along the lines of "best viewed using Sumatra". You will make all of us a favor. – Hector Jul 27 '12 at 00:45