A narrative-based collaborative writing tool for constructing coherent technical documents