5

I have problem with copying text from PDF file.

I am using these packages in my document:

\usepackage[slovak]{babel}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}

However when I generate PDF file, it doesn't allow me to copy slovak characters. For example copying this

nemožné k nim pristupovať

results in

nemoºné k nim pristupova´

Do you have any idea how to solve it?

peto1234
  • 333
  • Which text editor do you use? And, is it capable of displaying utf8-encoded glyphs? – Mico May 30 '12 at 19:08

2 Answers2

4

Adding package lmodern solved my problem:

\usepackage{lmodern}
Werner
  • 603,163
peto1234
  • 333
2

With reference to page 7 in the MinioPro-manual, to make figures and ligatures searchable, you need to enable glyphtounicode translation and load the default mapping table:

\input{glyphtounicode}
\pdfgentounicode=1

glyphtounicode was included in my MikTeX-distribution, but if it is not included in yours, you can find it at Sarovar.

Sveinung
  • 20,355