# \listoftodos in Todo list missing hyperlinks and colors in my document

I'm trying to add a \listoftodos using the todonotes package to a template file I have. I've added two todos with \todo[inline]{Write abstract \ldots} and \todo{Fill in these details \ldots}. I'm using TextMate to render my document on Mac Osx.

My list of todos in my document looks like this:

My table of contents (in Estonian) looks like this (I think it might be interfering with the styling):

And finally, the intended behaviour and styling from todonotes documentation looks like this with hyperlinks and colors:

Do you have any ideas how to debug the styling issues with rendering todos?

Add the option [colorinlistoftodos] to your documentclass, see 1.2 Package options,p.4:colorinlistoftodos.

colorinlistoftodos:

Adds a small colored square in front of all items in the Todo list.

For hyperlinks you nedd \usepackage{hyperref} or without box \usepackage[hidelinks]{hyperref}.

MWE:

\documentclass[colorinlistoftodos]{scrartcl}
\usepackage{todonotes}

\begin{document}

\listoftodos

\section{Contents}
\todo[color=green!40]{And a green note}
test text \todo{test}
\todo{Make a cake \ldots}
\todo[linecolor=green!70!white, backgroundcolor=blue!20!white,
bordercolor=red]{Anything but default colors}
\end{document}

• Great, I see the colors now! But I'm still missing the hyperlinks to the todos... Do you have the hyperlinks in your doc? Mar 11 '17 at 10:28
• Do you mean \usepackage{hyperref} or \usepackage[hidelinks]{hyperref}? Mar 11 '17 at 10:39
• @craastad Be careful, if your document is typeset in draft mode (i. e. you have given the option \documentclass[draft,...]{scrartcl}, hyperlinks won't be activated. just replace draft with final and everything should be fine.
– Jan
Mar 11 '17 at 10:54