Added support for specifying latex-engine (thus removing the need for updating environment PATH).