Hello,
Many of my Latex documents use the same BibTex style and similar references, therefore I'd like to centralise my .bib and .bst files. How is this possible?
I tried making a shortcut to them in /usr/share/texmf/tex/latex then running sudo mktexlsr but it didn't work.
Any ideas?
Thanks,
Rich
BibTeX, biblatex and biber ⇒ Central/global BibTex database/style?
NEW: TikZ book now 40% off at Amazon.com for a short time.

Re: Central/global BibTex database/style?
You're using TeXlive on some kind of *nix type system?
Bib files should go in [tex tree path]/texmf/bibtex/bib/
Bst files should go in [tex tree path]/texmf/bibtex/bst/
Unless you're sharing these styles and bibliographies with other users of your system, I'd create a local tex tree for this stuff, e.g., ~/texmf/ on most POSIX systems. That way you don't need special permissions to edit.
sudo texhash afterwards.
I don't know offhand whether or not symbolic links work.
Bib files should go in [tex tree path]/texmf/bibtex/bib/
Bst files should go in [tex tree path]/texmf/bibtex/bst/
Unless you're sharing these styles and bibliographies with other users of your system, I'd create a local tex tree for this stuff, e.g., ~/texmf/ on most POSIX systems. That way you don't need special permissions to edit.
sudo texhash afterwards.
I don't know offhand whether or not symbolic links work.
-
- Posts: 52
- Joined: Sat Jun 07, 2008 11:56 am
Re: Central/global BibTex database/style?
Ahh thanks a lot! sudo texhash did it! I only put links to the bib/bst files so I still don't need special permission to edit them. Seems to work perfectly, thanks for your help!