From: Aditya Mahajan <adityam@umich.edu>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Installing ConTeXt Minimals on a Mac ... and using bibtex
Date: Tue, 2 Sep 2008 13:48:40 -0400 (EDT) [thread overview]
Message-ID: <alpine.DEB.1.00.0809021345590.8351@nqv-yncgbc> (raw)
In-Reply-To: <16DB796C-1D41-4268-BD58-8FC1792031E6@gmail.com>
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
___________________________________________________________________________________
next prev parent reply other threads:[~2008-09-02 17:48 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-09-02 16:58 Michael Green
2008-09-02 17:48 ` Aditya Mahajan [this message]
[not found] <mailman.314.1220380993.4320.ntg-context@ntg.nl>
2008-09-02 19:51 ` Michael Green
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=alpine.DEB.1.00.0809021345590.8351@nqv-yncgbc \
--to=adityam@umich.edu \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).