jkuczm / mmacells

Mathematica cells in TeX
63 stars 18 forks source link

Using prefix form of expressions without extra spaces (e.g. N@f[x]) #28

Closed Anton-Sakovich closed 8 years ago

Anton-Sakovich commented 8 years ago

Greetings, jkuczm. First of all, I want to thank you for your CellToTeX-SyntaxAnnotations-mmaCells bundle.

I have the following issue: if I have several "keywords" connected by "@" symbol without spaces, then the whole structure is coloured with blue.

If I understand the situation correctly, listings interprets the whole structure as a whole keyword because "@" is a letter by listings' defaults, but maybe I am wrong. I tried to change the role of "@" symbol to "other" and it seemed to work correctly...

jkuczm commented 8 years ago

Thanks for reporting it.

You're absolutely right, @ should be an "other" character.