On 13 Jan 2008, at 11:17 PM, Christopher MacMinn wrote:

>>> I use the cite key as the local file name, so my custom file format
>>> string was simply "%f{Cite Key}"... but now 1.3.13 says that this is
>>> invalid because "Format for local file requires a unique specifier."
>>> I'm fairly certain that cite keys are required to be unique, so I
>>> think this is a bug.  Thoughts?
>>
>> Cite keys should be unique within a document, but it's not
>> guaranteed.  AutoFile needs a specifier that lets it create a unique
>> filename on disk, since the filenames on your disk are independent of
>> your document and cite keys.
>
> Hm.  So here's my problem -- for cite keys, I use something like
> "first author's last name"-"journal"-"year" followed by a lowercase
> letter if necessary for uniqueness.  I can't auto-generate them
> because I use my own quirky abbreviations for journal names (e.g.,
> "Journal of Fluid Mechanics" is "jfm", but "Annual Review of Fluid
> Mechanics" is "annrevfm").  Each cite key is unique, so I use them as
> autofile specifiers and all of my references live happily in a single
> folder on my disk.  Is there any way to achieve this in 1.3.13?
>

Yes and no. See also my other post. Note that the cite key generated  
this way is unique *for the publication*, but for files it has to be  
unique *for the file* (on disk). These are different requirements, in  
particular now that a publication can have several files. Just use "%f 
{Cite Key}%u0%e". This will most of the time create a file with the  
same name as the cite key, but if necessary (and only if necessary)  
makes it unique. And you'd want that anyway to avoid overwriting a file.

Christiaan

> I suppose that this is a lengthy way of asking, "Is there any way to
> have the cite key and the file name be the same?"
>
>> I think there was a post on this yesterday as well.
>
> Yes, I see that now -- sorry I missed it.  I apologize for the  
> overlap.
>
>
> Thanks very much for your help.
>
> Best, Chris



-------------------------------------------------------------------------
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-users mailing list
Bibdesk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bibdesk-users

Reply via email to