LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 11-01-2005, 02:17 PM   #1
drben
Member
 
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

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

Quote:
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?

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

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

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

:razz:
 
  


Reply


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 03:31 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration