\usepackage[spanish]{babel}
\usepackage[latin1]{inputenc}
\usepackage[T1]{fontenc}

\newenvironment{span}{}{}
\ifx\pdfoutput\undefined
  \newcommand\trademark[1]{\textsf{\upshape{#1}}}
  \newcommand\foreign[1]{\textrm{\em{#1}}}
\message{debug 1}
\else
  \RequirePackage[colorlinks,hyperindex]{hyperref}
  \def\pdfBorderAttrs{/Border [0 0 0] }
  \usepackage[pdftex]{graphicx}
  \renewcommand\normalfont{\fontfamily{phv}\itshape\selectfont}
  \newcommand\trademark[1]{{\upshape{#1}}}
  \newcommand\foreign[1]{\emph{\fontfamily{ppl}{#1}}}
\message{debug 2}
\fi
\include{uanhead}
\message{debug 3}

%\newenvironment{lista}{\begin{itemize}\setlength{\parskip}{-0.2ex}}{\end{itemize}}
\newenvironment{preliminares}{
  \frontmatter\normalfont
 }{
%  \end{itshape}\end{hvfamily}
 }
\newenvironment{principal}{
  \mainmatter\normalfont%
  \setlength{\parindent}{1.5em}%
  \setlength{\parskip}{0.5ex plus 0.2ex minus 0.1ex}
 }{
%  \end{itshape}\end{hvfamily}
 }
\newenvironment{posterior}{
  \backmatter\normalfont%
  \setlength{\parindent}{1.5em}%
  \setlength{\parskip}{0.5ex plus 0.2ex minus 0.1ex}
 }{
%  \end{itshape}\end{hvfamily}
 }

\newcommand\uanarino{Universidad Antonio Nariņo}
\newcommand\UAN{U\hspace{0.1em}A\hspace{0.1em}N}
\newcommand\laU{la Universidad}
\providecommand\address[1]{}
\providecommand\email[1]{}

%\include{hyphes}
\include{hyphesp}

\ifx\pdfoutput\undefined
  \newcommand\LOGOUAN{\makebox[50mm]{\hspace{-50mm}\special{isoscale logouan2.wmf, 50mm 20mm}}\vspace{20mm}}
  \newcommand\LogoUAN{\makebox[35mm]{\hspace{-35mm}\special{isoscale logouan2.wmf, 35mm 14mm}}\vspace{14mm}}
  \newcommand\LogoUan{\makebox[25mm]{\hspace{-25mm}\special{isoscale logouan2.wmf, 25mm 10mm}}\vspace{10mm}}
  \newcommand\logouan{\makebox[15mm]{\hspace{-15mm}\special{isoscale logouan2.wmf, 15mm  6mm}}\vspace {6mm}}
\else
  \newcommand\LOGOUAN{\makebox[50mm]{\includegraphics[width=50mm]{logouan.png}}}
  \newcommand\LogoUAN{\makebox[35mm]{\includegraphics[width=35mm]{logouan.png}}}
  \newcommand\LogoUan{\makebox[25mm]{\includegraphics[width=25mm]{logouan.png}}}
  \newcommand\logouan{\raisebox{-5mm}{\includegraphics[width=15mm]{logouan.png}}}
\fi

\message{debug 4}