ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Installing ConTeXt Minimals on a Mac ... and using bibtex
@ 2008-09-02 16:58 Michael Green
  2008-09-02 17:48 ` Aditya Mahajan
  0 siblings, 1 reply; 3+ messages in thread
From: Michael Green @ 2008-09-02 16:58 UTC (permalink / raw)
  To: ntg-context

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"

[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.

Thanks!

Michael
___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Installing ConTeXt Minimals on a Mac ... and using bibtex
  2008-09-02 16:58 Installing ConTeXt Minimals on a Mac ... and using bibtex Michael Green
@ 2008-09-02 17:48 ` Aditya Mahajan
  0 siblings, 0 replies; 3+ messages in thread
From: Aditya Mahajan @ 2008-09-02 17:48 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Installing ConTeXt Minimals on a Mac ... and using bibtex
       [not found] <mailman.314.1220380993.4320.ntg-context@ntg.nl>
@ 2008-09-02 19:51 ` Michael Green
  0 siblings, 0 replies; 3+ messages in thread
From: Michael Green @ 2008-09-02 19:51 UTC (permalink / raw)
  To: ntg-context

On Tue, 2 Sep 2008, Aditya Mahajan wrote:

>> 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.

Perfect. Thank you!

Michael
___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-09-02 19:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-09-02 16:58 Installing ConTeXt Minimals on a Mac ... and using bibtex Michael Green
2008-09-02 17:48 ` Aditya Mahajan
     [not found] <mailman.314.1220380993.4320.ntg-context@ntg.nl>
2008-09-02 19:51 ` Michael Green

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).