BibTeX not finding style files on Ubuntu 12.X

Charlie Zender zender at uci.edu
Fri Mar 8 21:13:19 UTC 2013


Hello,

Long story short: BibTeX stopped working well with my LaTeX documents
around the time I upgraded to Ubuntu 12.04 or 12.10. The immediate
problem is that BibTeX does not find the bibliography style files, e.g.,

zender at roulee:~/prp_access$ bibtex prp_access
This is BibTeX, Version 0.99d (TeX Live 2012/Debian)
The top-level auxiliary file: prp_access.aux
I couldn't open style file agu04.bst
---line 94 of file prp_access.aux
 : \bibstyle{agu04
 :                }

The style file agu04.bst is on my system (in two places):

zender at roulee:~$ locate agu04.bst
/home/zender/tex/bst/agu04.bst
/usr/share/texmf-texlive/bibtex/bst/csz/agu04.bst

the locations of which are included in TeX environment variables:

zender at roulee:~$ env | sort | grep TEX
BIBINPUTS=.:/home/zender/tex//:/usr/share/texmf-texlive/bibtex//::
TEXINPUTS=.:/home/zender/tex//:/home/zender/crr//:/data/zender/fgr//:/data/zender/ps//:/usr/share/texmf-texlive/pdftex//:/usr/share/texmf-texlive/tex//::
TEXMFDIR=/usr/share/texmf-texlive

My Ubuntu system seems to have a lot of TeX-related directories:

zender at roulee:~$ ls -ld /usr/share/tex*
drwxr-xr-x 2 root root 4096 Oct 20 02:13 /usr/share/tex-common
drwxr-xr-x 5 root root 4096 Oct 20 02:13 /usr/share/texlive
drwxr-xr-x 2 root root 4096 Oct 20 02:07 /usr/share/texlive-bin
drwxr-xr-x 8 root root 4096 Mar  8 11:03 /usr/share/texmf
drwxr-xr-x 4 root root 4096 Oct 20 02:13 /usr/share/texmf-texlive

Not sure why BibTeX does not to find agu04.bst.
Yes I have run 'texhash'.

Any help appreciated!
Charlie
-- 
Charlie Zender, Earth System Sci. & Computer Sci.
University of California, Irvine 949-891-2429 )'(




More information about the ubuntu-users mailing list