Added chapter 2 and support for preformatted text blocks