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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
04-30-2009, 10:02 AM
|
#1
|
Member
Registered: May 2008
Location: delhi, india
Distribution: fedora
Posts: 51
Rep:
|
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.
|
|
|
05-01-2009, 03:29 AM
|
#2
|
LQ Guru
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465
Rep:
|
Quote:
Originally Posted by perky.nishi
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
|
|
|
05-01-2009, 08:17 AM
|
#3
|
Member
Registered: May 2008
Location: delhi, india
Distribution: fedora
Posts: 51
Original Poster
Rep:
|
Quote:
Originally Posted by jdkaye
|
Its not working. Can you please elaborate.
|
|
|
05-02-2009, 12:48 AM
|
#4
|
LQ Guru
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465
Rep:
|
Quote:
Originally Posted by perky.nishi
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
|
|
|
05-02-2009, 10:04 AM
|
#5
|
Member
Registered: May 2008
Location: delhi, india
Distribution: fedora
Posts: 51
Original Poster
Rep:
|
Quote:
Originally Posted by jdkaye
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.
|
|
|
05-02-2009, 01:55 PM
|
#6
|
LQ Guru
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,465
Rep:
|
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
|
|
|
05-03-2009, 07:33 AM
|
#7
|
Member
Registered: May 2008
Location: delhi, india
Distribution: fedora
Posts: 51
Original Poster
Rep:
|
Quote:
Originally Posted by jdkaye
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.
|
|
|
All times are GMT -5. The time now is 05:37 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|