Code examples for the book E-Book Enlightenment, written for OLPC and Sugar Labs.