Hi! org-entities contains the line:
("not" "\\textlnot{}" nil "¬" "[angled dash]" "¬" "¬")
This should be
("neg" "\\neg" t "¬" "[angled dash]" "¬" "¬")
The first line fails in math mode (i.e. "\not" is not replaced at all
and negates/slashes the next symbol); the second works in either case.
