add TeX-engine local var to latex header