[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: PIL 3rd electronic version
- From: Brian Casiello <bcasiello@...>
- Date: Wed, 15 May 2013 13:35:44 -0400
Steve Litt <firstname.lastname@example.org> writes:
> On Tue, 14 May 2013 21:10:57 -0400
> Steve Litt <email@example.com> wrote:
> Serious bummer. When you copy from the PDF version and paste into a
> text file, the result is gibberish characters.
Copying from pdf worked for me. At least, there was no gibberish,
although the indentation was lost.
I used Foxit Reader on Windows, pasting to an Emacs buffer:
-- defines a factorial function
function fact (n)
if n == 0 then
return n * fact(n-1)
print("enter a number:")
a = io.read("*n") -- reads a number
It might not be deliberate obfuscation, but an incompatibility between
the pdf generator and reader software.
Brian Casiello <firstname.lastname@example.org>