LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-30-2009, 10:02 AM   #1
perky.nishi
Member
 
Registered: May 2008
Location: delhi, india
Distribution: fedora
Posts: 51

Rep: Reputation: 15
Problems installing natbib


Dear community,
I am having problem natbib in linux (for latex). I have unziped the natbib.zip and and installed it through the following commands
$ latex natbib.ins
$ latex bibentry.ins
Some files are generated after these procedures. Now if I keep these files in my working directory (where I am writing my latex documents) the features of natbib are shown by the results. But I am confused where should I keep these files so that natbib works without keeping these files in my working directory. For convenience I am giving the names of the files generated bellow

abbrvnat.bst natbib.dtx natbib.ltx natnotes.aux natnotes.tex README.v83
bibentry.dtx natbib.dvi natbib.pdf natnotes.dvi plainnat.bst unsrtnat.bst
bibentry.ins natbib.ins natbib.sty natnotes.log README
natbib.aux natbib.log natbib.toc natnotes.pdf README.1st


Please help me out. Thank you in advance.
 
Old 05-01-2009, 03:29 AM   #2
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465

Rep: Reputation: Disabled
Quote:
Originally Posted by perky.nishi View Post
Dear community,
I am having problem natbib in linux (for latex). I have unziped the natbib.zip and and installed it through the following commands
$ latex natbib.ins
$ latex bibentry.ins
Some files are generated after these procedures. Now if I keep these files in my working directory (where I am writing my latex documents) the features of natbib are shown by the results. But I am confused where should I keep these files so that natbib works without keeping these files in my working directory. For convenience I am giving the names of the files generated bellow

abbrvnat.bst natbib.dtx natbib.ltx natnotes.aux natnotes.tex README.v83
bibentry.dtx natbib.dvi natbib.pdf natnotes.dvi plainnat.bst unsrtnat.bst
bibentry.ins natbib.ins natbib.sty natnotes.log README
natbib.aux natbib.log natbib.toc natnotes.pdf README.1st


Please help me out. Thank you in advance.
Have a look at this link.
http://www-math.upb.de/~aggathen/cc/install-natbib.html
Cheers,
jdk
 
Old 05-01-2009, 08:17 AM   #3
perky.nishi
Member
 
Registered: May 2008
Location: delhi, india
Distribution: fedora
Posts: 51

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by jdkaye View Post
Have a look at this link.
http://www-math.upb.de/~aggathen/cc/install-natbib.html
Cheers,
jdk
Its not working. Can you please elaborate.
 
Old 05-02-2009, 12:48 AM   #4
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465

Rep: Reputation: Disabled
Quote:
Originally Posted by perky.nishi View Post
Its not working. Can you please elaborate.
No, can you please elaborate? What distro and what kind of latex are you using (I use texlive).
You can have a look here:
http://people.debian.org/~preining/T...ining-talk.pdf
Look on page 11 (page 18 of the pdf) and all is explained.
FWIW on my installation I have:
Code:
/usr/share/texmf-texlive/bibtex/bst/natbib/abbrvnat.bst
/usr/share/texmf-texlive/bibtex/bst/natbib/plainnat.bst
/usr/share/texmf-texlive/bibtex/bst/natbib/unsrtnat.bst
/usr/share/texmf-texlive/tex/latex/hyper/natbib.hyp
/usr/share/texmf-texlive/tex/latex/natbib/bibentry.sty
/usr/share/texmf-texlive/tex/latex/natbib/natbib.sty
cheers,
jdk
 
Old 05-02-2009, 10:04 AM   #5
perky.nishi
Member
 
Registered: May 2008
Location: delhi, india
Distribution: fedora
Posts: 51

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by jdkaye View Post
No, can you please elaborate? What distro and what kind of latex are you using (I use texlive).
You can have a look here:
http://people.debian.org/~preining/T...ining-talk.pdf
Look on page 11 (page 18 of the pdf) and all is explained.
FWIW on my installation I have:
Code:
/usr/share/texmf-texlive/bibtex/bst/natbib/abbrvnat.bst
/usr/share/texmf-texlive/bibtex/bst/natbib/plainnat.bst
/usr/share/texmf-texlive/bibtex/bst/natbib/unsrtnat.bst
/usr/share/texmf-texlive/tex/latex/hyper/natbib.hyp
/usr/share/texmf-texlive/tex/latex/natbib/bibentry.sty
/usr/share/texmf-texlive/tex/latex/natbib/natbib.sty
cheers,
jdk
I am using fedora 8 distribution. About the type of latex I don't know. I just write .tex file through in a tex editor (like gedit) and compile it through latex command.
So can you tell where should I keep the above mentioned files.
 
Old 05-02-2009, 01:55 PM   #6
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465

Rep: Reputation: Disabled
They are usually placed in a .../texmf/tex/latex folder. Once you do that you'll need to run the texhash program to let your tex system know about them.
cheers,
jdk
 
Old 05-03-2009, 07:33 AM   #7
perky.nishi
Member
 
Registered: May 2008
Location: delhi, india
Distribution: fedora
Posts: 51

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by jdkaye View Post
They are usually placed in a .../texmf/tex/latex folder. Once you do that you'll need to run the texhash program to let your tex system know about them.
cheers,
jdk
Thanx a lot. Its working.
 
  


Reply

Tags
latex


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ld problems installing santana Linux - Software 3 05-07-2007 12:28 PM
Latex Problem - Natbib Please Help benndamann33 Linux - Software 0 04-05-2007 03:04 AM
problems installing custom 2.6.14 kernel (for SATA problems) Ekkume Ubuntu 0 12-29-2005 03:39 PM
Problems installing amsn (TK compiling problems) JNewton Linux - Software 0 05-24-2004 01:07 PM
problems installing redhat 9; usb problems (I think) nhelseth Linux - Newbie 2 04-27-2004 05:17 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:37 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration