When I open a document (with .Pnw extension) which contains some inline TeX formulas and pweave inline code ilke: `$ x= <%= x %>$` The following syntax highlighting of paragraph is broken. You can see an illustration of what happen in the attached screenshot file here. 