preserve figures directory when keep_tex = TRUE