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
>> 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
> whereas in TeXShop or the Terminal it's
> 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.
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:
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.
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...
More information about the tex-live