\RequirePackage{pdf}
\RequirePackage{utf8}

\ifpdf
  \RequirePackage[final,unicode,pdftex,pdfcreator={pdftex}]{hyperref}
%  \RequirePackage{ae, aecompl}
  \pdfcompresslevel=7
  \newcommand{\burlalt}[2]{\href{#1}{#2}}
  \newcommand{\burl}[1]{\url{#1}}
\else
  \RequirePackage[final,unicode,ps2pdf,pdfcreator={dvips/ps2pdf}]{hyperref}
  \RequirePackage{breakurl}
\fi

\hypersetup {
  hyperindex=true,
  backref=true,
  pagebackref=true,
  pageanchor=true,
  breaklinks=true,
  bookmarks=true,
  bookmarksnumbered=true,
  bookmarksopen=true,
  bookmarksopenlevel=1,
  linkcolor=black,
  linkbordercolor=1 1 1,
  urlcolor=black,
  urlbordercolor=1 1 1,
  anchorcolor=black,
  citecolor=black,
  citebordercolor=1 1 1,
  filecolor=black,
  filebordercolor=1 1 1,
  pagecolor=black,
  pagebordercolor=1 1 1,
  menucolor=black,
  menubordercolor=1 1 1,
  pdfhighlight=/N,
  pdfborder=0 0 0,
  pdfstartview=FitB,
%  implicit=false
}

\newcommand{\link}[1] {\burl{#1}}
\newcommand{\email}[1] {\tterm{<}\burlalt{mailto:#1}{#1}\tterm{>}}
