I found a great script that removes the margins from PDF books. It is for linux, and requires a few different tools to make it work. The script is not mine, but was found at the following link. I'm preserving it here for later use. And posterity, or whatever.