I just installed MacTeX on a new machine. I'm running into a difficulty I hadn't had before.
I have a .cbx file inside ~/Library/texmf/tex/latex/biblatex/cbx/ that has the same name as another .cbx file inside /usr/local/texlive/2017/texmf-dist/tex/xelatex.
If I run LaTeX on a file calling the corresponding citation style (\usepackage[citestyle=name-of-cbx-file]{biblatex}) the .cbx file inside the texmf tree inside ~/Library is given priority. If I run xelatex on the same file, however, the one that is inside texmf-dist is given priority.
This is the output of kpsewhich -expand-var='$TEXINPUTS':
.:{{}/Users/apc/Library/texlive/2017/texmf-config,/Users/apc/Library/texlive/2017/texmf-var,/Users/apc/Library/texmf,!!/usr/local/texlive/texmf-local,!!/usr/local/texlive/2017/texmf-config,!!/usr/local/texlive/2017/texmf-var,!!/usr/local/texlive/2017/texmf-dist}/tex/{kpsewhich,generic,}//
Shouldn't xelatex and latex be searching for biblatex style files in the same way? If so, why is xelatex not finding the files?
latexthe other inxelatex. This changes the search pathes. Put both belowlatex. See also https://tex.stackexchange.com/a/79983/2388 – Ulrike Fischer Sep 28 '17 at 14:22xelatexfolder. Would that be a better solution, long-term? – apc Sep 28 '17 at 14:51tex/xelatexis wrong. Who put it there? – Ulrike Fischer Sep 28 '17 at 15:18biblatexanyway) so I guess I can remove the package from texmf-dist using the texlive utility or something. Tricking xetex into looking for the local file using symlinks seems to be working for now. Thanks for your help! – apc Sep 28 '17 at 15:42