Developing archival editions and data sets for reading Ptolemy