doc parsing. emitting started