Is there a way to copy from a PDF to a LaTeX document? Whenever I do it, it copies in with weird symbols in the place of LaTeX commands for example:
$$f:\mathbb{R}\rightarrow \mathbb{R}$$
copies in as
f : R ! R;
I did a quick search and I couldn't really find anything (some sort of PDF to LaTeX converter that worked well)
Am I missing something obvious or can this not be done (for some reason)?
\input{glyphtounicode} \pdfgentounicode=1
to the preamble of the document, I getf : R → R
.