# [OS X TeX] some questions on Texshop

Adam R. Maxwell amaxwell at mac.com
Thu Dec 31 16:50:30 EST 2009

```On Dec 31, 2009, at 11:00 AM, Per Ting wrote:

> 6-How can I start Bibdesk from texshop so that it automatically loads the bibliography file(s) in the source file. How can I import \cite from Bibdesk to texshop? Is it possible to set texshop is such a way that when I type \cite{} it starts bibdesk, loads the right bib file and clicking on the selected entry in bibdes fills the bracket in the \cite command? Is a similar action with jabref possible?

If you have bibliography completion enabled in TeXShop's preferences, you can type "\cite{foo" (or some variant of \cite) and hit opt-esc to get a list of possible completions.  It searches based on citekey, title, author, editor, and keywords, IIRC.

TeXShop will launch BibDesk if it's not running, but doesn't do any parsing of the .tex files to figure out which .bib to open.  However, you can set BibDesk to open a default file at launch, or to open files that were open in your last session.

There are various other ways to insert citations, but this is the most efficient.  You can also use Services or drag-and-drop from BibDesk's main window or cite drawer.  See

http://bibdesk.sourceforge.net/manual/BibDesk%20Help_52.html#SEC102

for more details.  We should add a note about TeXShop to the BibDesk manual.

hope that helps,