Text this: Integrability and nonintegrability in geometry and mechanics