[OS X TeX] Biber

Ettore Aldrovandi ealdrov at mail.math.fsu.edu
Tue Oct 20 19:02:25 CEST 2020



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

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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://tug.org/pipermail/macostex-archives/attachments/20201020/5628fdb9/attachment.html>
-------------- next part --------------
----------- Please Consult the Following Before Posting -----------
TeX FAQ: http://www.tex.ac.uk/faq
List Reminders and Etiquette: https://sites.esm.psu.edu/~gray/tex/
List Archives: http://dir.gmane.org/gmane.comp.tex.macosx
                https://email.esm.psu.edu/pipermail/macosx-tex/
TeX on Mac OS X Website: http://mactex-wiki.tug.org/
List Info: https://email.esm.psu.edu/mailman/listinfo/macosx-tex


More information about the macostex-archives mailing list.