Add save and compile map for LaTeX