2

I am getting the option clash error and I can't seem to figure out why. Here is my preamble:

\documentclass[preprint]{elsarticle}
\usepackage{amssymb} %for \mathbb{}
\usepackage{amsmath} % for underbrace annotations
\usepackage{mathtools} % for underbrace annotations
\usepackage{enumitem} % for command "\begin{enumerate}[noitemsep]"
\usepackage{color} % for command "{\color{blue} TXTTXTTXT}
\usepackage[normalem]{ulem} % for command \uwave{TXTTXT}
\usepackage{float} % for \begin{figure}[H]
\usepackage{graphicx}
\usepackage{epstopdf}
\usepackage[colorlinks]{hyperref}
\usepackage{setspace}
\usepackage{verbatim}
\usepackage{pseudocode}
\usepackage{natbib}
\bibliographystyle{plainnat}
%\bibliography{Refs}
%\bibliographystyle{agsm}

\usepackage{lipsum}       % for sample text
\usepackage{changepage}

\usepackage{pstricks-add} % for crazy drawings
\usepackage{tikz}
Gonzalo Medina
  • 505,128
  • Welcome to TeX.SE! After appending the instructions \begin{document}, "Hello World", and \end{document} to your code in order to make it compilable, I am unable to generate any option clash-type errors. Please make your code fully compilable while generating the error you mention above. – Mico Jun 23 '15 at 04:41
  • Ok. Here is the error I get from arXiv after compiling: Package hyperref Message: Driver (default): hdvips.

    (/texlive/2011/texmf-dist/tex/latex/hyperref/hdvips.def (/texlive/2011/texmf-dist/tex/latex/hyperref/pdfmark.def (/texlive/2011/texmf-dist/tex/latex/oberdiek/rerunfilecheck.sty)))

    ! LaTeX Error: Option clash for package hyperref.

    See the LaTeX manual or LaTeX Companion for explanation. Type H for immediate help. ...

    l.132 \begin {document} ? ! Emergency stop.

    – Martin Charles Jun 23 '15 at 06:20
  • Thanks for these extra pieces of information. I'm not doubting that you're getting an error message, by the way. The issue is that without an MWE that gives rise to the problem, it's very unlikely that someone will manage to come up with a correct diagnosis, let alone a cure. – Mico Jun 23 '15 at 06:27
  • 2
    I noticed this issue is often raised by arXiv seemingly without reasons, but you can ignore it, if there are no other errors compilation will succeed. If it fails, probably there are other errors that should be actually addressed. – giordano Aug 18 '15 at 13:54

0 Answers0