updated images and makefile
authorMart Lubbers <mart@martlubbers.net>
Fri, 27 Mar 2015 15:45:22 +0000 (16:45 +0100)
committerMart Lubbers <mart@martlubbers.net>
Fri, 27 Mar 2015 15:45:22 +0000 (16:45 +0100)
18 files changed:
thesis2/1.introduction.tex
thesis2/2.requirementsanddesign.tex
thesis2/3.methods.tex
thesis2/Makefile
thesis2/img/appoverview.dot [moved from thesis2/appoverview.dot with 100% similarity]
thesis2/img/backend.dot [moved from thesis2/backend.dot with 100% similarity]
thesis2/img/crawlerpattern.png [moved from thesis2/crawlerpattern.png with 100% similarity]
thesis2/img/dagexample.dot [moved from thesis2/dagexample.dot with 100% similarity]
thesis2/img/dawgexample.dot [moved from thesis2/dawgexample.dot with 100% similarity]
thesis2/img/feedbackloop.dot [moved from thesis2/feedbackloop.dot with 100% similarity]
thesis2/img/frontendfront.png [moved from thesis2/frontendfront.png with 100% similarity]
thesis2/img/graphexample.dot [moved from thesis2/graphexample.dot with 100% similarity]
thesis2/img/inccons.dot [moved from thesis2/inccons.dot with 100% similarity]
thesis2/img/informationflow.dot [moved from thesis2/informationflow.dot with 100% similarity]
thesis2/img/nddawg.dot [moved from thesis2/nddawg.dot with 100% similarity]
thesis2/img/nodelistexample.dot [moved from thesis2/nodelistexample.dot with 100% similarity]
thesis2/preamble.tex [new file with mode: 0644]
thesis2/thesis.tex

index ac6e9c5..f87a63d 100644 (file)
@@ -79,7 +79,7 @@ flow.
 \begin{figure}[H]
        \label{informationflow}
        \centering
-       \includegraphics[scale=0.7]{informationflow.eps}
+       \includegraphics[scale=0.7]{informationflow.pdf}
        \strut\\
        \strut\\
        \caption{Information flow Hyperleap database}
@@ -204,7 +204,7 @@ current feedback loop for crawlers.
 \begin{figure}[H]
        \label{feedbackloop}
        \centering
-       \includegraphics[width=0.8\linewidth]{feedbackloop.eps}
+       \includegraphics[width=0.8\linewidth]{feedbackloop.pdf}
        \strut\\\strut\\
        \caption{Feedback loop for malfunctioning crawlers}
 \end{figure}
@@ -315,7 +315,7 @@ $$G=(\{n1, n2, n3, n4\}, \{(n1, n2), (n2, n1), (n2, n3), (n3, n4), (n1, n4)\}$$
 \begin{figure}[H]
        \label{graphexample}
        \centering
-       \includegraphics[scale=0.7]{graphexample.eps}
+       \includegraphics[scale=0.7]{graphexample.pdf}
        \strut\\\strut\\
        \caption{Example DG}
 \end{figure}
@@ -339,7 +339,7 @@ $\mathcal{O}(L)$ where $L$ is the length of the path.
 \begin{figure}[H]
        \label{dagexample}
        \centering
-       \includegraphics[scale=0.7]{dagexample.eps}
+       \includegraphics[scale=0.7]{dagexample.pdf}
        \strut\\\strut\\
        \caption{Example DAG}
 \end{figure}
@@ -376,7 +376,7 @@ This means that it grows linearly with the length of the word.
 \begin{figure}[H]
        \label{exampledawg}
        \centering
-       \includegraphics[scale=0.7]{dawgexample.eps}
+       \includegraphics[scale=0.7]{dawgexample.pdf}
        \strut\\\strut\\
        \caption{Example DAWG}
 \end{figure}
index 6f30211..2ba84fc 100644 (file)
@@ -124,7 +124,7 @@ information flow or movement between nodes.
 \begin{figure}[H]
        \label{appoverview}
        \centering
-       \includegraphics[width=\linewidth]{appoverview.eps}
+       \includegraphics[width=\linewidth]{appoverview.pdf}
        \strut\\
        \caption{Overview of the application}
 \end{figure}
@@ -144,7 +144,7 @@ backend to process it.
 
 \begin{figure}[H]
        \label{frontendfront}
-       \includegraphics[width=\linewidth]{frontendfront.eps}
+       \includegraphics[width=\linewidth]{frontendfront.pdf}
        \caption{The landing page of the frontend}
 \end{figure}
 
@@ -185,7 +185,7 @@ detail in Figure~\ref{appinternals} together with the text.
 \begin{figure}[H]
        \label{frontendfront}
        \centering
-       \includegraphics[width=\linewidth]{crawlerpattern.eps}
+       \includegraphics[width=\linewidth]{crawlerpattern.pdf}
        \caption{A view of the interface for specifying the pattern. Two %
 entries are already marked.}
 \end{figure}
index 54b1d65..2d47484 100644 (file)
@@ -9,7 +9,7 @@ between these steps. The Figure is a detailed explanation of the
 \begin{figure}[H]
        \label{appinternals}
        \centering
-       \includegraphics[width=\linewidth]{backend.eps}
+       \includegraphics[width=\linewidth]{backend.pdf}
        \strut\\
        \caption{Main module internals}
 \end{figure}
@@ -69,7 +69,7 @@ regenerating the data.
 \begin{figure}[H]
        \label{nodelistexample}
        \centering
-       \includegraphics[width=\linewidth]{nodelistexample.eps}
+       \includegraphics[width=\linewidth]{nodelistexample.pdf}
        \caption{Node list example}
 \end{figure}
 
@@ -214,7 +214,7 @@ Figure}~\ref{dawg1} that builds a DAWG with the following entries:
 \begin{figure}[H]
        \label{dawg1}
        \centering
