BibTeX, biblatex and biberCentral/global BibTex database/style?

Information and discussion about BiBTeX - the bibliography tool for LaTeX documents.
Post Reply
stinkinrich88
Posts: 52
Joined: Sat Jun 07, 2008 11:56 am

Central/global BibTex database/style?

Post by stinkinrich88 »

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

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

frabjous
Posts: 2064
Joined: Fri Mar 06, 2009 12:20 am

Re: Central/global BibTex database/style?

Post by frabjous »

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.
stinkinrich88
Posts: 52
Joined: Sat Jun 07, 2008 11:56 am

Re: Central/global BibTex database/style?

Post by stinkinrich88 »

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!
Post Reply