I’ve finished the initial part of my conversion of SWFK from Word Processor format to LaTeX. Positive aspects? Looks much better than the original; I like working in a text-based format plus I’ll be able to automate the double-checking of my examples (not completed yet); and lastly the file size is a 3rd of what it was (hoorah for my bandwidth!). Negative aspects: the format is more obscure (not a big problem obviously) and the number of pages has significantly increased. LaTeX is a lot more liberal with whitespace than I was, plus I’ve probably accidentally increased the size of some of the images, which won’t have helped. So my apologies to anyone who wants to print it, and has to kill more trees as a consequence.
Download is available from this link, but I haven’t updated the main page yet. Note that this is a draft-draft. In other words, it already was a draft, and now it’s more of a draft…
I still need to tidy up some of my layout ‘messes’, plus re-check all example code, and a few other bits and pieces. Another positive aspective of converting to LaTeX is that I found a bunch of naff typos that appeared in latter chapters (and appendices), where my editing prowess obviously rather severely tailed off…
Feedback on the new format/layout welcome.

Have you considered using Lyx? It is a very good editor that doesn’t require you to fidget about with Latex and lets you easily control image sizes, layouts, etc. Check it out at http://www.lyx.org.
Tried Lyx. Couldn’t get into it. Or, more to the point, couldn’t get it to do exactly what I wanted. Ended up using Kile, which isn’t too bad.
You could use Pygments for highlighting the code - it has a LaTeX output possibility.