Filter math symbols in notebook latex also, since 	notebook supports space between $ and math.
Filter math symbols in notebook latex also, since
	notebook supports space between $ and
math.

ipython/ipython,ipython/ipython