The best answer, and one that several have repeated is, back to the kitchen.
Then consider that garbage can not be left accessable to dogs until they are 4 or so. And even then it is best not to leave it where they can find it. He's probably attracted to specific books because of your scent on them - perhaps these were the books you most recently read or perhaps you had eaten something before you picked them up? (As smart as I think dogs are, I don't think mine can read just yet.)