add support for introductions and footers in theme books