# public cryptoparty /handbook

### Subversion checkout URL

You can clone with HTTPS or Subversion.

Fetching contributors…

Cannot retrieve contributors at this time

executable file 46 lines (35 sloc) 0.826 kb
 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 #!/bin/bashif [ -z $1 ] ; then DIR=.else DIR=$1fimkdir $DIRcat >$DIR/main.tex <> $DIR/main.tex title=echo$d | sed 's/chapter_[0-9][0-9]_//; s/_/ /g; s/^./\U&/; s/ ./\U&/g' echo "\\chapter{$title}" >>$DIR/main.tex for f in $d/*.md; do pandoc -f markdown -t latex$f -o $DIR/$f.tex echo "\\clearpage\\input{$f.tex}" >>$DIR/main.tex donedoneecho '\end{document}' >> \$DIR/main.tex
Something went wrong with that request. Please try again.