1

I have a problem with my engineering thesis, because I have to save my latex project in UTF-8 in pdf. Everything is ok, till I copy some text from pdf into another text editor (for example notepad). Then I have some strange signs in the place of polish letters. I have to change that, because it is needed to check my thesis by anti-plagiarism system.

\documentclass[12pt,a4paper,twoside]{article}
\usepackage{textcomp}
\usepackage[T1]{polski}
\usepackage[utf8]{inputenc}
\usepackage{graphicx} 
\usepackage{geometry}
\usepackage{hyperref}
\newgeometry{tmargin=2cm, bmargin=2cm, lmargin=1.5cm, rmargin=1.5cm}
\geometry{bindingoffset=2cm}

\usepackage{makecell,interfaces-makecell}
\usepackage[font=small,skip=15pt]{caption}
\usepackage{indentfirst}
\linespread{1.3}

\usepackage{float}
\floatstyle{plaintop}
\restylefloat{table}

\usepackage{url}
\makeatletter
\g@addto@macro{\UrlBreaks}{\UrlOrds}
\makeatother


\usepackage{chngcntr}
\counterwithin{figure}{section}
\counterwithin{table}{section}
\counterwithin{equation}{section}

\usepackage{tabularx}
\usepackage{multirow}
\usepackage{adjustbox}
\usepackage[table,xcdraw]{xcolor}
\usepackage{subfig}
\usepackage{array}
\usepackage{pdflscape}

\usepackage{abstract}
\renewcommand{\abstractname}{}   
\renewcommand{\absnamepos}{empty} 

\begin{document}
ąęćżź...
\end{document}
5
  • 1
    Show a small but complete example that demonstrates the problem. Jan 28, 2020 at 16:28
  • When I copy text from compiled pdf to notepad, signs like ą, ę, ć ... are replaced by artifacts, example: ibb.co/yhwVFfc
    – Featurea
    Jan 28, 2020 at 16:40
  • No show your latex code. It matters. Jan 28, 2020 at 16:46
  • ok, I added latex code
    – Featurea
    Jan 28, 2020 at 17:02
  • I get ąęćżź when copying from the PDF file. What TeX distribution are you using? Please, show the first ten line or so from the log file.
    – egreg
    Jan 28, 2020 at 18:14

1 Answer 1

1

Try to load cmap package:

\usepackage{cmap}

As writing in documentation, it is package "to make the PDF files generated by pdflatex "searchable and copyable" in acrobat reader and other compliant PDF viewers".

1
  • It's working! Thank You!
    – Featurea
    Jan 28, 2020 at 18:20

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .