sphinx: some more work on the tutorial, involving the rational class.