2 # Helper script to export LaTeX templates for new letters
3 # Copyright (c) 2009-2016 Benjamin Mako Hill <mako@atdot.cc>
4 # Released under the GPLv3 or later.
11 cd "$HOME/tex/latex_mako"
12 git archive --format=tar HEAD letter_template|tar x --strip=1 -C "$TMPDIR"
15 # get rid of paper_template subdir
18 mv "text.tex" "$1.tex"
20 echo "specifiy a directory where the template should go";