rework IntPoint
TeX.Parse() is now static
rework min() and max() in mathtricks