On Sep 17, 2009, at 23:31, Mukund Rangamani wrote:

> Hello Christiaan,
>
> Thanks for the explanation. I understand how the file links work a bit
> better now and hopefully have an idea of how to implement the changes.
> I will let you know how things go, but this might not be for a while.
>
>> What do you mean by messed up?
>
> Ah, just that when I open the bib file in my laptop the linked files
> can't be found i.e. they are highlighted as being missing.
>
>> Generally I think it's a bad idea to use a case sensitive file  
>> system.
>> It gives various problems, and many programs assume the file system  
>> is
>> case insensitive as it's standard.
>
> Well, now I know. I could reinstall 10.6 with the drive formatted
> differently had I a bit more timeā€¦
>
>> If you use a case sensitive file system anywhere you should  
>> definitely
>> use a consistent casing for this.
>
> The curious thing is that I do have a consistent system on my laptop
> which is case sensitive. What I can't understand is how the system
> picked up the different casing by itself?

That may be a quirk of the synchronization/copy tool you're using.

>
>> You misunderstand how they work. The linked files are really pretty
>> complex, they are definitely not just a simple path. They try to
>> follow files using various references (at least 3), so that the
>> references are more robust. For instance, this allows you to copy the
>> whole file structure to another machine, or a different location, or
>> you may be moving either linked files or the main .bib file, without
>> losing the file references. This allows a lot of use cases, including
>> your situation of synchronizing in different locations. However, to
>> make this possible the various reference forms needs to be
>> synchronized and updated at every save.
>
> Good that  explains what is happening at every save. Each time I sync
> back to my laptop I see that the file links are missing simply because
> I guess they are pointing to a non-existent directory.
>
>
>> That depends on what you really have. I think you can get away with
>> simply renaming the folders, but it depends on what has been saved in
>> various places. Most important is that you use a consistent (default)
>> casing, in both locations and for the papers folder pref. It's
>> probably best to change things on your case insensitive system,
>> because it has less chance of losing file references. When you rename
>> the papers folder on your case insensitive system you may best first
>> rename it to some arbitrary title, because the file system (Finder)
>> will probably just ignore you changing the casing. Also, make sure
>> that you save the .bib file in between making changes to your paper
>> folder, so that all the 3 file references are properly updated.
>
> Indeed; my plan was to name the folder something completely different
> so that it has a chance of getting around this confusion. As I say it
> will be a while before I do it, but I will let you know how it goes.
>
> Thanks!
> Mukund

I'd do it like this (on your desktop):

1. open the .bib file
2. save it again (so the links are consistent and complete)
3. in Finder, rename "Papers" to "papers", perhaps through an  
intermediate name
4. save the .bib file again (so the links are updated to use the new  
name)
5. synchronize the .bib file to your laptop
6. make sure you use "papers" in your prefs for the papers folder

I think that after this the links on your laptop should work.

Christiaan


------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Bibdesk-users mailing list
Bibdesk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bibdesk-users

Reply via email to