document: add a text_ref event (reference to text specified by the URI)