-       \includegraphics[width=0.8\linewidth]{inccons.eps}
+       \includegraphics[width=0.8\linewidth]{inccons.pdf}
        \strut\\\strut\\
        \caption{Incrementally constructing a DAWG}
 \end{figure}
@@ -242,7 +242,7 @@ choice.
 \begin{figure}[H]
        \label{nddawg}
        \centering
-       \includegraphics[width=\linewidth]{nddawg.eps}
+       \includegraphics[width=\linewidth]{nddawg.pdf}
        \strut\\
        \caption{Example non determinism}
 \end{figure}
index e3d9fa4..ba6cf1a 100644 (file)
@@ -1,24 +1,36 @@
 SHELL:=/bin/bash
-VERSION:=1.0RC1
-SOURCES:=$(shell ls *.tex) scheme.xsd exrss.xml
-GRAPHS:=$(addsuffix .eps,$(basename $(shell ls *.{dot,png})))
-.PHONY: clobber graphs release
-       all: graphs thesis.pdf
-%.eps: %.png
+VERSION:=1.0
+OUTPUT:=thesis.pdf
+LATEX=pdflatex
+VPATH=./img/
+
+SOURCES:=$(filter-out preamble.tex,$(shell ls *.{tex,xsd,xml}))
+GRAPHS:=$(addsuffix .pdf,$(basename $(shell ls img/*.{dot,png})))
+
+.SECONDARY: $(addsuffix .fmt,$(basename $(OUTPUT)))
+.PHONY: clobber graphs
+
+all: graphs thesis.pdf
+
+%.pdf: %.png
        convert $< $@
-%.eps: %.dot
-       dot -Teps < $< > $@
-%.pdf: %.dvi
-       dvipdfm $<
-%.dvi: $(SOURCES)
-       latex $(basename $@)
+
+%.pdf: %.dot
+       dot -Tpdf < $< > $@
+
+%.pdf: $(SOURCES) %.fmt
+       $(LATEX) $(basename $@)
        bibtex $(basename $@)
-       latex $(basename $@)
-       latex $(basename $@)
+       $(LATEX) $(basename $@)
+       $(LATEX) $(basename $@)
+
+%.fmt: preamble.tex
+       $(LATEX) -ini -jobname="$(basename $@)" "&$(LATEX) $<\dump"
+
 graphs: $(GRAPHS)
-       clean:
-       $(RM) -v *.{eps,aux,bbl,blg,dvi,log,out,toc}
+
+clean:
+       $(RM) -v {,./img/}*.{fmt,eps,aux,bbl,blg,dvi,log,out,toc}
+
 clobber: clean
-       $(RM) -v *.pdf
-release: all clean
-       mv thesis.pdf thesis_$(VERSION).pdf
+       $(RM) -v {,./img/}*.pdf
similarity index 100%
rename from thesis2/backend.dot
rename to thesis2/img/backend.dot
similarity index 100%
rename from thesis2/inccons.dot
rename to thesis2/img/inccons.dot
similarity index 100%
rename from thesis2/nddawg.dot
rename to thesis2/img/nddawg.dot
diff --git a/thesis2/preamble.tex b/thesis2/preamble.tex
new file mode 100644 (file)
index 0000000..887cf47
--- /dev/null
@@ -0,0 +1,51 @@
+\documentclass[twopage,titlepage]{book}
+
+\usepackage{algorithm2e}               % Pseudocode
+\usepackage{a4wide}                    % Paper size
+\usepackage{graphicx}                  % Eps inclusion
+\usepackage{float}                     % Floating placement of figures
+\usepackage{listings}                  % Source code formatting
+\usepackage{setspace}                  % Line spacing abstract
+\usepackage{hyperref}                  % Hyperlinks
+\usepackage{amssymb}                   % nexists and much more
+\usepackage{amsmath}                   % Rightarrow and much more
+\usepackage{marvosym}                  % For euro sign
+
+\lstset{%
+       basicstyle=\footnotesize,
+       numbers=left,
+       numberstyle=\tiny,
+       breaklines=true,
+       showspaces=false,
+       showstringspaces=false,
+       tabsize=2,
+}
+
+\graphicspath{ {./img/} }
+
+\newcommand{\cvartitle}{Adaptable crawler specification generation system for %
+leisure activity RSS feeds}
+
+% Setup hyperlink formatting
+\hypersetup{
+       pdftitle={\cvartitle},
+       pdfauthor={Mart Lubbers},
+       pdfsubject={Artificial Intelligence},
+       hidelinks
+}
+
+% Describe the frontpage
+\author{
+       Mart Lubbers\\
+       s4109053\\
+       Radboud University Nijmegen\\
+       \strut\\
+       Alessandro Paula\footnote{External supervisor}\\
+       Hyperleap, Nijmegen\\
+       \strut\\
+       Franc Grootjen\footnote{Internal supervisor}\\
+       Artificial Intelligence, Nijmegen\\
+       Radboud University Nijmegen
+}
+\title{\cvartitle} 
+\date{\today}
index e4074ee..a5f4ca5 100644 (file)
@@ -1,53 +1,4 @@
-\documentclass[twopage,titlepage]{book}
-
-\usepackage{algorithm2e}               % Pseudocode
-\usepackage{a4wide}                    % Paper size
-\usepackage{graphicx}                  % Eps inclusion
-\usepackage{float}                     % Floating placement of figures
-\usepackage{listings}                  % Source code formatting
-\usepackage{setspace}                  % Line spacing abstract
-\usepackage[dvipdfmx]{hyperref}                % Hyperlinks
-\usepackage{amssymb}                   % nexists and much more
-\usepackage{amsmath}                   % Rightarrow and much more
-\usepackage{marvosym}                  % For euro sign
-
-\lstset{%
-       basicstyle=\footnotesize,
-       numbers=left,
-       numberstyle=\tiny,
-       breaklines=true,
-       showspaces=false,
-       showstringspaces=false,
-       tabsize=2,
-}
-
-\newcommand{\cvartitle}{Adaptable crawler specification generation system for %
-leisure activity RSS feeds}
-
-% Setup hyperlink formatting
-\hypersetup{
-       pdftitle={\cvartitle},
-       pdfauthor={Mart Lubbers},
-       pdfsubject={Artificial Intelligence},
-       hidelinks
-}
-
-% Describe the frontpage
-\author{
-       Mart Lubbers\\
-       s4109053\\
-       Radboud University Nijmegen\\
-       \strut\\
-       Alessandro Paula\footnote{External supervisor}\\
-       Hyperleap, Nijmegen\\
-       \strut\\
-       Franc Grootjen\footnote{Internal supervisor}\\
-       Artificial Intelligence, Nijmegen\\
-       Radboud University Nijmegen
-}
-\title{\cvartitle} 
-\date{\today}
-
+%&thesis
 \begin{document}
 \maketitle
 \tableofcontents