3 # Helper script to export LaTeX templates for new documents
4 # Copyright (c) 2009 Benjamin Mako Hill <mako@atdot.cc>
5 # Released under the GPLv3 or later.
11 cd $HOME/tex/beamer-mako
12 git checkout-index -f --prefix=$CURDIR/$1/ $(find template -not -type d)
15 # get rid of paper_template subdir
17 mv $1/template/.gitignore $1
18 rm -rf $CURDIR/$1/template
20 mv $1/example.tex $1/$1.tex
22 echo "specifiy a directory where the template should go";