When I convert a PDF created in MiKTeX to plain text, all diacritics are at the wrong place. I need to send my thesis to online antiplagiator checking page.
Example:
pr´ce a diskusia mˆˇu tvorit aj jednu y y y a oz samostatn´ ˇast a spoloˇne
How can I fix it?
Ok, here is some working example:
\documentclass[12pt, oneside]{book}
\usepackage[T1]{fontenc} % <---- Like this?
\usepackage[utf8]{inputenc}
\usepackage{graphicx}
\usepackage[slovak]{babel}
\linespread{1.2}
\begin{document}
ľščťžýáíéäúôň %these are some misbehave characters
\end{document}
\usepackage[T1]{fontenc}. But as you didn't show your code this is pure guessing. – Ulrike Fischer Mar 23 '15 at 14:36inputenc). Then I seem to get the correct text out both from copying from Adobe Reader and viapdftotexton the command line. Everything done via TeX Live 2014 on Linux – daleif Mar 23 '15 at 15:24\usepackage{lmodern}to switch to a type1 font. – Ulrike Fischer Mar 23 '15 at 16:02