diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..567609b --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +build/ diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..bd280e1 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,6 @@ +sudo: required +dist: trusty +before_install: +- sudo apt-get -qq update +- sudo apt-get install -y --no-install-recommends latexmk texlive-fonts-recommended texlive-latex-extra texlive-fonts-extra dvipng texlive-latex-recommended texlive-science +script: make diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..bab2efa --- /dev/null +++ b/Makefile @@ -0,0 +1,17 @@ +# File: Makefile +SHELL = /bin/bash +PROJECT = thesis + +.PHONY = all clean + +.PRECIOUS: $(PROJECT).ps + +all: pdf + +pdf: $(PROJECT).pdf + +%.pdf: %.tex Makefile *.tex *.sty + latexmk -bibtex -pdf -interaction=nonstopmode -halt-on-error -outdir=build $(<) + +force: + $(MAKE) -W $(PROJECT).tex diff --git a/README.md b/README.md new file mode 100644 index 0000000..58edf23 --- /dev/null +++ b/README.md @@ -0,0 +1,34 @@ +# Official SERG-Delft template master thesis + +This repository hosts the source code for the official LateX template for a master thesis at SERG-Delft. + +We reccomend you read and follow suggestions from the [LaTeX advice guide](https://github.com/dspinellis/latex-advice). + +## Import for ShareLatex + +If you would like to import this template into ShareLatex, perform the following steps: + +1. Click the green "Clone or download"-button in the top-right corner of https://github.com/SERG-Delft/thesis-template +1. Click "Download ZIP" +1. Log in on https://www.sharelatex.com +1. Click "New Project" in the top-left corner of https://www.sharelatex.com/project +1. Click "Upload Project" +1. Click "Select a .zip file" +1. Select the ZIP you just downloaded + +**:warning: Important! :warning:** + +ShareLatex does not parse the `*.ps` files in `img/`. +These files should therefore be manually uploaded to the ShareLatex project to have a non-erroring build. + +## Build instructions + +If you would like to build this project on your local machine, ensure that `texlive-full` is installed. +You can follow the instructions on https://www.tug.org/texlive/quickinstall.html but the TLDR for Debian-based systems is: + +```bash +sudo apt-get install texlive-full +sudo apt-get install latexmk +``` + +Then run `make` and the project should build. diff --git a/thesis-style/a4.sty b/a4.sty similarity index 100% rename from thesis-style/a4.sty rename to a4.sty diff --git a/thesis-style/abstract.tex b/abstract.tex similarity index 100% rename from thesis-style/abstract.tex rename to abstract.tex diff --git a/thesis-style/appendix.tex b/appendix.tex similarity index 100% rename from thesis-style/appendix.tex rename to appendix.tex diff --git a/thesis-style/chapter.tex b/chapter.tex similarity index 100% rename from thesis-style/chapter.tex rename to chapter.tex diff --git a/thesis-style/conclusions_and_future_work.tex b/conclusions_and_future_work.tex similarity index 100% rename from thesis-style/conclusions_and_future_work.tex rename to conclusions_and_future_work.tex diff --git a/distributions/thesis-style_20070705.zip b/distributions/thesis-style_20070705.zip deleted file mode 100644 index 3b27d8b..0000000 Binary files a/distributions/thesis-style_20070705.zip and /dev/null differ diff --git a/distributions/thesis-style_20080912.pdf b/distributions/thesis-style_20080912.pdf deleted file mode 100755 index 0a531b6..0000000 Binary files a/distributions/thesis-style_20080912.pdf and /dev/null differ diff --git a/distributions/thesis-style_20080912.zip b/distributions/thesis-style_20080912.zip deleted file mode 100644 index 283ce29..0000000 Binary files a/distributions/thesis-style_20080912.zip and /dev/null differ diff --git a/distributions/thesis-style_20080915.pdf b/distributions/thesis-style_20080915.pdf deleted file mode 100755 index 3966be7..0000000 Binary files a/distributions/thesis-style_20080915.pdf and /dev/null differ diff --git a/distributions/thesis-style_20080915.zip b/distributions/thesis-style_20080915.zip deleted file mode 100644 index 4733c21..0000000 Binary files a/distributions/thesis-style_20080915.zip and /dev/null differ diff --git a/distributions/thesis-style_20090127.pdf b/distributions/thesis-style_20090127.pdf deleted file mode 100755 index fbd324b..0000000 Binary files a/distributions/thesis-style_20090127.pdf and /dev/null differ diff --git a/distributions/thesis-style_20090127.zip b/distributions/thesis-style_20090127.zip deleted file mode 100644 index 9d928c6..0000000 Binary files a/distributions/thesis-style_20090127.zip and /dev/null differ diff --git a/distributions/thesis-style_20141127.pdf b/distributions/thesis-style_20141127.pdf deleted file mode 100644 index ca008cc..0000000 Binary files a/distributions/thesis-style_20141127.pdf and /dev/null differ diff --git a/distributions/thesis-style_20141127.zip b/distributions/thesis-style_20141127.zip deleted file mode 100644 index 45399da..0000000 Binary files a/distributions/thesis-style_20141127.zip and /dev/null differ diff --git a/distributions/thesis-style_20150422.pdf b/distributions/thesis-style_20150422.pdf deleted file mode 100644 index 5c87cac..0000000 Binary files a/distributions/thesis-style_20150422.pdf and /dev/null differ diff --git a/distributions/thesis-style_20150422.zip b/distributions/thesis-style_20150422.zip deleted file mode 100644 index 9e2fe6e..0000000 Binary files a/distributions/thesis-style_20150422.zip and /dev/null differ diff --git a/thesis-style/img/hilbert.ps b/img/hilbert.ps similarity index 100% rename from thesis-style/img/hilbert.ps rename to img/hilbert.ps diff --git a/thesis-style/img/maze.ps b/img/maze.ps similarity index 100% rename from thesis-style/img/maze.ps rename to img/maze.ps diff --git a/thesis-style/img/tudelft_logo_bw.eps b/img/tudelft_logo_bw.eps similarity index 100% rename from thesis-style/img/tudelft_logo_bw.eps rename to img/tudelft_logo_bw.eps diff --git a/thesis-style/introduction.tex b/introduction.tex similarity index 100% rename from thesis-style/introduction.tex rename to introduction.tex diff --git a/thesis-style/lipsum.sty b/lipsum.sty similarity index 100% rename from thesis-style/lipsum.sty rename to lipsum.sty diff --git a/thesis-style/mscthesis.sty b/mscthesis.sty similarity index 100% rename from thesis-style/mscthesis.sty rename to mscthesis.sty diff --git a/thesis-style/preface.tex b/preface.tex similarity index 100% rename from thesis-style/preface.tex rename to preface.tex diff --git a/thesis-style/related_work.tex b/related_work.tex similarity index 100% rename from thesis-style/related_work.tex rename to related_work.tex diff --git a/thesis-style/requirements.tex b/requirements.tex similarity index 100% rename from thesis-style/requirements.tex rename to requirements.tex diff --git a/thesis-style/Makefile b/thesis-style/Makefile deleted file mode 100644 index fe59245..0000000 --- a/thesis-style/Makefile +++ /dev/null @@ -1,40 +0,0 @@ -# File: Makefile -SHELL = /bin/bash -PROJECT = thesis -PS2PDF = ps2pdf14 -DVIPS_FLAGS = -Pcmz -Pamz -tA4 - -.PHONY = all clean - -.PRECIOUS: $(PROJECT).ps - -all: pdf - -pdf: $(PROJECT).pdf - -view: $(PROJECT).pdf - acroread $(<) - -%.pdf: %.ps - $(PS2PDF) $(<) $(@) - -%.ps: %.dvi - dvips $(DVIPS_FLAGS) -o $(@) $(<) - -%.dvi: %.tex Makefile *.tex *.sty - latex $(<) - -bibtex $(PROJECT) - latex $(<) - latex $(<) - -force: - $(MAKE) -W $(PROJECT).tex - -clean: - rm -f *.{out,brf,toc,lof,bbl,blg,bak,aux,dvi,ps,log} *~ - -dist: pdf clean - ( cd .. ; \ - rm -rf thesis-style_`date +%Y%m%d`.zip ; \ - zip -r thesis-style_`date +%Y%m%d`.zip thesis-style -x \*/.svn/\* \*/auto/\* ) - cp thesis.pdf ../thesis-style_`date +%Y%m%d`.pdf diff --git a/thesis-style/thesis.pdf b/thesis-style/thesis.pdf deleted file mode 100644 index 9700b4a..0000000 Binary files a/thesis-style/thesis.pdf and /dev/null differ diff --git a/thesis-style_20160608.pdf b/thesis-style_20160608.pdf deleted file mode 100644 index 9700b4a..0000000 Binary files a/thesis-style_20160608.pdf and /dev/null differ diff --git a/thesis-style_20160608.zip b/thesis-style_20160608.zip deleted file mode 100644 index 90a496a..0000000 Binary files a/thesis-style_20160608.zip and /dev/null differ diff --git a/thesis-style/thesis.bib b/thesis.bib similarity index 100% rename from thesis-style/thesis.bib rename to thesis.bib diff --git a/thesis-style/thesis.tex b/thesis.tex similarity index 100% rename from thesis-style/thesis.tex rename to thesis.tex