Banner

Donate

You find LaTeX Community useful? Please donate! Learn why!

Amount:

Partner Sites

goLaTeX
TeXblog
TeXnicCenter

Who is online

In total there is 1 user online :: 0 registered, 0 hidden and 1 guest (based on users active over the past 5 minutes)
Most users ever online was 108 on Tue Jun 08, 2010 3:33 pm

Users browsing this forum: No registered users and 1 guest

Installing packages in Kile

Information and discussion about Kile, an integrated LaTeX environment for Linux KDE

Installing packages in Kile

Postby Lizz on Wed Jun 04, 2008 12: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:
Lizz
 
Posts: 1
Joined: Wed Jun 04, 2008 12:22 pm

Re: Installing packages in Kile

Postby Stefan_K on Wed Jun 04, 2008 2: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:
Code: Select all
sudo apt-get install texlive-latex-extra


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

Stefan
LaTeX Community Moderator
TeXblog.net
Stefan_K
Site Moderator
 
Posts: 2687
Joined: Mon Mar 10, 2008 8:44 pm
Location: Hamburg, Germany

Re: Insatlling packages in Kile

Postby tripwire45 on Wed Jun 04, 2008 2: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
User avatar
tripwire45
 
Posts: 125
Joined: Thu Apr 10, 2008 3:35 am

Re: Insatlling packages in Kile

Postby Stefanie on Wed Jun 04, 2008 3:06 pm

if you add packages manually (by putting them in the texmf-texlive folder) you always have to run sudo mktexlsr afterwards.
Stefanie
 
Posts: 25
Joined: Fri Apr 04, 2008 1:39 pm

Re: Insatlling packages in Kile

Postby drwarm on Tue Aug 19, 2008 2: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 1:57 am

Re: Insatlling packages in Kile

Postby drwarm on Sat Aug 23, 2008 1: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?
drwarm
 
Posts: 6
Joined: Tue Aug 19, 2008 1:57 am

Re: Installing packages in Kile

Postby Stefan_K on Sat Aug 23, 2008 1: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
LaTeX Community Moderator
TeXblog.net
Stefan_K
Site Moderator
 
Posts: 2687
Joined: Mon Mar 10, 2008 8:44 pm
Location: Hamburg, Germany

Re: Insatlling packages in Kile

Postby drwarm on Sat Aug 23, 2008 6: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!
drwarm
 
Posts: 6
Joined: Tue Aug 19, 2008 1:57 am

Re: Installing packages in Kile

Postby Stefan_K on Sat Aug 23, 2008 3:17 pm

Hi,

you can get xfor from here.

Stefan
LaTeX Community Moderator
TeXblog.net
Stefan_K
Site Moderator
 
Posts: 2687
Joined: Mon Mar 10, 2008 8:44 pm
Location: Hamburg, Germany

Re: Insatlling packages in Kile

Postby drwarm on Sun Aug 24, 2008 12: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!
drwarm
 
Posts: 6
Joined: Tue Aug 19, 2008 1:57 am


Return to Kile

Who is online

Users browsing this forum: No registered users and 1 guest

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group