If I copy text from a PDF and a word is hyphenated and spans two lines, the copied text contains the "-". For example:
Examp-
le
should be copied as
Example
not
Examp-le
The problem is that hyphens from source text must be conserved
bug-
proof
must be
bug-proof
in copied form.
How can I achive this?
I think this question is related to Make ligatures in Linux Libertine copyable (and searchable)
Edit: I am sorry, my initial question was not well phrased. I typeset documents in LaTeX and compile them to PDF by PDFlatex (Miktex). Is it possible for PDFLaTeX to distinguish between 'line break' and 'interword' hyphens? Does the definition of PDF allows such different hyphens, so that a PDF reader, which respects the difference copies text that contains 'interword' hyphens, but not the 'line break' hyphens and the belonging line break?