[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: standard quotes for PDF
From: |
Karl Berry |
Subject: |
Re: standard quotes for PDF |
Date: |
Sat, 3 Jun 2006 17:15:30 -0500 |
kept getting bugreports by people that cut & paste coding and were
It seems odd to me that I don't recall ever seeing such a report about
any other Texinfo document. Is there something different about the
Lilypond manual that makes the pasting behave differently? E.g., that
UTF-8 stuff which Werner just posted?
Cut & pasting from evince PDF into gedit UTF-8
Sorry, I'm still confused. This isn't a function of the pdf viewer
and/or editor being pasted into, rather than the pdf file?
I tried this Texinfo code:
@code{g'code}
@example
g'example
@end example
@verbatim
g'verbatim
@end verbatim
Ran it through pdftex, viewed it with xpdf, cut and pasted into emacs,
and got the expected 0x27 ' characters (in all cases).
Interestingly, with your patch, both the 0x27 and 0xd quotes are pasted
from xpdf into Emacs as 0x27 characters (thank goodness, since 0xd is
control-m). It's the right behavior, but I am clueless as to how it
happened.
Looking at the output, I am pretty sure that the undirected quote would
cause lots of complaints. @example/@verbatim code which uses `...' Is
ubiqitious.
Perhaps it could be an optional feature.
Yes, I can add it that way if nothing else, but I'd like to understand
what's really going on. My system doesn't have evince, and gedit
doesn't recognize my selection from xpdf, so I'm pretty helpless there
without spending yet more time ...
I'll attach pdf's both with and without your patch applied, just for
reference.
Thanks,
Karl
quotes-nopatch.pdf
Description: Adobe PDF document
quotes-withpatch.pdf
Description: Adobe PDF document