KileInstalling packages in Kile

Information and discussion about Kile, an integrated LaTeX environment for Linux KDE
Post Reply
Lizz
Posts: 1
Joined: Wed Jun 04, 2008 1:22 pm

Installing packages in Kile

Post by Lizz »

I've just installed Kile (on Ubuntu) and for some reason it doesn't come with a couple of the packages I want (subfigure.sty and wrapfig.sty). I've created files in the usr/share/texmf-texlive/tex/latex and added in the subfigure (.sty and .cfg) and wrapfig.sty files into their respective folders but Kile still isn't picking up that they're there.

Can I either tell Kile where to look or install the packages another way? I've run through all the variations on sudo apt-get subfigure.sty etc that i can think of but given that I'm pretty new to this whole Linux thing I may well be missing something obvious...Unfortunately, the computer I was running Kile on before has Fedora rather than Ubuntu and so the set up is slightly different...

Cheers,
Liz :mrgreen:

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

Installing packages in Kile

Post by Stefan Kottwitz »

Hi Liz,

you can install the corresponding texlive packages by Synaptic. Open the Synaptic program, click on search and search for wrapfig or subfigure. You will find the package texlive-latex-extra. subfigure is contained in that package too. Choose and install that.

Alternatively you could use apt-get:

Code: Select all

sudo apt-get install texlive-latex-extra
Btw. you should use the newer subfig package instead of subfigure.

Stefan
LaTeX.org admin
User avatar
tripwire45
Posts: 129
Joined: Thu Apr 10, 2008 4:35 am

Re: Insatlling packages in Kile

Post by tripwire45 »

Hi Liz,

Installing Kile on Ubuntu is just the start. Where I work, we maintain a wiki and on the LaTeX page, I maintain a list of all the additional packages that I've installed in order to produce my LaTeX documentation. It's gotten to be pretty long as I've continued to discover needs. ;)

-Trip
Stefanie
Posts: 25
Joined: Fri Apr 04, 2008 2:39 pm

Re: Insatlling packages in Kile

Post by Stefanie »

if you add packages manually (by putting them in the texmf-texlive folder) you always have to run sudo mktexlsr afterwards.
drwarm
Posts: 6
Joined: Tue Aug 19, 2008 2:57 am

Re: Insatlling packages in Kile

Post by drwarm »

I'm trying to install the glossaries package, because "glossaries.sty" isn't found, I tried installing glossaries from synaptic but it didn't work!

I found this website:
ftp://ftp.iasi.roedu.net/mirrors/ftp.ct ... lossaries/

But can't really follow their instructions!! What do I have to do, just place the makeglossaries file into usr/share/texmf-texlive/tex/latex then sudo mktexlsr? Or do I run latex glossaries.ins ? This just extracts a whole bunch of files, and I'm not sure where to place them!!

Any help would be appreciated!
Reuben
drwarm
Posts: 6
Joined: Tue Aug 19, 2008 2:57 am

Re: Insatlling packages in Kile

Post by drwarm »

Sorry to bump, but I still can't get it working.

It seems to be in package "texlive-latex-extra" but it still can't find the file:
glossaries.sty

Is that not part of the 'glossary' add-on?
User avatar
Stefan Kottwitz
Site Admin
Posts: 10290
Joined: Mon Mar 10, 2008 9:44 pm

Installing packages in Kile

Post by Stefan Kottwitz »

Hi,

it seems that glossaries is not contained in the current version of TeX Live.
You could download glossaries.tds.zip here, the installation instructions are inside the INSTALL file in the directory of the link you mentioned.

Stefan
LaTeX.org admin
drwarm
Posts: 6
Joined: Tue Aug 19, 2008 2:57 am

Re: Insatlling packages in Kile

Post by drwarm »

Ok managed to install glossaries from that file you posted, thanks alot.
The Install was a bit vague, so this is what i did:
ran nautilus (default file browser for ubuntu) in root (ie sudo nautilus)
then went to /usr/share/texmf-texlive
And just copied the files from that zip into the respective directiories.
Then "sudo mktexlsr"

But when trying to compile a file using glossaries, I get:
/usr/share/texmf-texlive/tex/latex/glossaries/base/glossaries.sty:47:File `xfor.sty' not found. \@ifpackageloaded

Where do I get this one from!!!

Thanks for your help so far, sorry I'm so clueless!
User avatar
Stefan Kottwitz
Site Admin
Posts: 10290
Joined: Mon Mar 10, 2008 9:44 pm

Installing packages in Kile

Post by Stefan Kottwitz »

Hi,

you can get xfor from here.

Stefan
LaTeX.org admin
drwarm
Posts: 6
Joined: Tue Aug 19, 2008 2:57 am

Installing packages in Kile

Post by drwarm »

Thanks alot, finally got my file compiled!! Hopefully they all won't be that hard.

To install the xfor I just go the xfor.tds.zip from http://tug.ctan.org/tex-archive/macros/ ... trib/xfor/
and did what I did with the other tds file.

Thanks everyone!
Post Reply