Tagged document-preparation