Text this: Widening the scope of analytical mechanics