Added paragraph substitution.
Started on import chapter of doc.