From 893984a795a5e3c4635a89cd5a9b64ec0b9ffe68 Mon Sep 17 00:00:00 2001 From: Mart Lubbers Date: Wed, 7 Oct 2015 21:34:16 +0200 Subject: [PATCH] werkt nu --- .gitignore | 1 + 1intro.tex | 3 +-- Makefile | 18 +++++++++++------- 3 files changed, 13 insertions(+), 9 deletions(-) diff --git a/.gitignore b/.gitignore index 6d62c72..d6f28d8 100644 --- a/.gitignore +++ b/.gitignore @@ -8,3 +8,4 @@ tt.toc tt.pdf *.sublime-project *.sublime-workspace +*.eps diff --git a/1intro.tex b/1intro.tex index 0f2360d..fc64b7d 100644 --- a/1intro.tex +++ b/1intro.tex @@ -15,8 +15,7 @@ conformity to the specification of an \emph{existing} implementation. \subsection{SUT} %3,4 - -\includegraphics[width=\linewidth]{SUTsetup} +\includegraphics[width=\linewidth]{SUTsetup.eps} The \textit{System under test} (SUT) is the TCP implementation of a system running a Linux kernel\footnote{\url{http://www.kernel.org}} version $3.13$. diff --git a/Makefile b/Makefile index 64ac818..0d6d515 100644 --- a/Makefile +++ b/Makefile @@ -1,25 +1,29 @@ -LATEX:=pdflatex +LATEX:=latex DOCUMENT:=tt SOURCES:=$(filter-out preamble.tex,$(shell ls *.tex)) GRAPHICS:=SUTsetup.eps .SECONDARY: $(addsuffix .fmt,$(DOCUMENT)) -.PHONY: clobber graphs +.PHONY: clean all: $(GRAPHICS) $(DOCUMENT).pdf %.eps: %.svg convert $< $@ -%.pdf: %.tex %.fmt $(SOURCES) $(shell ls *.svg) - $(LATEX) $(basename $@) +%.pdf: %.dvi + dvipdfm $< + +%.dvi: %.tex %.fmt $(SOURCES) + $(LATEX) --shell-escape $(basename $@) bibtex $(basename $@) - $(LATEX) $(basename $@) - $(LATEX) $(basename $@) + $(LATEX) -shell-escape $(basename $@) + $(LATEX) -shell-escape $(basename $@) %.fmt: preamble.tex $(LATEX) -ini -jobname="$(basename $@)" "&$(LATEX) $<\dump" clean: - $(RM) -v $(addprefix $(DOCUMENT).,fmt aux bbl blg dvi log out toc pdf) + $(RM) -v $(addprefix $(DOCUMENT).,fmt aux bbl blg dvi log out toc pdf)\ + $(GRAPHICS) -- 2.20.1