App now has better autodection of LaTeX ... it detects \[ ... \].
Detection of $ ... $ has been problemeatic since pne
has to excape $.