In continuation of a question asked here, why is it that
This doesn't work (\ref{} inside the description)
Complete MWE:
\documentclass[12pt, oneside, a4paper]{article}
\usepackage{xcolor}% for colors
\usepackage{enumitem}% Blue and bold numbers
\usepackage[colorlinks=true,
urlcolor=VIARed,
linkcolor=VIARed]{hyperref}% Define clickable URL without boundaries around them
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%% Colour Declarations
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\definecolor{VIAGray}{HTML}{575759}
\definecolor{VIARed}{HTML}{C40F39}
\setlist[description,1]{font=\color{VIAGray}\MakeUppercase}
\setlist[description,2]{font=\color{VIAGray}\MakeUppercase}
\setlist[description,3]{font=\color{VIAGray}\MakeUppercase}
\begin{document}
\section{some section}\label{fn:onlyCol}
\begin{description}
\item[Activate brilliant feature\textsuperscript{\ref{fn:onlyCol}}] Activates the above mentioned brilliant feature.
\end{description}
\end{document}
May I ask why?
Do let me know if I can provide any more details.
EDIT:
MWE complete. Of course I also want to know 'how' to make it work. Not just the why? :P
LaTeX Warning: Reference \fn:onlyCol' on page 1 undefined on input line 29.because you have a\refbut never set a\label` with that value. – David Carlisle Dec 19 '16 at 11:00aaaaaa\footnote{\label{fn:onlyCol}aaaaaaa}after\begin{document}the reference works as expected. – David Carlisle Dec 19 '16 at 11:04\ref{}was outside the\item[]. I have corrected the MWE. So the problem appears now... – abyshukla Dec 19 '16 at 11:06