Kit: display errors in the generated document in draft mode