Preface: I am not good with Latex. Nor do I know the proper formatting for this type of inquiry.
Someone has sent me some source code, and I am getting this error when I try to create the PDF:
! Package hyperref Error: Wrong DVI mode driver option `dvips',
(hyperref) because pdfTeX or LuaTeX is running in PDF mode.
See the hyperref package documentation for explanation.
Type H <return> for immediate help.
...
l.4393 \ProcessKeyvalOptions{Hyp}
Here is part of the preamble:
\documentclass{book}
\usepackage[T1]{fontenc}
\usepackage{textcomp}
\renewcommand{\rmdefault}{ptm}
\usepackage[scaled=0.92]{helvet}
\usepackage[psamsfonts]{amsfonts}
\usepackage{amsmath, amsbsy, upref, wtrench}
\usepackage[dvips, bookmarks, colorlinks=true, plainpages = false,
citecolor = blue, urlcolor = blue, filecolor =
blue]{hyperref}
\setcounter{secnumdepth}{2}
\numberwithin{equation}{section}
\numberwithin{exercise}{section}
\numberwithin{example}{section}
\numberwithin{theorem}{section}
\numberwithin{figure}{section}
\setcounter{chapter}{1}
\input seteps