Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
eriknstr
on Feb 11, 2017
|
parent
|
context
|
favorite
| on:
Designing a Business Card in LaTeX
When I copy text from your PDF it comes out all garbled. Does this happen to others as well? Is it intentional; some form of copy protection?
jimhefferon
on Feb 12, 2017
|
next
[–]
Don't know about the parent's intentions, but making the PDF from LaTeX copy-able is mostly a matter of putting this in the preamble.
\usepackage[utf8]{inputenc} \usepackage[T1]{fontenc}
See also
http://tex.stackexchange.com/a/64198/121234
and
http://tex.stackexchange.com/a/119718/121234
.
bhickey
on Feb 11, 2017
|
prev
[–]
Huh, totally weird. Maybe it's an encoding issue? The character appear to be getting shifted by -39 (ex. c 143 ->D 104) I never noticed because I'm typesetting for print.
andrewshadura
on Feb 12, 2017
|
parent
[–]
I think you need to use some PDF package to have the encoding set correctly. I had the same issue in the past, but I don't remember how I solved it.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: