SublimeText / LaTeXTools

LaTeX plugin for Sublime Text
https://latextools.readthedocs.io/
2.01k stars 366 forks source link

Bibdesk, list of available keys, and symlinks #278

Open franvillamil opened 10 years ago

franvillamil commented 10 years ago

Hello,

I have searched for a similar issue and I haven't found anything, so I'm posting this.

LaTeXTools's autotriggered keybinding works perfectly if I put the .bib file on the same folder as the .tex file. But since I have my principal .bib file on Dropbox, I would like to use a symlink that updates automatically, instead of updating all my .bib files in every project directory. The only problem is that if I use the symlink, the bibliography works fine, but I can't use the list of available keys, which is very useful.

Anyone knows how could I work this out? (enable the cite-key list when using a symlink to the .bib file instead of the "hard" .bib file)

Thanks to all!

miickel commented 10 years ago

I was looking for this as well. Did you find any solution, @franvillamil?

chid commented 10 years ago

Why not just point the tex file to the bib file in Dropbox?

I'm not sure if I'm misunderstanding, so the issue arrises when you point the tex file to look at a symlink for a bibliography?

franvillamil commented 10 years ago

I haven't found any solution @miickel, I still need to copy the original .bib file into the project folder.

@chid: The problem is I have my main .bib file in Dropbox, and if I want to use the available keys in Sublime I have to copy the file into the latex folder (and re-copy it every time I update the bibliography, which happens constantly), because using a symlink doesn't work.

miickel commented 10 years ago

@franvillamil me either, so I changed my workflow a bit. Realised that Mendeley desktop has a great cmd+k shortcut which copies the latex key (ctrl+k on win, I guess). This works flawlessly, since I am always looking at the reference document in Mendeley before using it anyway.

msiniscalchi commented 10 years ago

Sorry, maybe I missed part of the earlier discussion, but I routinely use bib files that are not in the same dir as the tex file(s). What happens if you point \bibliography{} to the file in Dropbox?

On Sat, Mar 15, 2014 at 10:14 AM, Mickel notifications@github.com wrote:

@franvillamil https://github.com/franvillamil me either, so I changed my workflow a bit. Realised that Mendeley desktop has a great cmd+k shortcut which copies the latex key (ctrl+k on win, I guess). This works flawlessly, since I am always looking at the reference document in Mendeley before using it anyway.

Reply to this email directly or view it on GitHubhttps://github.com/SublimeText/LaTeXTools/issues/278#issuecomment-37728238 .

Marciano Siniscalchi Economics Department, Northwestern University http://faculty.wcas.northwestern.edu/~msi661