I am trying to make my first submission to arXiv. I have a document with multiple include modules and images. When arXiv compiles it, it throws a lot of output, the major error being:
! LaTeX Error: Unknown option 'nameinlink' for package 'cleveref'.
Needless to say that the document compiles no problem on my machine.
I will write the document preamble here, perhaps it is of any help
\documentclass[a4paper,11pt]{article}
\usepackage[sort&compress,super]{natbib}
\usepackage[T1]{fontenc}
\usepackage[english]{babel}
\usepackage{amsmath, esint}
\usepackage{amssymb}
\usepackage{graphicx}
\usepackage{tabularx}
\usepackage{caption}
\usepackage{subcaption}
\usepackage{url}
\usepackage{array}
\usepackage{algorithm,algorithmic}
\usepackage{tikz}
\usepackage{url}
\usetikzlibrary{arrows}
\usetikzlibrary{mindmap,trees}
\usepackage[overlay,absolute]{textpos}
\usepackage{wrapfig}
\usepackage{makeidx}
\usepackage{listings}
\usepackage{color}
\usepackage{xcolor}
\usepackage{enumitem}
\usepackage[normalem]{ulem}
\usepackage{mathtools}
\usepackage{lscape}
\usepackage{hyperref}
\usepackage{cleveref}
\usepackage{mdframed}
\definecolor{mycolor}{rgb}{0.122, 0.435, 0.698}
Please help
EDIT
Removing [nameinlink] from cleveref brings me one step further:
! LaTeX Error: Option clash for package hyperref.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.107 \begin
{document}
?
! Emergency stop.
...
EDIT 2
Sorry, I forgot the mdframed in the original post
[nameinlink]– David Carlisle Dec 07 '16 at 14:09htext of that message shows exactly which option is clashing I'm not sure if you can get that back from arxiv? otherwise perhaps there system adds hyperref in which case you could simply comment out your\usepackage{hyperref}– David Carlisle Dec 07 '16 at 15:47