This question already has an answer here:

I am trying to compile a template which uses the "todonotes" package, which I have found here: https://www.ctan.org/tex-archive/macros/latex/contrib/todonotes/?lang=en

When I run latex on the template I get the following message printed to terminal:

! LaTeX Error: File `todonotes.sty' not found.

I realize that I need to include the .sty file in the directory from which I compile. However the .sty is not available for download from anywhere that I can find. The files todonotes.dtx and todonotes.ins are available for download on the quoted CTAN page.

How do I get the todonotes.sty file? Do I need to somehow generate it from the .dtx and .ins files?

marked as duplicate by user36296, user31729, Zarko, Rico, Joseph Wright Jan 2 '16 at 22:30

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

migrated from stackoverflow.com Dec 28 '15 at 0:42

This question came from our site for professional and enthusiast programmers.

  • 2
    Welcome! Don't download it manually. Use your TeX distribution's package manager to install the package. Both MikTeX and TeX Live provide package managers and this package is part of standard TeX distributions. I'm guessing you are either using MikTeX or a Linux distro's TeX Live packages. In the second case, you should find out which package your distro includes todonotes.sty in. This will depend on your distro. (Or consider the easier option of ditching your distro's TeX Live packages and installing vanilla from upstream ;).) – cfr Dec 28 '15 at 1:48
  • 5
    See How do I install a .dtx file? – Werner Dec 28 '15 at 7:24

Browse other questions tagged or ask your own question.