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/cdsc_tex"
13 git archive --format=tar knitr paper_template|tar x --strip=1 -C "$TMPDIR"
16 # get rid of paper_template subdir
19 mv "text.Rnw" "$1.Rnw"
21 echo "specifiy a directory where the template should go";