unlexing latex code: no space between closing $ and punctuation