[texworks] Biber

Herbert Schulz herbs at wideopenwest.com
Tue Oct 20 19:10:07 CEST 2020


> On Oct 20, 2020, at 12:02 PM, Ettore Aldrovandi <ealdrov at math.fsu.edu> wrote:
> 
> 
> 
>> On Oct 20, 2020, at 12:46, Joseph Wright <joseph.wright at morningstar2.co.uk> wrote:
>> 
>> On 20/10/2020 17:37, Herbert Schulz wrote
>>> Howdy,
>>> But then why would biber find .bib files when executed in Terminal and TeXShop?
>>> Good Luck,
>>> Herb Schulz
>>> (herbs at wideopenwest dot com)
>> 
>> It's a path issue. From inside TeXworks, the path is simply
>> 
>>    /usr/bin:/bin:/usr/sbin:/sbin
>> 
>> whereas in TeXShop or the Terminal it's
>> 
>>    /usr/bin:/bin:/usr/sbin:/sbin:/Library/TeX/texbin:/usr/local/bin
>> 
>> Presumably, Biber calls kpsewhich via the path, whereas I guess other tools have it linked so they don't need to find it. So the issue arises as that Biber doesn't say that it can't run kpsewhich, it just fails to do it :(
>> 
>> I've attached my typesetting set up as a screenshot: you can see that there, TeXworks does 'see' TeXbin, etc. So I'm not sure exactly where one can alter things.
> 
> Joseph,
> 
> it’s a login shell vs. non login shell issue, in part. If you double clicked TeXworks, it may  have run under a login shell with a partial environment set. In particular, you only get the synthesized path in /etc/zprofile.
> 
> There are two ways, more in fact, to solve this:
> 
> 1. Launch TeXworks from inside a terminal with “open -a TeXworks” and it should pick it up.
> 2. Drop a file called TeXLive (or whatever) containing the single line:
> 		/Library/TeX/texbin
>     in the directory /etc/paths.d and it will properly synthesize the path. (It’s been like this for years, now.)

Howdy,

The MacTeX installer already does this. Was TeX Live installed by the MacTeX installer?

> 
> Back to the env vars question: why doesn’t setting BIBINPUTS to “:/Users/joseph/Library/texmf/bibtex//:” work? This should be set in .zshenv and it should be picked up.
> 
> —Ettore
> 
> Ettore Aldrovandi
> Department of Mathematics, Florida State University
> 1017 Academic Way                *   http://www.math.fsu.edu/~ealdrov
> Tallahassee, FL 32306-4510, USA * * aldrovandi at math dot fsu dot edu


Good Luck,

Herb Schulz
(herbs at wideopenwest dot com)




More information about the texworks mailing list.