How can I automatically attach .skim file into the zotero repository

I use Skim to add notes while reading pdf files archived in my zotero repository. Whenever I have the note, it generates .skim file in the folder that the pdf file resides, which is not automatically archived into the zotero repository. Then, if I use another computer, the .skim file is not available to me because it is not synced. Are there any easy solution to this problem?
  • No. Zotero syncs full directory contents (by zipping the directory) only if the main file is an HTML file.
  • Are there any way to cheat zotero to do full-directory-sync for non-HTML files?
  • Without modifying the code, no.
  • Well, I suppose you could do something like create an HTML file with the PDF embedded. If Skim works as a plugin, you could then use it that way. But you'd be adding a lot of friction to the process, which would sort of defeat the purpose of using Zotero for this to begin with.
  • I see. I am thinking of creating a script file to 1) scan through zotero/storage folder; 2) identify all .skim files; and 3) add unattached skim files to the zotero database. I quickly review zotero.sqlite file to see if how it should be done. What kinds of tables should I updated? If I change items and itemAttachments, will it be fine? Or, I should do much more than that?
  • Sorry, you're on your own here. But there's only one attachment file in the database per attachment item/folder.
  • any progress on this, would be good to have this somewhat automated...
  • I also have this problem. I annotate my PDFs in Skim. Maybe enough zotero users don't use Skim, but I am guessing that many annotate files some way or another. Losing all annotations makes it necessary to create two sets of files, obviously not a good solution. So any thoughts on this would be helpful.
  • You should save the annotations and notes in the PDF file. This is what people do with annotations. (And I think that this is the workflow regardless of the citation management software, with the exception of Mendeley that provides built-in annotation features)

    (I a have never used Skim myself, but that link came up with google.)

    Also, you can use Dropbox or some other synchronization tool to synchronize the Zotero storage folder between computers.

    As Dan explains, it is very unlikely that the .skim files will be synced because this would require large changes to Zotero due to the way the files are stored.
  • The .skim file is only used when exporting annotations. For normal use, Skim stores annotations in extended attributes of the HFS+ filesystem (this is why you lose annotations when emailing a Skim annotated PDF to someone).

Sign In or Register to comment.