\documentclass[11pt, a4paper]{article}
\usepackage[latin1]{inputenc}
\usepackage[
pdfauthor={Jean-Etienne Poirrier},
pdftitle={Example of transformation from LaTeX to PDF},
pdfsubject={LaTeX and PDF},
pdfkeywords={LaTeX,PDF}
]{hyperref}

\begin{document}

\sffamily

\title{Example of transformation from \LaTeX\ to PDF}
\author{Jean-Etienne Poirrier\thanks{\href{mailto:jeanetienne@nospam.poirrier.be}{jeanetienne@nospam.poirrier.be}}}
\date{}

\maketitle

\tableofcontents

\newpage

\section{First section}

This is some text in the first section.

\subsection{First subsection in first section}

This is some text in the first subsection of the first section.

\newpage

\section{Section section}

This is some text in the second section.

Well, I'll put an end to this example.

Now execute ``\texttt{pdflatex latex2pdf-example.tex}'' and see the result with ''\texttt{pdflatex latex2pdf-example.pdf \&}''. Enjoy !

\end{document}
