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
Best Answer
I have found the solution here.
Option clash with hyperref
The answer is to completely ignore hyperref errors and ensure that all of the other errors - e.g. missing pictures are in place. If the above error is the only error in the document, it compiles nevertheless