Create gen_latex.sh