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.

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.

share|improve this question
1  
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
add comment

1 Answer

up vote 1 down vote accepted

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.

share|improve this answer
    
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
    
@Gutanoth I know nothing about MiKTeX but I think it has a "install packages on the fly" option. You could try that. Or, if you want to try Ubuntu, you can easily search packages for a file and install the package without having to find it online. –  scottkosty May 9 '13 at 18:50
show 1 more comment

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.