10
2
Fork 0

formatting

This commit is contained in:
xenia 2020-05-26 06:39:51 -04:00
parent 22cee43ede
commit 759b08cce3
2 changed files with 6 additions and 5 deletions

View File

@ -19,8 +19,9 @@ $(WRITEUP_PDF): $(DOCS_ALL) fonts.tex top.md
@find . -mindepth 3 -iname '*.png' -exec cp {} build/ \; @find . -mindepth 3 -iname '*.png' -exec cp {} build/ \;
@find . -mindepth 3 -iname '*.py' -exec cp {} build/ \; @find . -mindepth 3 -iname '*.py' -exec cp {} build/ \;
@cp fonts.tex build/fonts.tex @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" @echo "PDF writeup.pdf"
@cd build && pandoc --filter pandoc-include-code -f markdown-implicit_figures -i writeup.md \ @cd build && \
--pdf-engine=lualatex -o writeup.pdf 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 $@ @cp build/writeup.pdf $@