# Error while using 'author' option in 'todonotes' package

I am trying to use the `author` option in the `\todo` command provided by `todonotes` package. This is clearly mentioned in its manual. Following is the code snippet and the error it produces:

Snippet:

``````\usepackage{todonotes}
\todo[author=Doe]{This is a comment.}
``````

Error:

``````! Package xkeyval Error: `author' undefined in families `todonotes'.

See the xkeyval package documentation for explanation.
``````
• No problem here when using a MWE. – Werner May 14 '14 at 21:44

Probably you have to update package `todonotes`, from its source `todonotes.dtx`:

``````% \changes{0.9.9}{2011/10/22}{Added author option, implementation provided by
%             Xavier Alameda-Pineda. [...]
``````
• If this is the case, then a distribution update would make this a duplicate. – Werner May 14 '14 at 22:50
• You are right. Installed version of todonotes is old (2011/04/21). However, I don't have the super user privileges to upgrade this package. Is there a virtual environment builder for latex like `virtualenv` for python or `cabal` (?) for haskell? – shoban May 14 '14 at 23:35
• @shoban: If you are using TeX Live, then you can put the updated file in the `TEXMFHOME` tree, usually: `~/texmf/tex/latex/todonotes/todonotes.sty`. – Heiko Oberdiek May 14 '14 at 23:48