This could be a duplicate of No Bib File Found Sublime Text 3 LatexTools but I'm wondering if a solution was found for this?
I'm writing my thesis in Sublime Text 3 on Win10. The LatexTools package is installed, the distro is TexLive and the builder invokes latexmk.
I structured my work so that I have the main Thesis.tex root file which uses subfiles and lets Ch1.tex etc. piggyback preamble + bibliography from the main file. The root document is located at the base level in the working directory, while the bibliography (Bib), figures (Fig) and chapters (Tex) are in their own subfolders.
Trouble is the subfiles cannot seem to fetch .bib files linked in the root document despite using the \subfix command. Upon writing \parencite and opening the first {} bracket I get a Sublime Text error "No bib files found".
MWE
%Thesis.tex
\addbibresource{Bib/Mendeley/Alkaline Rx & Carbonatites.bib}
\addbibresource{Bib/Mendeley/eBooks & Theses.bib}
\addbibresource{Bib/Mendeley/Fluid Processes.bib}
\addbibresource{Bib/Mendeley/Geosoftware stuff.bib}
\addbibresource{Bib/Mendeley/Miscallaneous.bib}
\usepackage{subfiles}
\begin{document}
\subfile{Tex/Ch1}
...
\end{document}
%Ch.1.tex
\documentclass[../Thesis.tex]{subfiles}
\graphicspath{{\subfix{../Fig/Final/}}}
\addbibresource{{\subfix{../Bib/Mendeley/Alkaline Rx & Carbonatites.bib}}}
\addbibresource{{\subfix{../Bib/Mendeley/eBooks & Theses.bib}}}
\addbibresource{{\subfix{../Bib/Mendeley/Fluid Processes.bib}}}
\addbibresource{{\subfix{../Bib/Mendeley/Geosoftware stuff.bib}}}
\addbibresource{{\subfix{../Bib/Mendeley/Miscallaneous.bib}}}
\begin{document}
...
\end{document}
I was hoping to use subfiles to let me compile the chapters on their own and the \subfix command seems to work fine fetching the graphics, but not the .bib files? I thought this was a biber issue so changed my distro from MiKTeX to TexLive, but still getting the error described above.
I should add the root document Thesis.tex compiles just fine and has all of the bibliography working as intended. Issue persists only with the subfiles. Compiling the subfile also works, but I get warnings of undefined citations.
Any ideas? Thanks
biberon the subfile by default.The builder compiles the subfile, but does not fix the Sublime Text prompt, and I am yet to find a solution.
– Wolfe79 Apr 23 '21 at 11:56