Useful tools and code for epub production