On 14 Dec 2007, at 9:29 PM, Christian Plessl wrote:

>> If you'd rather use Obj-C, change
>
> Yes, I was looking for a way to implement this in Obj-C. My idea was
> to allow the user to toggle whether macros are expanded by pressing
> the Cmd key when selecting "Copy BibTeX Record".
>

Note that this probably won't work. We delay writing to the  
pasteboard until the data is requested. And moreover the mthod may be  
used at other points in the code. For example, when you copy using  
the shortcut Cmd-C you always hold down Command.

This (and other reasons) are that we won't implement anything like  
this. And it is pretty easy to accomplish using templates (see the  
example templates on the Wiki).

Christiaan

>> [s appendString:[value stringAsBibTeXString]];
>> to
>> [s appendString:value];
>>
>> in the bibTeXStringDroppingInternal:texify: method (I think).  That
>> probably won't affect saving.  You could always check the drop, so
>> only the minimal BibTeX commands are affected.
>
>
> Thanks for this hint, the result is almost fine. The macros are
> expanded, but the entries are not properly put into braces. I'm still
> new to Cocoa, but I hope I can figure out the remaining details  
> myself.
>
> Best regards,
>   Christian
>
>
> ---------------------------------------------------------------------- 
> ---
> SF.Net email is sponsored by:
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services
> for just about anything Open Source.
> http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/ 
> marketplace
> _______________________________________________
> Bibdesk-develop mailing list
> Bibdesk-develop@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bibdesk-develop


-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Bibdesk-develop mailing list
Bibdesk-develop@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bibdesk-develop

Reply via email to