1. A method of generating internal citations for a formatted document, comprising the steps of: a) obtaining graphic representations of each page of the formatted document, b) optically recognizing characters on each page of the formatted document, and determining the position of the characters on each page, c) obtaining a text version of the formatted document, d) parsing the text from the text version, and e) correlating the recognized characters with the text to determine an internal citation for each sentence, wherein a data structure is created to store data determined in the correlating step.