<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div><span></span></div><div><div>Hi René</div><div><br></div><div>Unfortunately I cannot get the citation completion to work in the child files, just the master file.<br><br>I'm not sure how I would convert my files into a MWE, but I'm using the thesis template from <a href="http://latextemplates.com">latextemplates.com</a> and the files can be downloaded here: <a href="http://www.latextemplates.com/template/masters-doctoral-thesis">http://www.latextemplates.com/template/masters-doctoral-thesis</a></div><div><br></div>I noticed someone was having the same problem as me here, but it didn't seem that a solution was found: <a href="http://textmate.1073791.n5.nabble.com/Textmate-Latex-Citation-Inclusion-does-not-work-td11810.html">http://textmate.1073791.n5.nabble.com/Textmate-Latex-Citation-Inclusion-does-not-work-td11810.html</a><div><br></div><div><div><span style="background-color: rgba(255, 255, 255, 0);">Ross Ahmed</span></div><div>Ecologist</div><div>--</div><div>07875533906</div><div><span style="background-color: rgba(255, 255, 255, 0);">Twitter: <a href="https://twitter.com/RossAhmed">@RossAhmed</a></span></div><div><span style="background-color: rgba(255, 255, 255, 0);">LinkedIn: <a href="https://www.linkedin.com/pub/ross-ahmed/2a/775/590">Ross Ahmed</a></span></div><div><br>On 29 Jun 2015, at 11:05, René Schwaiger <<a href="mailto:sanssecours@f-m.fm">sanssecours@f-m.fm</a>> wrote:<br><br></div><blockquote type="cite"><div><span>Hi Ross,</span><br><span></span><br><blockquote type="cite"><span>On 28 Jun 2015, at 21:13 , Ross Ahmed <<a href="mailto:rossahmed@googlemail.com">rossahmed@googlemail.com</a>> wrote:</span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span>In my master .tex file, the command LaTeX > Insert > Citation Based on Current Word works fine.</span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span>However if I try to run the same command in the child files, I get a dialogue box with the error message "Failure running “Citation Based on Current Selection…”. plus a long list of paths.</span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span>This is what I have set in Preferences > Variables: </span><br></blockquote><blockquote type="cite"><span>“BIBINPUTS ~/Library/Mobile Documents/M6HJR9W95L~com~textasticapp~textastic/Documents/refs.bib"</span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span>Anyone know what the problem is?</span><br></blockquote><span></span><br><span>as far as I know `BIBINPUTS` need to be a list of directories. Please try to use the following as value for `BIBINPUTS`:</span><br><span></span><br><span>    $HOME/Library/Mobile Documents/M6HJR9W95L~com~textasticapp~textastic/Documents:.</span><br><span></span><br><span>Here `.` specifies the current directory. `:` is used to separate each directory entry. Therefore the above value means that</span><br><span></span><br><span>    $HOME/Library/Mobile Documents/M6HJR9W95L~com~textasticapp~textastic/Documents</span><br><span></span><br><span>and </span><br><span></span><br><span>    . </span><br><span></span><br><span>should be searched for bibliography files.</span><br><span></span><br><span>You need to specify the name of your `.bib` file in your document via the command</span><br><span></span><br><span>    \bibliography{refs}{}</span><br><span></span><br><span>or via </span><br><span></span><br><span>    \addbibresource{refs.bib}</span><br><span></span><br><span>if you use biber.</span><br><span></span><br><blockquote type="cite"><span>Ross</span><br></blockquote><span></span><br><span>If that does not help, then please just ask again. It would also be super helpful if you could provide a minimal example together with steps to reproduce the problem.</span><br><span></span><br><span>Kind regards,</span><br><span>  René</span><br><span></span><br><span>_______________________________________________</span><br><span>textmate mailing list</span><br><span><a href="mailto:textmate@lists.macromates.com">textmate@lists.macromates.com</a></span><br><span><a href="http://lists.macromates.com/listinfo/textmate">http://lists.macromates.com/listinfo/textmate</a></span><br></div></blockquote></div></div></body></html>