|
From: Adam M. <ama...@ma...> - 2004-05-29 19:42:55
|
On 28 May, 2004, at 02:14, J=E9r=F4me Laurens wrote: > > Le 27 mai 04, =E0 17:19, Adam Maxwell a =E9crit : >> Someone has posted a request for better integration between BibDesk=20= >> and the front ends at=20 >> <http://bibdesk.sourceforge.net/wiki/index.php/WishList>. Any ideas=20= >> on this? Currently, BibDesk provides Services which search .bib=20 >> files based on citekey, title, or another BibTeX key using e.g.=20 >> "Author=3Djon" in a Services-aware app would return \cite{jones1999,=20= >> jones 2000, jonson2000}. I think >> >> BOOL NSPerformService( NSString *serviceItem, NSPasteboard *pboard ) >> >> could be used to get this list, which could be used to fill a popup=20= >> as in Apple's autocompletion, but perhaps there is a better way. =20 >> More information could be passed as well from BibDesk (title, author=20= >> list, etc.); I can bring this up on the bibdesk-develop list. >> > > I once asked the author of bibdesk for such an integration,=20 > unfortunately we did not have time to elaborate anything. > > I guess, that applescript and DO's are the technologies to allow a=20 > cool integration, but the first one seems to me the most=20 > easy/strongest to use. There should be a unique applescript suite for=20= > such thing. > > Anyway prior to any implementation, there should be some kind of=20 > formal protocol as model of the communications between a front end and=20= > bibdesk. Agreed, and AppleScript sounds like a good route for implementation. =20 I'm wondering what kind of information would be needed, although this=20 can be flexible; some sort of dictionary object would be necessary for=20= identifying the search results, but the front end only wants to keep=20 the citekey. > You mention the search protocol, maybe an "add new entry" as well? I think a Service would be the best way to handle this, i.e. select a=20 BibTeX entry/entries then "Add Bibitems" or something; I'm hoping to=20 add this myself when I get time to learn more Cocoa. > I am currently working very hard on new design for iTM. Things are=20 > going pretty well but we will have a big change when it is complete.=20= > It means that this kind of improvements will not occur within the next=20= > days... Understood. BibDesk is approaching v. 1.0, so there will likewise be=20 no changes of this nature. thanks, Adam= |