moving LATEXMLINPUTS handling to top-level of the service