latex, bibtex bash command not found

169 views
Skip to first unread message

noahpoah

unread,
Sep 30, 2009, 11:10:45 PM9/30/09
to LaTeX Users Group
I recently upgraded to Snow Leopard, I use iTerm and MacTex (TeXShop).
When I try to run bibtex or pdflatex in iTerm, it gives me the error
message "-bash: bibtex: command not found". Typing usr/texbin/bibtex
filename.aux doesn't work either (it returns "-bash: usr/texbin/
bibtex: No such file or directory").

I added a file to etc/paths.d that consists of usr/texbin, and typing
echo $PATH indicates that usr/texbin is, in fact, in the path, but
still no luck.

The only page I found when I searched for "-bash: bibtex: command not
found" (in quotes) lead to me try (with some hesitation, since I
didn't really know what I was doing) putting a file called
bibtopic.engine in the Library/TeXShop/Engines directory consisting of
the following, again with no luck (the instructions said to make the
file and then type chmod + x bibtopic.engine to make it executable,
but chmod + x didn't take, either):

# / bin / sh
location = $ (dirname "$ 1")
basefname = "$ (location) /` basename "$ 1". tex `"
# Process the bibliography
for file in "$ (location) / $ (basefname)"?. aux;
do
bibtex "$ (file)"
done

I would very much like to keep using latex, but without bibtex it's
substantially less useful. I would like to either fix it so that I can
use bibtex in iTerm or figure out a way to run bibtex on .aux files
outside of iTerm. Any advice anyone can give me would be much
appreciated. Thanks.
Reply all
Reply to author
Forward
0 new messages