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.
You have to define a Greek font. There are some choices: the default Beccari fonts, which however are modelled from the CM fonts, or the Greek Font Society ones.
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage[LGRx,T1]{fontenc}
\usepackage{kpfonts}
\usepackage[greek,english]{babel}
\newcommand{\test}[2]{{\fontencoding{LGR}\fontfamily{#1}\selectfont#2
-- αβγδε ζηθικλ μνοπρ σςτυφ χψω ΑΒΓΔΕ ΖΗΘΙΚ ΛΜΝΞΟΠ ΡΣΤΥ ΦΧΨΩ} ABEHKMNOPTXYZ}
\begin{document}
Test, \test{cmr}{χημεία}, test.
Test, \test{artemisia}{χημεία}, test.
Test, \test{gfsbaskerville}{χημεία}, test.
Test, \test{bodoni}{χημεία}, test.
Test, \test{complutum}{χημεία}, test.
Test, \test{udidot}{χημεία}, test.
Test, \test{neohellenic}{χημεία}, test.
Test, \test{porson}{χημεία}, test.
Test, \test{solomos}{χημεία}, test.
\end{document}

I've added to the test also the complete alphabet and some uppercase letters in with kpfonts
.
I'd exclude Bodoni, Complutum, NeoHellenic. Possibly recommendable are Artemisia or Didot.
If you choose Artemisia, you can patch the \greektext
macro with
\usepackage{xpatch}
\xpatchcmd{\greektext}{\selectfont}{\fontfamily{artemisia}\selectfont}{}{}
and use \textgreek
or \greektext
normally. Change artemisia
into udidot
if you want the Didot font.
Note I've used utf8
instead of utf8x
; in case you really want the latter, say
\usepackage[utf8x]{inputenc}
\usepackage[LGR,T1]{fontenc}
Best Answer
If you just need a few words, then a simple approach can solve your problem:
For longer passages, perhaps loading the
polutoniko
option withbabel
may be recommended. Check in the documentation ofbabel
for the translitteration scheme used.You may also choose different fonts for Greek (the GFS fonts support many of them).
Update
With recent and uptodate TeX distributions, one can also input directly the Greek characters: