You'd have to take the text out somehow (I've used Select all + Copy, with some files, I guess there are programs that will do it for you too), put it into a text editor (I use Word), configure the page settings, margins, etc. and reconvert to pdf. If you use OpenOffice (which is free, and has the same functions as Word basically), it has a "convert to pdf" function with it, that works fine. I think some people use some form of TeX (LaTeX, or MikTeK) which is apparently great for typesetting and allows using templates, I have to investigate that (next week, I'm on holidays then, lol).
Oh, I meant to upload the pdf file for this book as well, to share with you guys, I'll try to remember tonight when I get home.