Text this: War finance and logistics in late imperial China