Hi René

Unfortunately I cannot get the citation completion to work in the child files, just the master file.

I'm not sure how I would convert my files into a MWE, but I'm using the thesis template from latextemplates.com and the files can be downloaded here: http://www.latextemplates.com/template/masters-doctoral-thesis

I noticed someone was having the same problem as me here, but it didn't seem that a solution was found: http://textmate.1073791.n5.nabble.com/Textmate-Latex-Citation-Inclusion-does-not-work-td11810.html

Ross Ahmed
Ecologist
--
07875533906
Twitter: @RossAhmed
LinkedIn: Ross Ahmed

On 29 Jun 2015, at 11:05, René Schwaiger <sanssecours@f-m.fm> wrote:

Hi Ross,

On 28 Jun 2015, at 21:13 , Ross Ahmed <rossahmed@googlemail.com> wrote:

In my master .tex file, the command LaTeX > Insert > Citation Based on Current Word works fine.

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.

This is what I have set in Preferences > Variables:
“BIBINPUTS ~/Library/Mobile Documents/M6HJR9W95L~com~textasticapp~textastic/Documents/refs.bib"

Anyone know what the problem is?

as far as I know `BIBINPUTS` need to be a list of directories. Please try to use the following as value for `BIBINPUTS`:

   $HOME/Library/Mobile Documents/M6HJR9W95L~com~textasticapp~textastic/Documents:.

Here `.` specifies the current directory. `:` is used to separate each directory entry. Therefore the above value means that

   $HOME/Library/Mobile Documents/M6HJR9W95L~com~textasticapp~textastic/Documents

and

   .

should be searched for bibliography files.

You need to specify the name of your `.bib` file in your document via the command

   \bibliography{refs}{}

or via

   \addbibresource{refs.bib}

if you use biber.

Ross

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.

Kind regards,
 René

_______________________________________________
textmate mailing list
textmate@lists.macromates.com
http://lists.macromates.com/listinfo/textmate