KileKile *refuses* to find .sty

Information and discussion about Kile, an integrated LaTeX environment for Linux KDE
Post Reply
biddlesby
Posts: 4
Joined: Sun Jan 17, 2010 9:36 pm

Kile *refuses* to find .sty

Post by biddlesby »

Hello all,

I am running ubuntu lucid, kile, miktex, texlive, and trying to install a package bbm.sty. This was a breeze under windows using miktex package manager (mpm), but not so on Ubuntu....here's what I have tried:

1) Compile and install mpm. It runs and seems to create all the necessary files, but hangs. On compiling a file you get error: cannot find bbm.sty

2) Put bbm.sty in all of these locations: ~/texmf/, ~/texmf-texlive, /usr/share/texmf, /usr/share/texmf-texlive and run sudo texhash. All of the ls-R files there now list bbm.sty but kile still won't find it, argh!

3) Change all of the permissions for the ls-R files and the bbm.sty files from root to me

I have been trying this all morning and am now stuck, any help greatly appreciated :)

Harry

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics TikZによるLaTeXグラフィックス
User avatar
Stefan Kottwitz
Site Admin
Posts: 10290
Joined: Mon Mar 10, 2008 9:44 pm

Kile *refuses* to find .sty

Post by Stefan Kottwitz »

Can you find it by kpsewhich at the command prompt?

Code: Select all

kpsewhich bbm.sty
Stefan
LaTeX.org admin
biddlesby
Posts: 4
Joined: Sun Jan 17, 2010 9:36 pm

Re: Kile *refuses* to find .sty

Post by biddlesby »

That's a really handy command, thanks. It didn't find it but---for anybody else with this problem---I found that putting the .sty in /texmf/tex/latex/bbm/ and then running texhash works.
User avatar
Stefan Kottwitz
Site Admin
Posts: 10290
Joined: Mon Mar 10, 2008 9:44 pm

Kile *refuses* to find .sty

Post by Stefan Kottwitz »

biddlesby wrote: Put bbm.sty in all of these locations: ~/texmf/, ~/texmf-texlive
You could check the location of the TeX home path:

Code: Select all

kpsewhich -var-value=TEXMFHOME
Perhaps it's just not ~/texmf.

Stefan
LaTeX.org admin
User avatar
frabjous
Posts: 2064
Joined: Fri Mar 06, 2009 12:20 am

Re: Kile *refuses* to find .sty

Post by frabjous »

Try:

kpsepath tex

to see what paths are searched.

For me, ~/texmf/tex/ is included ~/texmf/ is not.
Adam_S
Posts: 1
Joined: Wed Nov 10, 2010 6:00 pm

Re: Kile *refuses* to find .sty

Post by Adam_S »

I am having the same problem with Kile.

kpsewhich finds the the .sty file under ~/texmf/tex/ and compiling with pdflatex or latex works at the command prompt (even using the terminal embedded in Kile) but if I use either the pdflatex or latex build tool it tells me the .sty file can't be found.
Post Reply