I found a new self-publishing company that converts my book into multiple electronic formats, allow readers to purchase the version they prefer. I will not be removing the free versions, however, as obscurity is worse than losing money.
I have spent two weeks editing the book to make it better for e-readers, but there is a limit to what can be done. The conversion process automatically strips leading white space, so even if I manually entered non-breaking spaces, it doesn't make the necessary indents visible. I apologize for this and highly recommend that, whether you purchase my book or download a free version, you also get a copy of the source code files, the PDF version, or purchase a copy of the paperback so you can see exactly how the code blocks are supposed to look.
I am also uploading the new Kindle version to Amazon. While it won't necessarily have the indents, it should take care of the extra line breaks and the missing chapters some people have complained about.
If you notice any problems with the book, in any format, please let me know. It is relatively trivial to make the changes and upload new files to the various distribution services.