Improve PreTeX autocompletion

* Implement autocompletion for all PreTeX builtin functions