document: Make MATH extension context-sensitive
Rename MATH_DOLLAR to MATH_EXPLICIT, update descriptions