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 5710 times
-
- Screen Shot 2017-02-21 at 6.06.05 PM.png (21.66 KiB) Viewed 5710 times
-
- Screen Shot 2017-02-21 at 6.05.20 PM.png (40.6 KiB) Viewed 5710 times
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
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: 10359
- 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