formatting
This commit is contained in:
parent
22cee43ede
commit
759b08cce3
7
Makefile
7
Makefile
|
@ -19,8 +19,9 @@ $(WRITEUP_PDF): $(DOCS_ALL) fonts.tex top.md
|
|||
@find . -mindepth 3 -iname '*.png' -exec cp {} build/ \;
|
||||
@find . -mindepth 3 -iname '*.py' -exec cp {} build/ \;
|
||||
@cp fonts.tex build/fonts.tex
|
||||
@for md in top.md $(DOCS_ALL); do cat $$md; printf "\n\n----------\n\n"; done > build/writeup.md
|
||||
@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 && pandoc --filter pandoc-include-code -f markdown-implicit_figures -i writeup.md \
|
||||
--pdf-engine=lualatex -o writeup.pdf
|
||||
@cd build && \
|
||||
pandoc --filter pandoc-include-code --toc --toc-depth 1 -f markdown-implicit_figures \
|
||||
-i writeup.md --pdf-engine=lualatex -o writeup.pdf
|
||||
@cp build/writeup.pdf $@
|
||||
|
|
Loading…
Reference in New Issue