Oh, you're talking about the cite keys. I thought you were talking  
about the (default) cite commands, because you mentioned things like  
\cite, \citep etc. Indeed, that could be handled using a "Did Generate  
Cite Key" script hook.

For sure BibDesk would not know about the files you want to change  
(and never will), that should be set in the script. For the rest it  
should not be that difficult, but depends mostly on the editor you  
want to write it for (if and how it makes find & replace scriptable)  
The bibdesk part for the script hook is mostly similar to the sample  
script hook.

Christiaan

On 5 Mar 2008, at 1:07 PM, Ulrich Kortenkamp wrote:

> Christiaan,
>
> actually it has a lot to do with BibDesk -- that's the only constant.
>
> Maybe I did not describe exactly what I want to do: I have a large  
> set of .tex files that use a shared bibliography. I would like to  
> normalize the biblabels in BibDesk (CMD-A CMD-K), but I don't want  
> to change all the citations in the tex files by hand. So I was  
> hoping for a script that hooks into the "change label" action and  
> then does the find & replace automatically. It does not matter which  
> editor is used for the TeX files; ideally I just tell BibDesk about  
> a list of folders or files that use this bibliography.
>
> Ulli
>
> Am 05.03.2008 um 12:57 schrieb Christiaan Hofman:
>
>>
>> On 5 Mar 2008, at 12:32 PM, Ulrich Kortenkamp wrote:
>>
>>> Hi,
>>>
>>> has anyone written a script that makes it possible to automatically
>>> change \cite{}, \citep{}, \citet{} statements in TeX files when the
>>> citation label is changed in BibDesk? Preferably working with
>>> Texmate projects, but anything similar would be a great start.
>>>
>>> Thanks,
>>>
>>> Ulli
>>
>> This has nothing to do with BibDesk, this is a question for whatever
>> editor you use to edit your tex. Also, a script is probably not the
>> best solution as it is usually inefficient. Most, if not all, text
>> editors have a Find & Replace functionality that is much more
>> efficient and easy to use.
>>
>> Christiaan
>>
>>
>> -------------------------------------------------------------------------
>> This SF.net email is sponsored by: Microsoft
>> Defy all challenges. Microsoft(R) Visual Studio 2008.
>> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
>> _______________________________________________
>> Bibdesk-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/bibdesk-users
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/_______________________________________________
> Bibdesk-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/bibdesk-users


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Bibdesk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bibdesk-users

Reply via email to