A document annotation system receives a document in an original format including content. The system converts the document to an intermediate format including page data elements representing pagination within the document. The system converts the intermediate format to a display format including data marker elements linking a portion of the content to a pin cite based on the page data elements. The system detects annotations to the display format and generates citations based on the annotations.