# LaTeX error file 'ulem.sty' not found in windows

while trying to read a file as PDF (`pdflatex`) I get this error:

``````LaTeX error: file 'ulem.sty' not found
``````

I have searched far and wide on the web, but I can't figure out how to fix this.

Things I have already tried:

• Reinstalling LyX
• Tools -> reconfigure

Without any results unfortunatly.

Any help would be appreciated!

BTW: I am using MiKTex 2.9.

-
Lyx does not install packages: that is down to your TeX distribution. Which one do you use? (MiKTeX or TeX Live are the common choices.) – Joseph Wright May 8 '13 at 11:55
I am using MiKTeX 2.9, I will update my question – Gutanoth May 8 '13 at 11:56

## 1 Answer

You can obtain `ulem.sty` here: http://ctan.mackichan.com/macros/plain/contrib/misc/ulem.sty

If you put it into the catalogue (folder) with your files, it should be enough to compile your work.

-
Hmm well, I saved the file as "ulem.sty" then pasted it to 'C:\Program Files\MiKTeX 2.9\tex\latex\tools' After wich I reconfigured my Lyx with "tools" -> "Reconfigure" and then I restarted LyX. But the program still gives me the error :( – Gutanoth May 8 '13 at 12:06
@Gutanoth Please try put it in the folder with the file you are working on. It is a temporary solution, but should work. – Przemysław Scherwentke May 8 '13 at 12:09
Indeed this works! So there is no permanent solution for this problem? Like a package I could download to complete LyX? – Gutanoth May 8 '13 at 12:13
@Gutanoth Ihave this package in the following path: \MiKTeX 2.8\tex\latex\ltxmisc\ulem.sty So probably installing ltxmisc will solve the problem. – Przemysław Scherwentke May 8 '13 at 12:23
Expanding on @scottkosty's suggestion: `apt-cache search ulem` returns the texlive-generic-recommended package, and `apt-cache policy texlive-generic-recommended` shows the installation status. – user1717828 Feb 9 '15 at 16:18