Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I am using TeXworks 0.4.5 r1280 with MikTeX 2.9 on Windows 7 64-bit. When I add

\usepackage{datetime}

and try to typeset the document, I get a dialog window like this:

Package Installation Window

I select "Install", confirm UAC request and then get the following error on the console:

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

If I try to typeset the document again - the dialog and the error appear again.

Same thing happens when I've tried installing wrapfig and a few other packages at random: cases, comma, dowith, microtype. Other packages have installed fine before. What is wrong with my setup? Please let me know if you need more info about my setup in comments.

I've tried this solution: *.sty file not found. Didn't work.

share|improve this question
2  
Try to change the repository using the button change. Select another one and check you Internet connection. –  Sigur Jan 3 at 15:22
    
Also, you can get it here ctan.org/pkg/datetime –  Sigur Jan 3 at 15:28
    
Awesome. Changing the repository helped. Please add your comment as an answer so that I can mark it as such. Thanks a lot. –  Sergiy Byelozyorov Jan 3 at 15:31

1 Answer 1

up vote 3 down vote accepted

Try to change the repository using the button Change.

Select another one and check you Internet connection.

Also, you can get it from CTAN.

Note that you can decide if you want to see that dialog window every time or not.

share|improve this answer
    
Please add instructions on how to install it manually from CTAN. –  Sergiy Byelozyorov Jan 10 at 18:25
    
If there is only one sty file you can save it at the same folder as your tex file. But to let it work for all users you have to save it on the right place in some texmf subfolder. –  Sigur Jan 10 at 18:34

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.