Equilateral triangulations of Riemann surfaces, and curves over algebraic number fields