Add latex skeleton
authorMart Lubbers <mart@martlubbers.net>
Mon, 10 Oct 2016 12:22:49 +0000 (14:22 +0200)
committerMart Lubbers <mart@martlubbers.net>
Mon, 10 Oct 2016 12:22:49 +0000 (14:22 +0200)
report/.gitignore [new file with mode: 0644]
report/Makefile [new file with mode: 0644]
report/preamble.tex [new file with mode: 0644]
report/report.tex [new file with mode: 0644]

diff --git a/report/.gitignore b/report/.gitignore
new file mode 100644 (file)
index 0000000..4625dd2
--- /dev/null
@@ -0,0 +1,10 @@
+*.aux
+*.log
+*.fmt
+*.toc
+*.bbl
+*.blg
+*.mlog
+*.run.xml
+*.pdf
+*-blx.bib
diff --git a/report/Makefile b/report/Makefile
new file mode 100644 (file)
index 0000000..118b3dd
--- /dev/null
@@ -0,0 +1,25 @@
+DOC:=report
+LATEX:=pdflatex
+BIBTEX:=bibtex
+LATEXFLAGS:=-file-line-error -halt-on-error -no-shell-escape
+
+TEXS:=$(wildcard *.tex)
+
+.PHONY: all
+.SECONDARY: $(DOC).fmt
+
+all: $(DOC).pdf
+
+%.fmt: preamble.tex
+       $(LATEX) $(LATEXFLAGS) -ini -jobname="$(basename $@)" "&$(LATEX) $<\dump"
+
+%.pdf: %.tex %.fmt $(TEXS)
+       $(LATEX) $(LATEXFLAGS) $<
+       grep -q '^\\bibdata{' $(basename $<).aux && $(BIBTEX) $(basename $<) || true
+       $(LATEX) $(LATEXFLAGS) $< | tee $(basename $<).mlog
+       grep -qF 'Please rerun LaTeX.' $(basename $<).mlog &&\
+               $(LATEX) $(LATEXFLAGS) $< || true
+
+clean:
+       $(RM) $(addprefix $(DOC).,aux log fmt toc bbl blg mlog run.xml pdf)\
+               $(DOC)-blx.bib
diff --git a/report/preamble.tex b/report/preamble.tex
new file mode 100644 (file)
index 0000000..df6f0c1
--- /dev/null
@@ -0,0 +1,13 @@
+\documentclass[a4paper,titlepage]{article}
+
+\usepackage{geometry}
+
+\author{%
+       Kelley van Evert\and
+       Charlie Gerhardus\and
+       Wouter Kuhnen\and
+       Mart Lubbers\and
+       Daan Sprenkels
+}
+\date{\today}
+\title{OWASP ASVS Souce Code Review Project}
diff --git a/report/report.tex b/report/report.tex
new file mode 100644 (file)
index 0000000..25674a7
--- /dev/null
@@ -0,0 +1,5 @@
+%&report
+\begin{document}
+Hoi
+
+\end{document}