Disable Latex folding.

* Enable python mode only when python support is available.