I'm using a template .cls that defines hyperref with the following attributes:
% ...
\RequirePackage{color}
\definecolor{foo}{rgb}{.5,.5,.5}
\RequirePackage[colorlinks=true,linkcolor=foo,citecolor=foo,filecolor=foo,menucolor=foo,urlcolor=foo]{hyperref}
% ...
This is primarily to auto-color URLs.
I'm using orcidlink like this:
\documentclass{bar}
\usepackage{orcidlink}
\begin{document}
Look: \orcidlink{0009-0008-8088-9837}
\end{document}
Leading to the error ! Package xcolor Error: Undefined color model '.`
When changing the hyperref option to colorlinks=false it will work, however I can't change the options as it affects the entire link formatting of the document.
Any ideas how solve this?
I'm using a template
.clsthat defineshyperrefwith the following attributes:This is primarily to auto-color URLs.
I'm using orcidlink like this:
Leading to the error
! Package xcolor Error: Undefined color model'.`When changing the hyperref option to
colorlinks=falseit will work, however I can't change the options as it affects the entire link formatting of the document.Any ideas how solve this?