Hi guys, if you've come into this error:
"latex error your-new-file.sty not found"
while building your .tex files, and you are sure you've just put them in some sort of directory like:
/usr/share/texmf/tex/latex/your-new-directory
you should run the command
$ texhash
and then, latex should be ready to find your style files
:)
42 comments:
hi daniel!
this could be the solution to my problem - you describe exactly what I did! But I don´t know where to run $ texhash. I´m using TeXnicCenter and miktex and I´m trying to use caption3.sty but LaTex does not find it. Perhaps you can help me, thanks a lot,
elisabeth
Thank you!!
I am typing up my midterm an LyX gave me an error: "LaTeX error: `listings.sty' not found."
I first was able to get the package from ctan.org, but after building the package, I still got the error!
Your solution worked perfectly! So simple, but I am not familiar with tex commands.
Max
sweeet, thanx!
that worked perfectly well!
brilliant! thank you Daniel.
I'm happy to help.
It also took me a while. I hope it won't take anybody else's time :)
[ ]'s
Thank you very much
it really helps!!!!
Brilliant! It is exactly what I was looking for. Thanks for your help!
Thanks a lot.
Saved me a lot of time!
Brilliant! Now I can goto bed. :)
Thank you guys :)
You really made this post worthwhile!
Thank you, it solved my problem immediately. :-)
Some days you just have to love the internet. Writing from May 2010, 3 years after you posted this. Just as useful now. Thanks!
Wow, it worked! Thank you so much!
Great!
in windows the file texhash.exe is in C:\Program Files\MiKTeX 2.8\miktex\bin\
just run it!
Thanks Daniel, you saved me a lot of time!
Shouldn't Lyx supposedly be to speed up and optimize labour? If I had a damn Word template I would be done by now, with all the time I have been wasting with a stupid configuration.
Glad to finally find this after all the other sites gave not very helpful directions! Thanks a ton! They should put this into their manual/help page.
I am having a problem with my Latex file. When I try to typeset it, i get the following error:
! LaTeX Error: File `wrapfig.sty' not found.
Type X to quit or to proceed,
or enter new name. (Default extension: sty)
Enter file name:
Also the citation do not appear in the pdf. What should I do?
Thanks
You're my hero! Finally, TeX found all may packages!
Thanks a lot for this!!
Chris
Seriously bro : you really really help me a lot !!!
HANDS DOWN !!!
to whosoever stuck!
goto Programs >> Miktex >> Maintenance >> Settings
Click Refresh FNDB and Update formats
Should work now
Thanks!
if you are including some package named 'listings' try to remove 's' >>
just use listing:
-------------------------
\usepackage{listing}
-------------------------
is there any way to do something like this on windows? I get the same error and cannot figure out how to get my package working.
Is there a way to do this on Windows 7? I tried running texhash in DOS window but I still get the problem. My corporate setting won't allow automatic package install, so I copied setspace.sty to C:\Program Files\MiKTeX 2.9\tex\latex\setspace
But it still does not work. What can I do?
Thanks Buddy!
Hi Danel!
I have some images in my LaTeX file in eps format. The file is not going to generate pdf. If I included "epstopdf" some images are present in pdf some are missing. if I included "exteps" package. It is saying that "exteps.sty" missing. Please help me in this regard.
Kanthi Kiran
For the inexperienced user:
$ sudo texhash
at the command line.
Excellent post. One small addition: occasionally, this problem may occur on a system where Tex has been installed by a sysadmin and the directories where the texhash command wants to write don't have the permissions that would allow you to write there. In that case you may have to ask your friendly sysadmin to do the installation for you. If you are the sysadmin then you'll have to become the superuser (either 'su' then enter the su password then 'texhash' or 'sudo texhash') to run that command.
Excellent post. One small addition: occasionally, this problem may occur on a system where Tex has been installed by a sysadmin and the directories where the texhash command wants to write don't have the permissions that would allow you to write there. In that case you may have to ask your friendly sysadmin to do the installation for you. If you are the sysadmin then you'll have to become the superuser (either 'su' then enter the su password then 'texhash' or 'sudo texhash') to run that command.
Excellent post. One small addition: occasionally, this problem may occur on a system where Tex has been installed by a sysadmin and the directories where the texhash command wants to write don't have the permissions that would allow you to write there. In that case you may have to ask your friendly sysadmin to do the installation for you. If you are the sysadmin then you'll have to become the superuser (either 'su' then enter the su password then 'texhash' or 'sudo texhash') to run that command.
Excellent post. One small addition: occasionally, this problem may occur on a system where Tex has been installed by a sysadmin and the directories where the texhash command wants to write don't have the permissions that would allow you to write there. In that case you may have to ask your friendly sysadmin to do the installation for you. If you are the sysadmin then you'll have to become the superuser (either 'su' then enter the su password then 'texhash' or 'sudo texhash') to run that command.
Excellent post. One small addition: occasionally, this problem may occur on a system where Tex has been installed by a sysadmin and the directories where the texhash command wants to write don't have the permissions that would allow you to write there. In that case you may have to ask your friendly sysadmin to do the installation for you. If you are the sysadmin then you'll have to become the superuser (either 'su' then enter the su password then 'texhash' or 'sudo texhash') to run that command.
Excellent post. One small addition: occasionally, this problem may occur on a system where Tex has been installed by a sysadmin and the directories where the texhash command wants to write don't have the permissions that would allow you to write there. In that case you may have to ask your friendly sysadmin to do the installation for you. If you are the sysadmin then you'll have to become the superuser (either 'su' then enter the su password then 'texhash' or 'sudo texhash') to run that command.
hi daniel...
i m working on miketex using winedit.Its showing the error enumitem.sty file not found.I have already added enumitem file to the directory.Can u tell does how to use texhash for windows.I mean where do I have to type it.Thanks in advance.
Hi Daniel..
I am working on miktex using winedit.Its showing the error enumitem.sty not found.Can you tell me exactly how i can use texhash command on windows.Thanks in advance.
Hi Daniel..
I am working on miktex using winedit.Its showing the error enumitem.sty not found.Can you tell me exactly how i can use techash command on windows.Thanks in advance.
Hi Daniel..
I am working on miktex using winedit.Its showing the error enumitem.sty not found.Can you tell me exactly how i can use techash command on windows.Thanks in advance.
PERFECT!!!!
thanks a lot!
Bravo! Thank you.
Hi Daniel,,, thats sounds to be helpful and help me in solvingm y problem which im trying to fix for two days now,,, but the problem ,, i dont know where should i type this command ,,, by the way im using TEXMAkER ,,, on windows 7
if you can help that could be great , thnx
Hey!
I am getting an error, which says enumitem.sty is not found.
After getting this error i downloaded enumitem.sty and put that into C:\Program Files\MiKTeX 2.9\tex\latex\enumitem, after creating a new directory "enumitem". But still my latex file is not running and its giving me same error. Please tell me what to do and where to put this $texhash to get red of this error(I am a new user of Latex, this is my first experience with latex).
Regards,
Yash
*****
***** PDFLaTeX output:
***** cd "/home/ammu/Desktop/deepa"
***** pdflatex -interaction=nonstopmode thesis.tex
*****
This is pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009/Debian)
entering extended mode
(./thesis.tex
LaTeX2e <2009/09/24>
Babel <v3.8l> and hyphenation patterns for english, usenglishmax, dumylang, noh
yphenation, farsi, arabic, croatian, bulgarian, ukrainian, russian, czech, slov
ak, danish, dutch, finnish, french, basque, ngerman, german, german-x-2009-06-1
9, ngerman-x-2009-06-19, ibycus, monogreek, greek, ancientgreek, hungarian, san
skrit, italian, latin, latvian, lithuanian, mongolian2a, mongolian, bokmal, nyn
orsk, romanian, irish, coptic, serbian, turkish, welsh, esperanto, uppersorbian
, estonian, indonesian, interlingua, icelandic, kurmanji, slovenian, polish, po
rtuguese, spanish, galician, catalan, swedish, ukenglish, loaded.
(./iiscthes.cls
Document Style Option `iiscthes' Ver 1.0 <14 Apr 91>.
(/usr/share/texmf-texlive/tex/latex/base/report.cls
Document Class: report 2007/10/19 v1.4h Standard LaTeX document class
(/usr/share/texmf-texlive/tex/latex/base/size12.clo))
Writing index file thesis.idx
) (/usr/share/texmf-texlive/tex/latex/base/fontenc.sty
(/usr/share/texmf-texlive/tex/latex/base/t1enc.def))
(/usr/share/texmf-texlive/tex/latex/graphics/graphicx.sty
(/usr/share/texmf-texlive/tex/latex/graphics/keyval.sty)
(/usr/share/texmf-texlive/tex/latex/graphics/graphics.sty
(/usr/share/texmf-texlive/tex/latex/graphics/trig.sty)
(/etc/texmf/tex/latex/config/graphics.cfg)
(/usr/share/texmf-texlive/tex/latex/pdftex-def/pdftex.def)))
! LaTeX Error: File `bbding.sty' not found.
Type X to quit or <RETURN> to proceed,
or enter new name. (Default extension: sty)
hi daniel,
am using kile n linux mint12.. cud u say any solution to my problem..
Ranjith
Post a Comment