LaTeX forum ⇒ KileInstalling packages in Kile

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

Installing packages in Kile

Postby Lizz » Wed Jun 04, 2008 1:24 pm

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:

User avatar
Stefan Kottwitz
Site Admin
Posts: 9371
Joined: Mon Mar 10, 2008 9:44 pm

Postby Stefan Kottwitz » Wed Jun 04, 2008 3:40 pm

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:
  1. sudo apt-get install texlive-latex-extra


Btw. you should use the newer subfig package instead of subfigure.

Stefan
Site admin

User avatar
tripwire45
Posts: 129
Joined: Thu Apr 10, 2008 4:35 am

Postby tripwire45 » Wed Jun 04, 2008 3:53 pm

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

Postby Stefanie » Wed Jun 04, 2008 4:06 pm

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

Postby drwarm » Tue Aug 19, 2008 3:01 am

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

Postby drwarm » Sat Aug 23, 2008 2:27 am

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: 9371
Joined: Mon Mar 10, 2008 9:44 pm

Postby Stefan Kottwitz » Sat Aug 23, 2008 2:39 am

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
Site admin

drwarm
Posts: 6
Joined: Tue Aug 19, 2008 2:57 am

Postby drwarm » Sat Aug 23, 2008 7:54 am

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: 9371
Joined: Mon Mar 10, 2008 9:44 pm

Postby Stefan Kottwitz » Sat Aug 23, 2008 4:17 pm

Hi,

you can get xfor from here.

Stefan
Site admin

drwarm
Posts: 6
Joined: Tue Aug 19, 2008 2:57 am

Postby drwarm » Sun Aug 24, 2008 1:58 am

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/latex/contrib/xfor/
and did what I did with the other tds file.

Thanks everyone!


Return to “Kile”

Who is online

Users browsing this forum: No registered users and 0 guests