\documentclass[a4paper,11pt]{article}
% define the title
\author{H.~Partl}
\title{Minimalism}
\begin{document}
% generates the title
\maketitle
% insert the table of contents
\tableofcontents
\section{Some Interesting Words}
Well, and here begins my lovely article.
\section{Good Bye World}
\ldots{} and here it ends.
\end{document}
latex whatever.tex
xdvi whatever.dvior create a pdf with dvipdf:
dvipdf whatever.dvi
latex mathdots.insBut you will still have to put the .sty and possibly a .tex file somewhere on the latex search path. The search path is controlled by the TEXINPUTS environment variable, so have a look at the value and either copy to a directory on the existing search path, or modify the environment variable (perhaps in your .bashrc file) to include a directory of your choice.