initial commit
authorMart Lubbers <mart@martlubbers.net>
Fri, 25 Sep 2015 13:10:33 +0000 (15:10 +0200)
committerMart Lubbers <mart@martlubbers.net>
Fri, 25 Sep 2015 13:10:33 +0000 (15:10 +0200)
.gitignore [new file with mode: 0644]
Assignment1.pdf [new file with mode: 0644]
Makefile [new file with mode: 0644]
preamble.tex [new file with mode: 0644]
tt.bib [new file with mode: 0644]
tt.tex [new file with mode: 0644]

diff --git a/.gitignore b/.gitignore
new file mode 100644 (file)
index 0000000..e5da059
--- /dev/null
@@ -0,0 +1,8 @@
+tt.fmt
+tt.aux
+tt.bbl
+tt.blg
+tt.log
+tt.out
+tt.toc
+tt.pdf
diff --git a/Assignment1.pdf b/Assignment1.pdf
new file mode 100644 (file)
index 0000000..976ac12
Binary files /dev/null and b/Assignment1.pdf differ
diff --git a/Makefile b/Makefile
new file mode 100644 (file)
index 0000000..e8a2b67
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,22 @@
+SHELL:=/bin/bash
+LATEX=pdflatex
+
+OUTPUT:=tt.pdf
+BASEOUTPUT:=$(basename $(OUTPUT))
+
+.SECONDARY: $(addsuffix .fmt,$(BASEOUTPUT))
+.PHONY: clobber graphs
+
+all: $(OUTPUT)
+
+%.pdf: $(SOURCES) %.fmt
+       $(LATEX) $(basename $@)
+       bibtex $(basename $@)
+       $(LATEX) $(basename $@)
+       $(LATEX) $(basename $@)
+
+%.fmt: preamble.tex
+       $(LATEX) -ini -jobname="$(basename $@)" "&$(LATEX) $<\dump"
+
+clean:
+       $(RM) -v $(addprefix $(BASEOUTPUT).,fmt aux bbl blg dvi log out toc pdf)
diff --git a/preamble.tex b/preamble.tex
new file mode 100644 (file)
index 0000000..7a2147d
--- /dev/null
@@ -0,0 +1,12 @@
+\documentclass[titlepage]{article}
+
+\usepackage{a4wide}
+\usepackage{hyperref}
+
+\author{%
+       Charlie Gerhardus\and
+       Pim Jager\and
+       Mart Lubbers
+}
+\title{Test approach for TCP} 
+\date{\today}
diff --git a/tt.bib b/tt.bib
new file mode 100644 (file)
index 0000000..82c8325
--- /dev/null
+++ b/tt.bib
@@ -0,0 +1,13 @@
+@misc{rfc793,
+  author="J. Postel",
+  title="{Transmission Control Protocol}",
+  series="Request for Comments",
+  number="793",
+  howpublished="RFC 793 (INTERNET STANDARD)",
+  publisher="IETF",
+  organization="Internet Engineering Task Force",
+  year=1981,
+  month=sep,
+    note="Updated by RFCs 1122, 3168, 6093, 6528",
+  url="http://www.ietf.org/rfc/rfc793.txt",
+}
diff --git a/tt.tex b/tt.tex
new file mode 100644 (file)
index 0000000..60b70b2
--- /dev/null
+++ b/tt.tex
@@ -0,0 +1,14 @@
+%&tt
+\begin{document}
+\maketitle
+\tableofcontents
+\newpage
+
+\section{Introduction}
+Hello World!~\cite{rfc793}.
+
+\newpage
+\bibliographystyle{plain}
+\bibliography{tt}
+
+\end{document}