10
2
Fork 0

buildscripts: amsmath + \norm

This commit is contained in:
Erin Moon 2020-05-27 21:22:09 -05:00
parent 208168ab8d
commit 1340dc5940
3 changed files with 5 additions and 2 deletions

View File

@ -13,12 +13,12 @@ README.md: $(DOCS_ALL)
@(printf "# BLAHAJ Hack-a-Sat 2020 Writeups\n\n"; for file in $(DOCS_ALL); do \
printf -- "- [%s](%s)\n" "$$(dirname $$file)" "$$(dirname $$file)"; done) > README.md
$(WRITEUP_PDF): $(DOCS_ALL) fonts.tex top.md
$(WRITEUP_PDF): $(DOCS_ALL) fonts.tex misc.tex top.md
@echo "GEN writeup.md"
@mkdir build/ 2>/dev/null || true
@find . -mindepth 3 -iname '*.png' -exec cp {} build/ \;
@find . -mindepth 3 -iname '*.py' -exec cp {} build/ \;
@cp fonts.tex jork.png build/
@cp fonts.tex misc.tex jork.png build/
@for md in top.md $(DOCS_ALL); do cat $$md; printf "\n\n\\\\newpage\n\n"; done > build/writeup.md
@echo "PDF writeup.pdf"
@cd build && \

2
misc.tex Normal file
View File

@ -0,0 +1,2 @@
\usepackage{amsmath}
\newcommand{\norm}[1]{\left\lVert#1\right\rVert}

1
top.md
View File

@ -8,6 +8,7 @@ geometry: margin=0.7in
header-includes: |
\input{fonts.tex}
\input{misc.tex}
include-before: \begin{center}\includegraphics[width=0.7\pagewidth]{jork.png}\end{center}\newpage