Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bibtex can't find the /bst file

229 views
Skip to first unread message

Edward M. Reingold

unread,
Dec 6, 2006, 6:04:48 PM12/6/06
to
On my Sun workstation (running solaris) I have the following in my .cshrc:

setenv BIBTEXINPUTS .:..:/export/home/reingold/.tex//:/usr/local/teTeX-new/share/texmf/bibtex//

But when I run bibtex, it does not find .bst files unless they are in the same
directory as the .tex file. What am I doing wrong?

I turned debugging on in kapthsea and get the following output

(emr-20) echo $BIBTEXINPUTS
.:..:/export/home/reingold/.tex//:/usr/local/teTeX-new/share/texmf/bibtex//
(emr-21) bibtex final-acm-paper
kdebug:fopen(/usr/local/teTeX-new/bin/sparc-sun-solaris2.9/bibtex, r) => 0x4a7b8
kdebug:fclose(0x4a7b8) => 0
kdebug:fopen(final-acm-paper.aux, rb) => 0x4a7b8
kdebug:fopen(final-acm-paper.blg, w) => 0x4a7c8
kdebug:fopen(final-acm-paper.bbl, w) => 0x4a7d8
This is BibTeX, Version 0.99c (Web2C 7.5.4)
The top-level auxiliary file: final-acm-paper.aux
kdebug:Search path for cnf files (from TEXMFCNF environment variable)
kdebug: = /usr/local/teTeX-new/share/texmf/web2c/
kdebug: before expansion = /usr/local/teTeX-new/share/texmf/web2c/
kdebug: application override path = (none)
kdebug: application config file path = (none)
kdebug: texmf.cnf path = (none)
kdebug: compile-time path = {$SELFAUTOLOC,$SELFAUTODIR,$SELFAUTOPARENT}{,{/share,}/texmf{-local,}/web2c}:$TETEXDIR:/usr/local/teTeX-new/share/texmf/web2c:/usr/local/teTeX-new/share/texmf/web2c
kdebug: default suffixes = .cnf
kdebug: other suffixes = (none)
kdebug: search only with suffix = 0
kdebug: numeric format value = 8
kdebug: runtime generation program = (none)
kdebug: runtime generation command = (none)
kdebug: program enabled = 0
kdebug: program enable level = 0
kdebug:start search(file=texmf.cnf, must_exist=1, find_all=1, path=/usr/local/teTeX-new/share/texmf/web2c/).
kdebug:kpse_normalize_path (/usr/local/teTeX-new/share/texmf/web2c/) => 1
kdebug:kpse_normalize_path (/usr/local/teTeX-new/share/texmf/web2c/) => 1
kdebug:path element /usr/local/teTeX-new/share/texmf/web2c/ => /usr/local/teTeX-new/share/texmf/web2c/
kdebug:kpse_normalize_path (/usr/local/teTeX-new/share/texmf/web2c/texmf.cnf) => 1
kdebug:fopen(/usr/local/teTeX-new/share/texmf/web2c/texmf.cnf, r) => 0x4a7e8
kdebug:fclose(0x4a7e8) => 0
kdebug:hash_lookup(TEXMFDBS.bibtex) => (nil)
kdebug:hash_lookup(TEXMFDBS) => $TEXMF:$VARTEXFONTS
kdebug:hash_lookup(VARTEXFONTS.bibtex) => (nil)
kdebug:hash_lookup(VARTEXFONTS) => /var/tmp/texfonts
kdebug:Search path for ls-R files (from texmf.cnf)
kdebug: = /usr/local/teTeX-new/share/texmf:/var/tmp/texfonts
kdebug: before expansion = $TEXMF:$VARTEXFONTS
kdebug: application override path = (none)
kdebug: application config file path = (none)
kdebug: texmf.cnf path = $TEXMF:$VARTEXFONTS
kdebug: compile-time path = /usr/local/teTeX-new/share/texmf:/var/tmp/texfonts
kdebug: default suffixes = ls-R ls-r
kdebug: other suffixes = (none)
kdebug: search only with suffix = 0
kdebug: numeric format value = 9
kdebug: runtime generation program = (none)
kdebug: runtime generation command = (none)
kdebug: program enabled = 0
kdebug: program enable level = 0
kdebug:start search(files=[ls-R ls-r], must_exist=1, find_all=1, path=/usr/local/teTeX-new/share/texmf:/var/tmp/texfonts).
kdebug:kpse_normalize_path (/usr/local/teTeX-new/share/texmf) => 1
kdebug:kpse_normalize_path (/usr/local/teTeX-new/share/texmf) => 1
kdebug:path element /usr/local/teTeX-new/share/texmf => /usr/local/teTeX-new/share/texmf/
kdebug:kpse_normalize_path (/usr/local/teTeX-new/share/texmf/ls-R) => 1
kdebug:kpse_normalize_path (/usr/local/teTeX-new/share/texmf/ls-r) => 1
kdebug:kpse_normalize_path (/var/tmp/texfonts) => 1
kdebug:kpse_normalize_path (/var/tmp/texfonts) => 1
kdebug:path element /var/tmp/texfonts => /var/tmp/texfonts/
kdebug:kpse_normalize_path (/var/tmp/texfonts/ls-R) => 1
kdebug:kpse_normalize_path (/var/tmp/texfonts/ls-r) => 1
kdebug:search([ls-R ls-r]) =>kdebug:hash_lookup(TEXMFLOG.bibtex) => (nil)
kdebug:hash_lookup(TEXMFLOG) => (nil)
kdebug:variable: TEXMFLOG = (nil)
/usr/local/teTeX-new/share/texmf/ls-R /var/tmp/texfonts/ls-R
kdebug:fopen(/usr/local/teTeX-new/share/texmf/ls-R, r) => 0x4a7e8
kdebug:fclose(0x4a7e8) => 0
kdebug:/usr/local/teTeX-new/share/texmf/ls-R: 27325 entries in 1664 directories (17 hidden).
kdebug:ls-R hash table:15991 buckets, 11279 nonempty (70%); 27325 entries, average chain 2.4.
kdebug:fopen(/var/tmp/texfonts/ls-R, r) => 0x4a7e8
kdebug:fclose(0x4a7e8) => 0
kdebug:/var/tmp/texfonts/ls-R: 463 entries in 93 directories (0 hidden).
kdebug:ls-R hash table:15991 buckets, 11366 nonempty (71%); 27788 entries, average chain 2.4.
kdebug:start search(file=aliases, must_exist=1, find_all=1, path=/usr/local/teTeX-new/share/texmf:/var/tmp/texfonts).
kdebug:kpse_normalize_path (/usr/local/teTeX-new/share/texmf) => 1
kdebug:kpse_normalize_path (/usr/local/teTeX-new/share/texmf/aliases) => 1
kdebug:kpse_normalize_path (/var/tmp/texfonts) => 1
kdebug:kpse_normalize_path (/var/tmp/texfonts/aliases) => 1
kdebug:search(aliases) => /usr/local/teTeX-new/share/texmf/aliases
kdebug:fopen(/usr/local/teTeX-new/share/texmf/aliases, r) => 0x4a7e8
kdebug:/usr/local/teTeX-new/share/texmf/aliases: 127 aliases.
kdebug:alias hash table:1009 buckets, 112 nonempty (11%); 127 entries, average chain 1.1.
kdebug:fclose(0x4a7e8) => 0
kdebug:hash_lookup(BIBINPUTS.bibtex) => (nil)
kdebug:hash_lookup(BIBINPUTS) => .:$TEXMF/bibtex/bib//
kdebug:Search path for bib files (from texmf.cnf)
kdebug: = .:/usr/local/teTeX-new/share/texmf/bibtex/bib//
kdebug: before expansion = .:$TEXMF/bibtex/bib//
kdebug: application override path = (none)
kdebug: application config file path = (none)
kdebug: texmf.cnf path = .:$TEXMF/bibtex/bib//
kdebug: compile-time path = .:/usr/local/teTeX-new/share/texmf/bibtex/bib//
kdebug: default suffixes = .bib
kdebug: other suffixes = (none)
kdebug: search only with suffix = 1
kdebug: numeric format value = 6
kdebug: runtime generation program = (none)
kdebug: runtime generation command = (none)
kdebug: program enabled = 0
kdebug: program enable level = 0
kdebug:kpse_find_file: searching for references of type bib (from texmf.cnf)
kdebug:start search(files=[references.bib], must_exist=0, find_all=0, path=.:/usr/local/teTeX-new/share/texmf/bibtex/bib//).
kdebug:kpse_normalize_path (.) => 0
kdebug:kpse_normalize_path (.) => 0
kdebug:path element . => ./
kdebug:kpse_normalize_path (./references.bib) => 0
kdebug:search([references.bib]) => ./references.bib
kdebug:fopen(references.bib, rb) => 0x4a7e8
kdebug:hash_lookup(BSTINPUTS.bibtex) => (nil)
kdebug:hash_lookup(BSTINPUTS) => .:$TEXMF/bibtex/bst//
kdebug:Search path for bst files (from texmf.cnf)
kdebug: = .:/usr/local/teTeX-new/share/texmf/bibtex/bst//
kdebug: before expansion = .:$TEXMF/bibtex/bst//
kdebug: application override path = (none)
kdebug: application config file path = (none)
kdebug: texmf.cnf path = .:$TEXMF/bibtex/bst//
kdebug: compile-time path = .:/usr/local/teTeX-new/share/texmf/bibtex/bst//
kdebug: default suffixes = .bst
kdebug: other suffixes = (none)
kdebug: search only with suffix = 0
kdebug: numeric format value = 7
kdebug: runtime generation program = (none)
kdebug: runtime generation command = (none)
kdebug: program enabled = 0
kdebug: program enable level = 0
kdebug:kpse_find_file: searching for acmtrans of type bst (from texmf.cnf)
kdebug:start search(files=[acmtrans.bst acmtrans], must_exist=0, find_all=0, path=.:/usr/local/teTeX-new/share/texmf/bibtex/bst//).
kdebug:kpse_normalize_path (.) => 0
kdebug:kpse_normalize_path (./acmtrans.bst) => 0
kdebug:kpse_normalize_path (./acmtrans) => 0
kdebug:kpse_normalize_path (/usr/local/teTeX-new/share/texmf/bibtex/bst//) => 1
kdebug:hash_lookup(acmtrans.bst) => (nil)
kdebug:hash_lookup(acmtrans.bst) => (nil)
kdebug:hash_lookup(acmtrans) => (nil)
kdebug:hash_lookup(acmtrans) => (nil)
kdebug:search([acmtrans.bst acmtrans]) =>
kdebug:start search(files=[acmtrans], must_exist=1, find_all=0, path=.:/usr/local/teTeX-new/share/texmf/bibtex/bst//).
kdebug:kpse_normalize_path (.) => 0
kdebug:kpse_normalize_path (./acmtrans) => 0
kdebug:kpse_normalize_path (/usr/local/teTeX-new/share/texmf/bibtex/bst//) => 1
kdebug:hash_lookup(acmtrans) => (nil)
kdebug:hash_lookup(acmtrans) => (nil)
kdebug:kpse_normalize_path (/usr/local/teTeX-new/share/texmf/bibtex/bst//) => 1
kdebug:hash_lookup(/usr/local/teTeX-new/share/texmf/bibtex/bst/ams) => (nil)
kdebug:dir_links(/usr/local/teTeX-new/share/texmf/bibtex/bst/ams) => 2
kdebug:hash_lookup(/usr/local/teTeX-new/share/texmf/bibtex/bst/base) => (nil)
kdebug:dir_links(/usr/local/teTeX-new/share/texmf/bibtex/bst/base) => 2
kdebug:hash_lookup(/usr/local/teTeX-new/share/texmf/bibtex/bst/misc) => (nil)
kdebug:dir_links(/usr/local/teTeX-new/share/texmf/bibtex/bst/misc) => 2
kdebug:hash_lookup(/usr/local/teTeX-new/share/texmf/bibtex/bst/revtex4) => (nil)
kdebug:dir_links(/usr/local/teTeX-new/share/texmf/bibtex/bst/revtex4) => 2
kdebug:hash_lookup(/usr/local/teTeX-new/share/texmf/bibtex/bst/jurabib) => (nil)
kdebug:dir_links(/usr/local/teTeX-new/share/texmf/bibtex/bst/jurabib) => 2
kdebug:hash_lookup(/usr/local/teTeX-new/share/texmf/bibtex/bst/plbib) => (nil)
kdebug:dir_links(/usr/local/teTeX-new/share/texmf/bibtex/bst/plbib) => 2
kdebug:hash_lookup(/usr/local/teTeX-new/share/texmf/bibtex/bst/germbib) => (nil)
kdebug:dir_links(/usr/local/teTeX-new/share/texmf/bibtex/bst/germbib) => 2
kdebug:hash_lookup(/usr/local/teTeX-new/share/texmf/bibtex/bst/natbib) => (nil)
kdebug:dir_links(/usr/local/teTeX-new/share/texmf/bibtex/bst/natbib) => 2
kdebug:hash_lookup(/usr/local/teTeX-new/share/texmf/bibtex/bst/adrconv) => (nil)
kdebug:dir_links(/usr/local/teTeX-new/share/texmf/bibtex/bst/adrconv) => 2
kdebug:hash_lookup(/usr/local/teTeX-new/share/texmf/bibtex/bst/context) => (nil)
kdebug:dir_links(/usr/local/teTeX-new/share/texmf/bibtex/bst/context) => 2
kdebug:hash_lookup(/usr/local/teTeX-new/share/texmf/bibtex/bst/norbib) => (nil)
kdebug:dir_links(/usr/local/teTeX-new/share/texmf/bibtex/bst/norbib) => 2
kdebug:hash_lookup(/usr/local/teTeX-new/share/texmf/bibtex/bst/dk-bib) => (nil)
kdebug:dir_links(/usr/local/teTeX-new/share/texmf/bibtex/bst/dk-bib) => 2
kdebug:path element /usr/local/teTeX-new/share/texmf/bibtex/bst// => /usr/local/teTeX-new/share/texmf/bibtex/bst/ /usr/local/teTeX-new/share/texmf/bibtex/bst/ams/ /usr/local/teTeX-new/share/texmf/bibtex/bst/base/ /usr/local/teTeX-new/share/texmf/bibtex/bst/misc/ /usr/local/teTeX-new/share/texmf/bibtex/bst/revtex4/ /usr/local/teTeX-new/share/texmf/bibtex/bst/jurabib/ /usr/local/teTeX-new/share/texmf/bibtex/bst/plbib/ /usr/local/teTeX-new/share/texmf/bibtex/bst/germbib/ /usr/local/teTeX-new/share/texmf/bibtex/bst/natbib/ /usr/local/teTeX-new/share/texmf/bibtex/bst/adrconv/ /usr/local/teTeX-new/share/texmf/bibtex/bst/context/ /usr/local/teTeX-new/share/texmf/bibtex/bst/norbib/ /usr/local/teTeX-new/share/texmf/bibtex/bst/dk-bib/
kdebug:kpse_normalize_path (/usr/local/teTeX-new/share/texmf/bibtex/bst/acmtrans) => 1
kdebug:kpse_normalize_path (/usr/local/teTeX-new/share/texmf/bibtex/bst/ams/acmtrans) => 1
kdebug:kpse_normalize_path (/usr/local/teTeX-new/share/texmf/bibtex/bst/base/acmtrans) => 1
kdebug:kpse_normalize_path (/usr/local/teTeX-new/share/texmf/bibtex/bst/misc/acmtrans) => 1
kdebug:kpse_normalize_path (/usr/local/teTeX-new/share/texmf/bibtex/bst/revtex4/acmtrans) => 1
kdebug:kpse_normalize_path (/usr/local/teTeX-new/share/texmf/bibtex/bst/jurabib/acmtrans) => 1
kdebug:kpse_normalize_path (/usr/local/teTeX-new/share/texmf/bibtex/bst/plbib/acmtrans) => 1
kdebug:kpse_normalize_path (/usr/local/teTeX-new/share/texmf/bibtex/bst/germbib/acmtrans) => 1
kdebug:kpse_normalize_path (/usr/local/teTeX-new/share/texmf/bibtex/bst/natbib/acmtrans) => 1
kdebug:kpse_normalize_path (/usr/local/teTeX-new/share/texmf/bibtex/bst/adrconv/acmtrans) => 1
kdebug:kpse_normalize_path (/usr/local/teTeX-new/share/texmf/bibtex/bst/context/acmtrans) => 1
kdebug:kpse_normalize_path (/usr/local/teTeX-new/share/texmf/bibtex/bst/norbib/acmtrans) => 1
kdebug:kpse_normalize_path (/usr/local/teTeX-new/share/texmf/bibtex/bst/dk-bib/acmtrans) => 1
kdebug:search([acmtrans]) =>
I couldn't open style file acmtrans.bst
---line 89 of file final-acm-paper.aux
: \bibstyle{acmtrans
: }
I'm skipping whatever remains of this command
kdebug:fclose(0x4a7b8) => 0
I found no style file---while reading file final-acm-paper.aux
kdebug:fclose(0x4a7d8) => 0
(There were 2 error messages)
kdebug:fclose(0x4a7c8) => 0
(emr-22)

--

Professor Edward M. Reingold Email: rein...@iit.edu
Department of Computer Science Voice: (312) 567-3309
Illinois Institute of Technology Assistant: (312) 567-5152
Stuart Building Fax: (312) 567-5067
10 West 31st Street, Suite 236
Chicago, IL 60616-3729 U.S.A.

Ralf Stubner

unread,
Dec 7, 2006, 5:12:24 AM12/7/06
to
rein...@emr.cs.iit.edu (Edward M. Reingold) writes:

> On my Sun workstation (running solaris) I have the following in my .cshrc:
>
> setenv BIBTEXINPUTS .:..:/export/home/reingold/.tex//:/usr/local/teTeX-new/share/texmf/bibtex//
>
> But when I run bibtex, it does not find .bst files unless they are in the same
> directory as the .tex file. What am I doing wrong?

bibtex does not use BIBTEXINPUTS. It uses BIBINPUTS for looking for .bib
files and BSTINPUTS for looking for .bst files. See bibtex(1) for
details.

cheerio
ralf

Edward M. Reingold

unread,
Dec 7, 2006, 12:38:00 PM12/7/06
to
>>>>> "RS" == Ralf Stubner <ralf.s...@physik.uni-erlangen.de> writes:

RS> bibtex does not use BIBTEXINPUTS. It uses BIBINPUTS for looking for
RS> .bib files and BSTINPUTS for looking for .bst files. See bibtex(1) for
RS> details.

Thank you!

0 new messages