From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/43651 Path: news.gmane.org!not-for-mail From: Aditya Mahajan Newsgroups: gmane.comp.tex.context Subject: Re: Installing ConTeXt Minimals on a Mac ... and using bibtex Date: Tue, 2 Sep 2008 13:48:40 -0400 (EDT) Message-ID: References: <16DB796C-1D41-4268-BD58-8FC1792031E6@gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1220377891 5633 80.91.229.12 (2 Sep 2008 17:51:31 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 2 Sep 2008 17:51:31 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Sep 02 19:52:24 2008 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1Kaa2p-0001aU-6E for gctc-ntg-context-518@m.gmane.org; Tue, 02 Sep 2008 19:51:59 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 4216A1FC44; Tue, 2 Sep 2008 19:50:58 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 00321-01-5; Tue, 2 Sep 2008 19:50:08 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 630AA1FD08; Tue, 2 Sep 2008 19:50:03 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 54A201FD6D for ; Tue, 2 Sep 2008 19:49:58 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 31937-04-7 for ; Tue, 2 Sep 2008 19:49:17 +0200 (CEST) Original-Received: from skycaptain.mr.itd.umich.edu (smtp.mail.umich.edu [141.211.93.160]) by ronja.ntg.nl (Postfix) with ESMTP id AB42A1FD76 for ; Tue, 2 Sep 2008 19:48:41 +0200 (CEST) Original-Received: FROM udhcp-wlan75.public.engin.umich.edu (udhcp-wlan75.public.engin.umich.edu [141.213.120.85]) BY skycaptain.mr.itd.umich.edu ID 48BD7C78.C33A6.30786 ; 2 Sep 2008 13:48:40 -0400 In-Reply-To: <16DB796C-1D41-4268-BD58-8FC1792031E6@gmail.com> User-Agent: Alpine 1.00 (DEB 882 2007-12-20) X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:43651 Archived-At: On Tue, 2 Sep 2008, Michael Green wrote: > I have the minimals installed in ~/Applications/context/ > > Context works great. However, I'm having trouble with bibtex. > > [1] I export the following variables before using context. > > . ~/Applications/context/tex/setuptex ~/Applications/context/tex > export TEXMFHOME='$HOME/Library/texmf' > export TEXMF='{$TEXMFHOME,!!$TEXMFPROJECT,!!$TEXMFFONTS,!! > $TEXMFLOCAL,!!$TEXMFCONTEXT,!!$TEXMFEXTRA,!!$TEXMFMAIN}'; > > (I added export PATH=/Applications/ConTeXtMinimals/tex/texmf-osx-intel/ > bin:$PATH but that didn't seem to make a difference in a couple of > quick trials) > > [2] The problem is that the minimal's bibtex can't find the bib file > that I have stored in ~/Library/texmf/bibtex/bib/ > > It reports: "I couldn't open database file bib-name.bib" and "I found > no database files---while reading file file-name.aux" You need to add ~/Library/texmf/bibtex/bib to the variable BIBINPUTS, either in texmf.cnf or in your .bashrc/calling script. > [3] "which bibtex" yields the path to the bibtex installed with the > minimals: > > /path-to-my-user-account/Applications/context/tex/texmf-osx-intel/bin/ > bibtex > > [4] When I open a new shell session, "which bibtex" points to /usr/ > texbin/bibtex. In this new shell, bibtex finds the bib file. > > It's a small thing, but if there's some other setting to make bibtex > work in the same shell session that context does, that would be nice. You have two different installations of tex on your computer. By default the old distribution is used. When you run setuptex (with appropriate arguments) the new distribution is used first. Aditya ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________