Text this: Context-Dependence of Mathematical Activity: A Case Study Concerning Edo Period Japan