2 # Helper script to export LaTeX templates for new letters
3 # Copyright (c) 2009 Benjamin Mako Hill <mako@atdot.cc>
4 # Released under the GPLv3 or later.
10 cd $HOME/tex/latex_mako
11 git checkout-index -f --prefix=$CURDIR/$1/ letter_template/*
14 # get rid of paper_template subdir
15 mv $1/letter_template/* $1
16 rm -rf $CURDIR/$1/letter_template
18 mv $1/text.tex $1/$1.tex
20 echo "specifiy a directory where the template should go";