>>>> 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.
>>
>> 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?"

> 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

Ah, interesting.  I was not aware that "%u0" was an option... I  
assumed X had to be greater than 0 in the "%uX" expression.  This is  
perhaps not as clear as it could be in the help files.

Thanks!

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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bibdesk-users

Reply via email to