Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 11-01-2005, 02:17 PM   #1
Registered: May 2003
Location: Israel
Distribution: Ubuntu 5.10
Posts: 32

Rep: Reputation: 15
Storing BibTex bst files in home directory

Hi there folks

I've prepared a BibTex style file (NewEngland.bst) which I'd like to be able to reference from all subdirectories of my home directory. I should mention that the style works fine when referred to from within the same directory as the .tex and .bib files are located.

Following a lead, I made a ~/texmf/ directory and copied it and ran texhash

ben@nutmeg:~$ cat texmf/ls-R
% ls-R -- filename database for kpathsea; do not change this line.
But apparently bibtex doesnt find it:

ben@nutmeg:~/medicine/research/CO2$ bibtex proposal
This is BibTeX, Version 0.99c (Web2C 7.4.5)
The top-level auxiliary file: proposal.aux
I couldn't open style file NewEngland.bst
---line 23 of file proposal.aux
: \bibstyle{NewEngland
: }
I'm skipping whatever remains of this command
I found no style file---while reading file proposal.aux
(There were 2 error messages)
Other things that I've tried and failed:
> copying files to /usr/local/share/texmf/tex/latex/ & /usr/local/share/texmf/tex/bibtex/ and running texhash

> Enteringthe following to /bashrc
export TEXINPUTS= ~/texmf/:

Anyone out there got a bright idea?

Old 11-01-2005, 02:31 PM   #2
Registered: May 2003
Location: Israel
Distribution: Ubuntu 5.10
Posts: 32

Original Poster
Rep: Reputation: 15
Answered my own question!

Found this command:
ben@nutmeg:/usr/local/share/texmf/tex$ kpsewhich --show-path bst
So I ran mkdir ~/texmf/bibtex
copied the bst file to there, reran texhash and it works.



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
home directory files gone, hidden files remain Grasshopper Linux - Security 12 04-10-2005 08:23 PM
What are core files in the users home directory draven Linux - Newbie 3 03-07-2004 09:56 PM
Sharing files not in Home directory tomsa Linux - Networking 0 07-22-2003 03:22 PM
Storing /home in CVS Cyth Linux - General 2 01-03-2003 03:10 AM
Questions about some files relating to X in my home directory. JoeLinux Linux - Software 1 05-08-2002 07:57 AM

All times are GMT -5. The time now is 10:49 AM.

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