Apply typographical conventions

Mostly the same conventions as O'Reilly books.