From: Mart Lubbers Date: Mon, 10 Oct 2016 12:22:49 +0000 (+0200) Subject: Add latex skeleton X-Git-Url: https://git.martlubbers.net/?a=commitdiff_plain;h=36eeca2fe5e8132fcb40a7dcf77e08977b0d37a0;p=ssproject1617.git Add latex skeleton --- diff --git a/report/.gitignore b/report/.gitignore new file mode 100644 index 0000000..4625dd2 --- /dev/null +++ b/report/.gitignore @@ -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 index 0000000..118b3dd --- /dev/null +++ b/report/Makefile @@ -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 index 0000000..df6f0c1 --- /dev/null +++ b/report/preamble.tex @@ -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 index 0000000..25674a7 --- /dev/null +++ b/report/report.tex @@ -0,0 +1,5 @@ +%&report +\begin{document} +Hoi + +\end{document}