--- /dev/null
+tt.fmt
+tt.aux
+tt.bbl
+tt.blg
+tt.log
+tt.out
+tt.toc
+tt.pdf
--- /dev/null
+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)
--- /dev/null
+\documentclass[titlepage]{article}
+
+\usepackage{a4wide}
+\usepackage{hyperref}
+
+\author{%
+ Charlie Gerhardus\and
+ Pim Jager\and
+ Mart Lubbers
+}
+\title{Test approach for TCP}
+\date{\today}
--- /dev/null
+@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",
+}
--- /dev/null
+%&tt
+\begin{document}
+\maketitle
+\tableofcontents
+\newpage
+
+\section{Introduction}
+Hello World!~\cite{rfc793}.
+
+\newpage
+\bibliographystyle{plain}
+\bibliography{tt}
+
+\end{document}