Bug 1027670 - Add IME that handle LaTeX

Maybe I'm missing something but if you're at the beginning of the input, you can not be inside a command or environment because there were no starting environment.