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