merged two tex documents into one