[Github-comments] [geany] Latex syntax: Bad '[' in math mode (#859)

elextr notifications at xxxxx
Fri Jan 8 13:07:14 UTC 2016


Yes its the lexer, https://github.com/geany/geany/blob/master/scintilla/lexers/LexLaTeX.cxx#L268 which says any [ after (optional) whitespace is the start of options.

I assume latex itself gets around it because it knows the `\in` is a no-argument command, but the lexer won't know that, its purely syntax only, so I'm not sure how it can do anything different to what it is doing.

You could try reporting it to Scintilla anyway. 

---
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/859#issuecomment-169996461
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20160108/e6a206d3/attachment.html>


More information about the Github-comments mailing list