A simple script for generating samples for Leanpub books