diff options
author | Karl Berry <karl@freefriends.org> | 2019-02-05 22:00:10 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2019-02-05 22:00:10 +0000 |
commit | 3602727bc992898e5097359493e7ffe838e01c5a (patch) | |
tree | 593d3bd9ce83ee8c654f3d552f8d1f74a35f873a /Master/texmf-dist/doc/latex/ftc-notebook/newmeeting.sh | |
parent | b457041f040adf9c96aba1534e3cc2614a8878a8 (diff) |
ftc-notebook (5feb19)
git-svn-id: svn://tug.org/texlive/trunk@49950 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/ftc-notebook/newmeeting.sh')
-rw-r--r-- | Master/texmf-dist/doc/latex/ftc-notebook/newmeeting.sh | 83 |
1 files changed, 83 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/ftc-notebook/newmeeting.sh b/Master/texmf-dist/doc/latex/ftc-notebook/newmeeting.sh new file mode 100644 index 00000000000..e00937b198a --- /dev/null +++ b/Master/texmf-dist/doc/latex/ftc-notebook/newmeeting.sh @@ -0,0 +1,83 @@ +#!/bin/bash +# file name, entry num +if [ $# -ne 2 ]; + then echo " + USAGE: newmeeting.sh name num + create a new directory and tex file for your meeting, where + name: file directory and file name for the new entry (e.g. sept06) + num: populate src/name/name.tex with num tasks" + exit +fi + +# customize your list of team members +MEMBERS="Alonso, Aman, Arjun, Cadence, David, Deeya, Divek, Elina, Kaitlyn, Nicky, Zachary" + +DIR=src/$1 +FILE=src/$1.tex + +if [ -d "$DIR" ]; then + # Control will enter here if $DIRECTORY doesn't exist. + echo "directory $DIR exists already, pick a new name" + exit +fi + +mkdir $DIR + +# print new day entry +echo " +\begin{Meeting}% [type]% optional type (Preseason, Competition) + {}% title + {}% date + {hours}% duration + {$MEMBERS}% members + {% list of tasks" > $FILE + +# print task within new day entry +for i in `seq 1 $2`; +do + echo " % + \TaskInfo{}{task:$1:}% title & label + {}% reflection" >> $FILE +done +echo "} + +" >> $FILE + +# print tasks +for i in `seq 1 $2`; +do + echo " + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +\Task% optional continuation of task, e.g. [\TaskRef{task:}] + {}% {num}[num]: num in 1-6: 1 Strategy; 2 Design; 3 Build; 4 Math/Physic; 5 Software; 6 Team + +\MeetingSummary + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +\Section{Purpose and Overview} + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +\Section{Design Process and Decisions} + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +\Section{Conclusions} + +" >> $FILE +done + +# print end of new day entry +echo " + \end{Meeting} +" >> $FILE + +echo "add following in main tex file: + \input{src/$1.tex} +" + + + + + |