uppercase file name
fix outline library, prevent overflow with distance computation, more careful treatment of escaping out of math mode, print out more info when error