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.

File subfigure.sty not found.

How can I fix this error? I compile my .tex file without any error with my laptop but I get this error when I compile with my office PC.

share|improve this question
1  
Seeing your comment at Heiko's answer, your problem seems to be a duplicate of Windows API error 5: “Access is denied” when trying to compile TikZ picture and not the one you've described in your question. –  karlkoeller Jul 1 '13 at 9:14

2 Answers 2

up vote 7 down vote accepted

Both TeX Live and MiKTeX provide both subfigure and subfig as distribution packages. Both packages are written by the same author. The newer package subfig replaces the older package, but it is not fully backward compatible (see the package documentation).

Unless you have an ancient TeX distribution, you can install the missing package via the package manager of your TeX distribution. As subfigure is deprecated, you might consider using package subfig instead (the latter also requires package caption).

share|improve this answer
    
although i am the admin i can not install the missing package via the package manager since i m getting error Windows API error 5: Access is denied –  andii Jul 1 '13 at 8:11
1  
Try reading this duplicate: Updating MikTeX fails: “Windows API error 5: Acces denied.” and the related question. –  karlkoeller Jul 1 '13 at 9:07

If you have no rights to install packages on your office PC, simply put the file subfigure.sty (e.g. http://www.tug.org.in/tutorial/src/subfigure.sty) into your working directory.

share|improve this answer

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.