Text this: Ernst equation and Riemann surfaces