[compile_tex]: Testing whether Dir.chdir is causing weird behaviour on production