BibTeX, biblatex and biber ⇒ What is $LOCALTEXMF under OS X?
What is $LOCALTEXMF under OS X?
From reading a few posts on this topic, it appears that $LOCALTEXMF is the place to put it. However, in Mac, this is not defined. Putting glossaries in /Users/my-mac/Library/texmf/tex works, so I thought putting *.bib there would work too, but it doesn't. It has to be in the directory from which I typeset the *.tex file containing the bib statements.
- Attachments
-
- Screen Shot 2017-02-21 at 6.17.29 PM.png (9.11 KiB) Viewed 5545 times
-
- Screen Shot 2017-02-21 at 6.06.05 PM.png (21.66 KiB) Viewed 5545 times
-
- Screen Shot 2017-02-21 at 6.05.20 PM.png (40.6 KiB) Viewed 5545 times
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
What is $LOCALTEXMF under OS X?
TL doesn't use $LOCALTEXMF anymore, AFAIK. Nowadays, it's $TEXMFLOCAL.
However, $TEXMFLOCAL isn't necessarily an environment variable (unless you set it yourself); use something like
Code: Select all
kpsewhich -var-value TEXMFLOCAL
Then again, you may need to find out, where bib files are searched for. You can do that with
Code: Select all
kpsewhich -show-path bib
In my case, the check on $TEXMFLOCAL produces
/usr/local/texlive/texmf-local,
and the corresponding entry in the search path for .bib files in my case is
!!/usr/local/texlive/texmf-local/bibtex/bib//,
which (at least) should tell you, that just dropping some .bib file into $TEXMFLOCAL won't do; if you put this .bib file into $TEXMFLOCAL/bibtex/bib instead, it might just work (if you did the aforementioned texhash...)
KR
Rainer
- Stefan Kottwitz
- Site Admin
- Posts: 10335
- Joined: Mon Mar 10, 2008 9:44 pm
What is $LOCALTEXMF under OS X?
kpsewhich -show-path bib
.:/Users/stefan/Library/texlive/2014/texmf-config/bibtex/bib//:/Users/stefan/Library/texlive/2014/texmf-var/bibtex/bib//:/Users/stefan/Library/texmf/bibtex/bib//:!!/usr/local/texlive/2014/texmf-config/bibtex/bib//:!!/usr/local/texlive/2014/texmf-var/bibtex/bib//:!!/usr/local/texlive/texmf-local/bibtex/bib//:!!/usr/local/texlive/2014/texmf-dist/bibtex/bib//
so it seems also putting into a user library such as
/Users/my-mac/Library/texmf/bibtex/bib/
would work. Maybe that's not touched by an update like a central place. if you are the only LaTeX user on your Macbook, a user directory is a good place.Stefan
What is $LOCALTEXMF under OS X?
Code: Select all
kpsewhich -show-path bib