UPDATED: now can read in XML/DjVU input, trim it, and then recognize and occasionally extrapolate page numbers that fit into either an arabic or roman numbering scheme